webtuto Posted March 29, 2009 Share Posted March 29, 2009 Hi everyone i made a music website where people liscten to music on a flash player and i added an embed code so they can embed the player to their profiles on s ocial network websites or their blogs ..... this coded is in javascript here is it --> <script type="text/javascript" src="http://zik4.com/zik4/player/ufo.js"></script> <p id="player2"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> <script type="text/javascript"> var FU = { movie:"http://zik4.com/zik4/player/mp3player.swf",width:"275",height:"400",majorversion:"8",build:"11",bgcolor:"#FFFFFF", flashvars:"file=http://zik4.com/zik4/player/all1.php?art=135&showdigits=true&thumbsinplaylist=false&autostart=true&displayheight=120&repeat=true&shuffle=false&backcolor=0x000000&frontcolor=0xfdfeff&lightcolor=0xe0efb2" }; UFO.create( FU, "player2"); </script> But bcz its on javascript , these websites douesnt allow ppl to add javascriptes codef of course , so is there a way to make it HTML to make other websites allow it ? like on playlist.com , imeem.com , youtube ..... ?? thanks Link to comment https://forums.phpfreaks.com/topic/151617-how-to-switch-a-javascripte-code-to-html-to-make-it-usable/ Share on other sites More sharing options...
starvator Posted April 9, 2009 Share Posted April 9, 2009 I dont think there is a way, sorry... Maybe use an iframe and display the code on another page then embed the iframe code? ??? ??? ? Link to comment https://forums.phpfreaks.com/topic/151617-how-to-switch-a-javascripte-code-to-html-to-make-it-usable/#findComment-805876 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.