Play media w/ Strobe Media Player


/ Published in: HTML
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. <!-- Flash-based video player -->
  2. <div id="videoDiv">Alternative content goes here</div>
  3. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
  4.  
  5. var flashvars = {
  6. src: 'http://trkqr.suddenly.dk/fb/mini_getaway/files/MINI_GETAWAY_Promo_04.mp4',
  7. controlBarMode: 'docked',
  8. controlBarAutoHideTimeout: '1',
  9. poster: 'http://trkqr.suddenly.dk/fb/mini_getaway/files/videoPoster.png'
  10. };
  11.  
  12. var params = {
  13. allowfullscreen: 'true',
  14. allowscriptaccess: 'always',
  15. wmode: "opaque"
  16. };
  17.  
  18. var attributes = {};
  19.  
  20. swfobject.embedSWF ('http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf', 'videoDiv', 428, 240, '10', 'expressInstall.swf', flashvars, params, attributes );
  21.  
  22. <!-- End Flash-based video player -->

Report this snippet


Comments


You need to login to view comments.