It's probably because the <image> elements contain a relative URL. When you load flvplayer.html, the relative URL is translated to http://podaci.selfip.net:8080/hr/poster.jpg, which doesn't exist. When you load the movie player directly, the relative URL resolves to http://podaci.selfip.net:8080/hr/flash/poster.jpg
Solutions:- use absolute URLs
- change flashvideos.xml to refer to the image URL relative to the hosting page.
- Move poster.jpg to the same folder as flvplayer.html
Example flash/flashvideos.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/"><trackList>
<track>
<title>Uri Jip</title>
<creator>MC Sniper</creator>
<location>uri_jip.flv</location>
<info>#</info>
<image>http://forums.x10hosting.com/images/poster.jpg</image>
</track>
...
This is basically option 2, but "poster.jpg" has been moved from folder "flash" to folder "images".
Edit: a debugging note: while the problem was within the XML playlist, it was the same playlist in both cases, so looking to it wouldn't have helped. The two differences were that in one case the flash object was embedded, and the URLs were different. Looking at the latter is what lead to the realization of the cause.