disturbedart
Member
- Messages
- 474
- Reaction score
- 1
- Points
- 18
Im trying to make a javascript working with an embedding windows media player, I have tested it on a javascript website w3schools Tryit Editor and this code works with it! Shows the player and everything even streams. Just can't get it to work when i upload it to x10hosting. Im also trying to make it external so i can make it available to overs using an external code.
Here is the code im using
When im using it to be external im using the following
Please can someone work this out for me.
I can's see why i can't get it to show on my other page.
The page im testing it on is here.
www.pulseempire.x10hosting.com/player/test.html
www.pulseempire.x10hosting.com/player/player.js
Can't get the player to show when linking the two together.
I want the javascript to show on the test.html page.
Thanks in advance.
Disturbedart
Here is the code im using
Code:
<script type="text/javascript">
document.writeln(' <OBJECT ID="MediaPlayer" WIDTH=239 HEIGHT=39\n CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"\n STANDBY="Loading Windows Media Player components..."\n TYPE="application\/x-oleobject">\n\n<param name="fileName" value="http:\/\/64.191.50.163:8002">\n <param name="animationatStart" value="true">\n <param name="transparentatStart" value="true">\n\n <param name="autoStart" value="true">\n <param name="showControls" value="true">\n <param name="Volume" value="-300">\n\n<embed type="application\/x-mplayer2" pluginspage="http:\/\/www.microsoft.com\/Windows\/MediaPlayer\/" src="http:\/\/64.191.50.163:8002" name="MediaPlayer1" width=239 height=39 autostart=1 showcontrols=1 volume=-300>\n <\/OBJECT>');
</script>
When im using it to be external im using the following
Code:
<script src="http://www.pulseempire.x10hosting.com/player/player.js"></script>
Please can someone work this out for me.
I can's see why i can't get it to show on my other page.
The page im testing it on is here.
www.pulseempire.x10hosting.com/player/test.html
www.pulseempire.x10hosting.com/player/player.js
Can't get the player to show when linking the two together.
I want the javascript to show on the test.html page.
Thanks in advance.
Disturbedart