self-contained flash object embedding


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



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.