|
Answer» I spent all my time trying to build an embed code off of a Newgrounds AUDIO Portal song -- and got it working in the BROWSER -- just to have it not work on MySpace --
Code:
Code: [Select]<script type="text/javascript" src="http://js.ngfiles.com/ng_publish.js?1238212801"></script> <script type="text/javascript" src="http://js.ngfiles.com/submission.js"></script><script type="text/javascript" src="http://js.ngfiles.com/reviewcontroller.js"></script> <script type="text/javascript"> var fw = new FlashWriter("http://flash.ngfiles.com/audioplayer.swf", 477, 294); fw.SetScriptAccess("always"); fw.SetFullScreen(true); fw.SetParams("filename=http://audio.ngfiles.com/217000/217508_Hide_and_Seek.mp3&length=262&artist=fishfood2021&NAME=Hide%20and%20Seek%20%7BTechno%20Mix%7D&loop=1"); fw.Print(); </script> So what am I doing wrong in my code? -- or does myspace not accept javascript?
TiA, LiamI don't use MySpace but they probably don't allow scripts. It's too much of a security RISK.
Try this instead:
Quote <object width="447" height="294"> <param name="movie" value="http://flash.ngfiles.com/audioplayer.swf" /> <param name="filename" value="http://audio.ngfiles.com/217000/217508_Hide_and_Seek.mp3&length=262&artist=fishfood2021&name=Hide%20and%20Seek%20%7BTechno%20Mix%7D&loop=1" /> <embed src="http://flash.ngfiles.com/audioplayer.swf" width="447" height="294"> </embed> </object>
TYVM!
And I can see how scripts can be a security risk -- I used to have a forum =P
LiamNo problem.....
|