Advertisement
Bcadren

Untitled

Feb 2nd, 2014
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <script type='text/javascript' src='https://ssl-webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/jquery.min.js'></script>
  5. <script type="text/javascript">
  6. <!--
  7. var unityObjectUrl = "http://webplayer.unity3d.com/download_webplayer-3.x/3.0/uo/UnityObject2.js";
  8. if (document.location.protocol == 'https:')
  9. unityObjectUrl = unityObjectUrl.replace("http://", "https://ssl-");
  10. document.write('<script type="text\/javascript" src="' + unityObjectUrl + '"><\/script>');
  11. -->
  12. </script>
  13. <script type="text/javascript">
  14. <!--
  15. var flash = document.createElement('embed');
  16.  
  17. var div = document.getElementById('swfobj');
  18.  
  19. var config = {
  20. width: 960,
  21. height: 100,
  22. params: { enableDebugging:"0" }
  23.  
  24. };
  25. var u = new UnityObject2(config);
  26.  
  27. jQuery(function() {
  28.  
  29. document.getElementsByTagName('body')[0].replaceChild(embed,div);
  30. flash.setAttribute('width',550);
  31. flash.setAttribute('height',400);
  32. flash.setAttribute('src',http://annevankesteren.nl/test/flash/embed/vuurwerk.swf);
  33.  
  34. u.observeProgress(function (progress) {
  35. });
  36.  
  37. u.initPlugin(jQuery("#unityPlayer")[0], "WebBuildFull.unity3d");
  38. u.hide();
  39. });
  40. -->
  41. </script>
  42. </head>
  43. <body>
  44. <div class="content">
  45. <div id="swfobj">
  46. </div>
  47. <div id="unityPlayer">
  48. </div>
  49. </div>
  50. </body>
  51. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement