Jump to content

How to switch a javascripte code to html to make it usable


webtuto

Recommended Posts

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

If a site does not allow JS then theirs nothing you can do.. if you convert it to html it was view as JS CODE but will have no affect it will just be readable..

 

the only option i can think of is if the sites allow flash objects then you could create a flash app!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.