Return to Snippet

Revision: 53198
at November 16, 2011 01:55 by carlskov


Initial Code
<!-- Flash-based video player -->
<div id="videoDiv">Alternative content goes here</div>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script>
		
	var flashvars = {
		src: 'http://trkqr.suddenly.dk/fb/mini_getaway/files/MINI_GETAWAY_Promo_04.mp4',
		controlBarMode: 'docked',
		controlBarAutoHideTimeout: '1',
		poster: 'http://trkqr.suddenly.dk/fb/mini_getaway/files/videoPoster.png'
	};
	
	var params = {
		allowfullscreen: 'true',
		allowscriptaccess: 'always',
		wmode: "opaque"
	};
	
	var attributes = {};

	swfobject.embedSWF ('http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf', 'videoDiv', 428, 240, '10', 'expressInstall.swf', flashvars, params, attributes );
	
</script>
<!-- End Flash-based video player -->

Initial URL

                                

Initial Description
Remember to change flashvars (src, poster) and the size of the player in swfobject.embedSWF parameters (428, 240)

Initial Title
Play media w/ Strobe Media Player

Initial Tags
flash, video

Initial Language
HTML