PDA

View Full Version : JW FLV Media Player 4.3 HTML code


alex133
02-20-2009, 04:23 AM
I'm having trouble inserting an JW FLV player html code into Dreamweaver CS4.

I followed this step-by-step "guide":

http://www.thesitewizard.com/faqs/insert-html-code-in-dreamweaver.shtml

But nothing... It doesn't work.

I generated the code via Long Tail's setup wizard:

http://www.longtailvideo.com/support/jw-player-setup-wizard

So I know the code works because I'm able to see the player in the wizard after I've finished editing it.

What should I do?

edbr
02-20-2009, 04:52 AM
post your code

alex133
02-20-2009, 05:09 AM
<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script>

<div id="player">This text will be replaced</div>

<script type="text/javascript">
var so = new SWFObject('ftp://music%40iwhem.com:music@ftp.iwhem.com/Player/player-viral.swf','mpl','360','560','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=ftp://music%40iwhem.com:music@ftp.iwhem.com/Taylor Swift - Fearless/playlist.xml.txt&backcolor=000000&frontcolor=00cc00&lightcolor=FFFFFF&logo=ftp://music%40iwhem.com:music@ftp.iwhem.com/Taylor Swift - Fearless/TAYLOR_SWIFT-FEARLESS.PNG&playlistsize=200&playlist=bottom');
so.write('player');
</script>

edbr
02-20-2009, 05:18 AM
this is unfamiliar ground for me but to check the obviously you have uploaded the SWFObject to the correct path on your server?

alex133
02-20-2009, 05:19 AM
Correct.....

edbr
02-20-2009, 05:20 AM
just noticed the path to your image file ftp://music%40iwhem.com:music@ftp.iwhem.com/Player/player-viral.swf (ftp://music%40iwhem%2Ecom:music@ftp.iwhem.com/Player/player-viral.swf)

alex133
02-20-2009, 05:24 AM
That's the path to the player source.

At least that's what I put on "source" in Long Tail's setup wizard.

edbr
02-20-2009, 07:03 AM
its the ftp part that surprised me