PageSourceSearch

https://www.johnwaiteworldwide.com/wp-content/plugins/wp-progressi…/js/progression-mediaelement.js?ver=1.0.0

js johnwaiteworldwide.com collected 2026-10-02 10:54:31 UTC 1,298 bytes, 31 lines download raw bytes

1(function($) {
2    // add mime-type aliases to MediaElement plugin support
3    mejs.plugins.silverlight[0].types.push('video/x-ms-wmv');
4    mejs.plugins.silverlight[0].types.push('audio/x-ms-wma');
5
6    $(function() {
7
8    	var options = window.progression,
9    		players = $('.wp-audio-shortcode, .wp-video-shortcode');
10
11    	if ( "true" === options.autoplay ) {
12    		$('.progression-playlist, .wp-audio-shortcode, .wp-video-shortcode').attr( 'autoplay', 'autoplay' );
13    	};
14
15    	players.attr( 'preload', options.preload );
16
17        players.mediaelementplayer({
18        	startVolume: options.startvolume, // initial volume when the player starts
19        	alwaysShowControls: ("true" === options.controls ) // Hide controls when playing and mouse is not over the video
20        });
21
22        $('.progression-playlist').mediaelementplayer({
23        	startVolume: options.startvolume, // initial volume when the player starts
24        	loop: ( "true" === options.loop ), // useful for <audio> player loops
25        	features: ['playlistfeature', 'prevtrack', 'playpause', 'nexttrack','current', 'progress', 'duration', 'volume', 'playlist'],
26        	playlist: ( "true" === options.playlist ), // Playlist Show
27        	playlistposition: 'bottom' //Playlist Location
28        });
29    });
30
31}(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.