Jump to content

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


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

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.