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="">

<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).

Dani AI

Generated

A short expert note that expands on 's thread and helps anyone who runs into the same symptom (player shows a “!” / “cannot find file”):

The player can load its SWF but still fail to stream the .flv if the web server does not advertise the correct MIME type for FLV (or actively blocks that extension). Browsers and clients rely on the HTTP Content-Type header, so a missing/incorrect mapping often produces the “file not found” behaviour from Flash-based players. (developer.mozilla.org)

If you control an Apache host, add the FLV mapping (either in the server config or a site .htaccess). Example:

AddType video/x-flv .flv

Put that in the appropriate config (httpd.conf, a virtual-host section, or a .htaccess where FileInfo overrides are allowed). Nginx and other servers have equivalent mime.types entries. (httpd.apache.org)

On Windows / IIS hosts, add a MIME mapping for the .flv extension (MIME type video/x-flv) via IIS Manager or add a <mimeMap> entry into web.config. Also check Request Filtering so .flv is not explicitly denied. Example web.config snippet:

<system.webServer>
  <staticContent>
    <mimeMap fileExtension=".flv" mimeType="video/x-flv" />
  </staticContent>
</system.webServer>

If you cannot change server config yourself, ask the host/administrator to add that mapping. (learn.microsoft.com)

Quick verification and modern advice: test the file URL with a header-only request (for example curl -I https://your.site/path/file.flv) or use the browser Network panel to confirm the server sends Content-Type: video/x-flv. If the Content-Type is incorrect or missing, the player will fail. Because Flash is end-of-life and blocked in modern browsers, consider converting legacy FLV assets to MP4 (H.264/AAC) and serving them via HTML5 <video> or a player like Video.js. A common conversion command is:

ffmpeg -i input.flv -c:v libx264 -c:a aac output.mp4

This both fixes serve/config problems and future-proofs playback. ()

Troubleshooting checklist: confirm file URL and permissions, check Content-Type with curl/DevTools, ensure server MIME mapping or request-filtering allows .flv, and prefer migrating to MP4/HTML5 for long-term compatibility.

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.