Posted By

coprolit on 08/26/10


Tagged

javascript object html script flash embed swfObject swf embedSWF


Versions (?)

self-contained flash object embedding


 / Published in: JavaScript
 

  1. <script src="/Undervisning_flash/sangskriver/triers_vaerksted/js/swfobject.js" type="text/javascript"></script>
  2. <div id="flashContent">
  3. <h1>CustomBtns</h1>
  4. <p>Alternative content</p>
  5. <p><a href="http://www.adobe.com/go/getflashplayer">
  6. <img src="http://www.adobe.com/images/shared/download_buttons /get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
  7. </div>
  8. <script type="text/javascript">
  9. var flashvars = {
  10. absoluteURL: "http://www.dr.dk/Undervisning_flash/sangskriver/triers_vaerksted/"
  11. };
  12. var params = {
  13. menu: "false",
  14. scale: "noScale",
  15. allowFullscreen: "false",
  16. allowScriptAccess: "always",
  17. bgcolor: "#FFFFFF"
  18. };
  19. var attributes = {
  20. id:"CustomBtns"
  21. };
  22. swfobject.embedSWF("http://www.dr.dk/Undervisning_flash/sangskriver/triers_vaerksted/CustomBtns.swf", "flashContent", "830", "400", "10.0.0", "http://www.dr.dk/Undervisning_flash/sangskriver/triers_vaerksted/expressInstall.swf", flashvars, params, attributes);
  23. </script>

Report this snippet  

You need to login to post a comment.