Posted By

carlskov on 11/16/11


Tagged

flash flv video player media


Versions (?)

Play media w/ Strobe Media Player


 / Published in: HTML
 

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

  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  

You need to login to post a comment.