Hello,
I have a little problem that kept me busy for quite a while so I search for help here, maybe someone sees 'the bug'.
I use JW FLV player to play *.flv movies from my website. I use a XML playlist for that. It's just the movies don't start JW player shows me '!' sign when I click it to play. Here's my code:

//this is for player integration in the page
<script type="text/javascript" src="JW_FLVplayer41/swfobject.js"></script>

<div id="movie_container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>

  <script type='text/javascript'>
 var s1 = new SWFObject('../JW_FLVplayer41/player.swf','ply','370','560','9','#ffffff');
  s1.addParam('allowfullscreen','true');
  s1.addParam('allowscriptaccess','always');
  s1.addParam('wmode','opaque');
  s1.addParam('flashvars','file=../videos/MBK/mbk.xml&playlist=bottom&playlistsize=180&skin=../JW_skins/stijl.swf');
  s1.write('movie_container');

</script>

As you can see, player is located in JW_FLVplayer41 folder and skins in JW_skins which are in the root folder(www). The playlist is located in the videos/MBK directory. All paths are OK, I checked them a lot.

Here's my XML playlist:

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">

<trackList>

  <track>
   <title>aaa title</title>
   <author>aaa autor</author>
   <location>../videos/MBK/aaa.flv</location>
 </track>
 
  <track>
   <title>bbb</title>
   <author>bbb autor</author>
   <location>../videos/MBK/bbb.flv</location>
 </track>
 
 </trackList>
</playlist>

I also tried paths like: www.mydomain.com/videos/MBK/bbb.flv instead of ../videos/MBK/bbb.flv but it didn't solve my problem. Another thing to keep in mind is that first, located on my 'offline server' - WAMP5 the movies run perfectly but on the online server, they dont run. I use exactly this configuration(JW FLV player + XML playlist) to play mp3 on my website. It works perfectly.

If somebody helps me I would be grateful(or if you recommends me another method to play *.flv movies on my website).

Sory for posting twice but I did not mentioned that even the JW FLV player readme example on my website doesn't work and it say that cannot find file to play. Here's the example:
http://www.quovadismusic.ro/JW_FLVplayer41/readme.html
Is this a problem with the server?
Please help me if you can.

THIS PROBLEM IS SOLVED. Admin of the server didn't register the 'fls' type.
However thanks all reading this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.