PageSourceSearch

https://www.investplymouth.co.uk/sites/investplymouth/files/asset_…-c5f6b916d07078806f01bb0cf3edf6f1.js?tiilyl

js investplymouth.co.uk collected 2026-09-25 06:41:33 UTC 1,113 bytes, 38 lines download raw bytes

1(function ($) {
2	var $body = $('body');
3	var $videos = $('.wp-block-cover > video');
4	$videos.each(function() {
5		var video = this;
6		var $video = $(video);
7		// Listen for fullscreen change events.
8		$video.on('fullscreenchange', function(e) {
9			if (document.fullscreenElement === video) {
10				// The video is in fullscreen.
11				$body.addClass('is-fullscreen-cover-video');
12			} else {
13				// The video is not in fullscreen.
14				$body.removeClass('is-fullscreen-cover-video');
15				// Remove the video controls.
16				video.controls = false;
17			}
18		});
19
20		// Detect play/pause button presses.
21		$video.closest(".wp-block-cover").find(".wp-block-buttons .wp-block-button__link:contains('Watch video')").on("click", function(e) {
22	  	e.stopPropagation();
23
24		  if (video.requestFullscreen) {
25		    video.requestFullscreen();
26		  } else if (video.webkitRequestFullscreen) { /* Safari */
27		    video.webkitRequestFullscreen();
28		  } else if (video.msRequestFullscreen) { /* IE11 */
29		    video.msRequestFullscreen();
30		  }
31
32		  video.muted = false;
33		  video.controls = true;
34
35		  return false;
36    });
37	});
38})(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.