FLV Relative path problem

This thread may refer to an older version of JW Player! Check our articles for the most up-to-date information.
This Q&A thread was imported from our previous system and could apply to an older product.
  • There is something very strange ...There is something very strange going on with relative paths and I just cannot get my player to play the movie without using actual paths. Can someone tell me why this is not working:

    My webpage with querystring is at:


    In the EMBED (and param) tags I have:

    src="mediaplayer.swf" (the player is in the same folder as playmovie.html)

    the movies are in a folder called "files", so the movies are at:


    In the EMBED (and param) tags I have:


    but the movie will not play no matter what. it only seems to work if i put either an actual path in or put the movie in the same folder as the player and use:


    What exactly does the player consider relative? "files/movie1.flv" should be relative to the player. am i wrong?

  • Paths are explained here: *http://www.jeroenwijering.com/?item=Embedding_Flash* in the section titled: *Flashvars problems*

    Up Down -1 rated
  • Yes I have read that section numerous times, I think the first part talks about problems with relative paths but it does not solve my problem.

    Either I'm doing something wrong or the player refuses to work as it is documented with relative paths.

    Could someone test out my scenario and post some working code.

    OR If someone has mediaplayer.swf actually working with relative paths and the FLV files in a sub folder please post a link so I can see the source.

    Up Down 0 rated
  • Here is the code I am using:

    bc.. <OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 width=320 height=240 align=middle classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000>
    <PARAM NAME="FlashVars" VALUE="width=320&height=240&file=files/movie1.flv&bufferlength=2&searchbar=false&usefullscreen=false&autostart=true">
    <PARAM NAME="src" value="mediaplayer.swf" />
    <PARAM NAME="Play" VALUE="-1">
    <PARAM NAME="Loop" VALUE="-1">
    <PARAM NAME="WMode" VALUE="transparent">
    <PARAM NAME="allowscriptaccess" VALUE="always">
    <PARAM NAME="Quality" VALUE="High">
    <EMBED src="mediaplayer.swf" width="320" height="240" allowscriptaccess="always" allowfullscreen="true" flashvars="width=320&height=240&file=files/movie1.flv&bufferlength=2&searchbar=false&usefullscreen=false&autostart=true" />

    Up Down 0 rated
  • OK, let's assume that you are serving the HTML document from:


    Using your code, the mediaplayer.swf would come from:

    *http://www.my.domain.com/mediaplayer.swf*( relative to the HTML in the root directory )

    The video files would come from:

    *http://my.domain.com/files/movie1.flv*( relative to the SWF file in the root directory )

    You have some unnecessary Adobe Flash Player parameters in your code.

    The parameters "quality", "loop", & "play" refer to the behavior of the "movie", which in Adobe Flash Player parlance, is the JW FLV Media Player or *mediaplayer.swf*. They are unnecessary, but harmless.

    Details here: *http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&sliceId=2*

    Up Down 0 rated
  • comedian.

    I have exactly that setup with mediaplayer.swf in the same directory as my html file:

    *http://my.domain.com/index.html *
    *http://my.domain.com/mediaplayer.swf *

    The movies are in the *files* subfolder - exactly we both described:


    The problem is the movies will *not* play at all with a relative path, e.g:

    bc.. flashvars="......*file=files/movie1.flv*......"

    They only play if the player and the FLV are both in the same directory, e.g:

    bc.. flashvars="......*file=movie1.flv*......"

    or if I specify an actual path, e.g:

    bc.. flashvars="......*file=http://my.domain.com/files/movie1.flv*......"

    Could someone please just my code from the earlier post - it does not work. for some very strange reason I cannot, no matter what, get mediaplayer.swf to play FLV files using relative paths.

    If someone has a web site with working relative paths *please post a link* so i can see it! This is killing me!

    Up Down 0 rated
  • ok this appears to be fixed in version 4.0

    Up Down 0 rated
  • Here's an excerpt from that document you claimed to have read many times...


    [Under the heading "Flashvars Problem"]

    The third problem relates to the three symbols ?, = and &. Since they are used to stack the flashvars, they cannot be used in the flashvars themselves. By escaping these vars, the problem can be solved. Therefore, replace the three symbols with their escaped strings and unescape() them again in the SWF:

    1. ? ? %3F
    2. = ? %3D
    3. & ? %26

    Read slower next time.

    Also, if you upgrade to swfObject, you can add flashVars in a manner similar to:

    flashObject.addVariable( name , value );

    Up Down 0 rated
  • How can I use a relative path to find the video?

    The following works when I have the video located in the same directory as the script and write it as follows. Notice, I have every other file located in a subdirectory "video," but the video.flv located with the html file.

    <script type="text/javascript" src="video/latestswfobject.js"></script>
    <script type="text/javascript">
    var s1 = new SWFObject("video/latestmediaplayer.swf","ply","320","260","9","#FFFFFF");

    But, if i move the video to the subdirectory "video," and write the code as follows, I get the message (when the video is played) "video/cheesecakevideo.flv not found". Notice, I show the path to the video in the subdirectory, exactly the way I write the paths of all the other files.

    <script type="text/javascript" src="video/latestswfobject.js"></script>
    <script type="text/javascript">
    var s1 = new SWFObject("video/latestmediaplayer.swf","ply","320","260","9","#FFFFFF");

    What do I need to do to get this to work with a path written to the video located other than with the html file?

    Up Down 0 rated
  • @polemic,

    The path for FLV video container files is relative to the location of the movie.

    Your code:bc.. file=video/cheesecakevideo.flv
    is telling the player to look for the FLV file in *video/video/cheesecakevideo.flv*

    If the movie is in *video* and the FLV file is in *video*, then the correct relative path is:bc.. file=cheesecakevideo.flv

    Up Down 0 rated
  • klink.. you are a genius. Thanks so much. It works perfectly now.

    Up Down 0 rated
  • Hi,

    I have an issue with playing .flv files in my site. Please help me in this.

    I have emmbedded below flash code in my php file
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="368"><param name="flashvars" value="file=<?php echo "http://www.mydomain.com/dev/flv/".$video['videopath'];?>" /><param name="movie" value="http://www.mydomain.com/dev/flv/mediaplayer.swf" /><embed src="http://www.mydomain.com/dev/flv/mediaplayer.swf" width="480" height="368" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=<? echo "http://www.mydomain.com/dev/flv/".$video['videopath']?>" /></object>
    in the above code $video['videopath'] will give the video.flv file and both .flv file and mediaplayer.swf are in the same folder(flv) and every where i have used the absolute path. but the video is not playing. But i have downloaded that .flv file and mediapalyer.swf file into my local system and it is palyed fine in the local system.

    Could any one give me the solution please.

    Up Down 0 rated
  • When your code is evaluated and sent to the browser, does the file URI end with a recognized media file extension? If it doesn't, use the flashvr *type* to thell the player what media type it will be receiving.

    Evaluated code as received by the browser. View, Source in your browser.
    bc.. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="368">
    <param name="flashvars" value="file=http://www.mydomain.com/dev/flv/videofilename.flv*&type=video*" />
    <param name="movie" value="http://www.mydomain.com/dev/flv/mediaplayer.swf" />
    <embed src="http://www.mydomain.com/dev/flv/mediaplayer.swf" width="480" height="368" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://www.mydomain.com/dev/flv/videofilename.flv*&type=video*" />

    For further help, you'll have to post a link to your test page because there is no way to determine what is happening with your code without testing it "live", online.

    Up Down 0 rated
  • Hi klink,
    Thnaks for your response,
    you can test it in online from the url : http://www.thegpapastors.net/dev/flv1/flv.php
    I've used below code in my php page and

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="360"><param name="flashvars" value="file=http://thegpapastors.net/dev/flv1/clock.flv&type=video" /><param name="movie" value="http://thegpapastors.net/dev/flv1/mediaplayer.swf" /><embed src="http://thegpapastors.net/dev/flv1/mediaplayer.swf" width="480" height="360" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://thegpapastors.net/dev/flv1/clock.flv&type=video" /></object>

    Even i 've modified with above code there is no change.
    Please help me and give reply as soon as possible,


    Up Down 0 rated
  • You don't need the type flashvar because your file URI ends with a recognized media file extenstin "flv".
    bc.. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="480" height="360">
    <param name="flashvars" value="file=http://thegpapastors.net/dev/flv1/clock.flv" />
    <param name="movie" value="http://thegpapastors.net/dev/flv1/mediaplayer.swf" />
    <embed src="http://thegpapastors.net/dev/flv1/mediaplayer.swf" width="480" height="360" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=http://thegpapastors.net/dev/flv1/clock.flv" />

    Works fine for me!

    Consider upgrading to the v3.16 player from here: *http://code.jeroenwijering.com/trac/browser/tags*

    Up Down 0 rated
  • Hi, Link

    Which flashvars i have to remove from the above code and where i have to upgrade player. I dont know any thing about this. could you please explain me indetail about this.
    I don't know how it is working for you and more over mediaplayer is in loading status only. It is not yet all playing for me. Could you please help me in this.


    Up Down 0 rated
  • Hey klink

    Even i have updated player 3.5 also it is getting same output where as i have replaced the above code with

    <object type="application/x-shockwave-flash" data="http://faraday.liketelevision.com/liketelevision/mediaplayer.swf" height="340" width="352"><param name="movie" value="http://faraday.liketelevision.com/liketelevision/mediaplayer.swf" /> <param name="allowfullscreen" value="true" /> <param name="saveEmbedTags" value="true" /> <param name="bgcolor" value="#000000" /> <param name="flashvars" value="file=http://thegpapastors.net/dev/flv1/clock.flv&parts=&displayheight=240&lightcolor=0xcccccc&backcolor=0x00000b&frontcolor=0xfbfbfb&link=http://thegpapastors.net&linktarget=_blank&repeat=list&shuffle=false" /> </object>

    I found some video playing in http://faraday.liketelevision.com site and i have copied that code and replaced.
    mediaplayer.swf is available in that site only. But i'm getting the same result. Please help me.


    Up Down 0 rated
  • Use the *v3.16* player.

    Up Down 0 rated
  • Hi, klink

    Can you please send the downloading link for v3.16 player. I couldn't find any link to download


    Up Down 0 rated
  • Hi Llink

    We have downloaded the v3.16 and but there is no use. Still it is not playing online but it is playing in my local system.
    Is there any problem with server or server version. Please guide me.


    Up Down 0 rated
  • Hi, Klink

    we are running our site in linux old versions. Is that any problem to play flash videos. I'm waiting for your relply.


    Up Down 0 rated
  • Hi, Tony S

    I'm very sorry to respond you. I've tesed the code by giving a space in between "clsid:" and "D27CDB6E-AE6D-11cf-96B8-444553540000". But it doesn't works.

    Please give me reply as soon as possible.


    Up Down 0 rated
  • @satya - please see - *http://www.jeroenwijering.com/?item=Javascript_API_Examples*
    for (source) examples like - *http://home5.inet.tele.dk/nyboe/flash/mediaplayer4/JW_API_xmpl_1-3-1-0.html*

    Up Down 0 rated
  • I've got a similar problem but from using a streaming server to deliver the video and my web server to deliver the SWF, .JS, etc.

    I'm using this basic code:

    <script type="text/javascript" src="/embed/swfobject.js"></script>

    <script type="text/javascript">
    var so = new SWFObject('player.swf','mpl','480','360','9');

    The .SWF and .JS files live in the same directory as the HTML page, but the .FLV is being pulled from my streaming server, which I use to save bandwidth. When the player opens up it tries to play the video but sits there processing forever and never actually plays it. Does the video file HAVE to be on the same server as the .SWF player and other files?

    Up Down 0 rated
  • Does the video file HAVE to be on the same server as the .SWF player and other files? - no

    Up Down 0 rated
  • Even though we have tested with example from the url which you have given. It is playing in local but not in online so the problem with neither player nor embedded code. Problem is in server may be. Also when we attempt access flv file directly from the browser using link 'http://localhost/mediaplayer/video.flv' downloaded window is coming but when ever we are attempting access flv file from server it is saying

    Connection Interrupted

    The document contains no data.

    The network link was interrupted while negotiating a connection. Please try again.

    as well when we are running the file in online 'no video found' error is coming on player.

    Plaese reply me as soon as possible

    Up Down 0 rated
  • @satya

    flash security dictates that an *online player* only can play *online files* - and *local players *only can play *local files*...

    Up Down 0 rated
  • Hi, andersen

    I didn't get you. Can you explain me in detail. And how do i proceed furthur.


    Up Down 0 rated
  • I am having trouble with paths, too. Here's my code:

    var s1 = new SWFObject("flv/player.swf","ply","420","256","9","#000000");
    s1.addVariable("file", "overview.flv");
    s1.addVariable("stretching", "none");

    The player and the video file overview.flv are both in the flv folder. When I run the page locally, the video plays. When I run it from a web server, I get the error "Video not found: overview.flv".

    Up Down 0 rated
  • Hi,andersen

    We have upgraded my remote server to centos5 and we tested the code still it is not playing and my local system also centos5. And the magic is videos are playing in fedora and some other systems and it is not playing in windows vista.

    What could be the reason it is playing in some systems and not playing in some other system. Is there any server version problem or plugins problem

    Please help me ...

    Up Down 0 rated
  • @satya - make sure the flash browser plugin is up to date on the machines where your page doesnt work -
    you can also check that the players on these pages work on the problematic machines -
    that will give an indication on whether the problem is the server or the implementation or the client machines...

    adobe flash version test: - *http://www.adobe.com/go/tn_15507*
    adobe flash deinstall: - *http://www.adobe.com/go/tn_14157*
    adobe flash install: - *http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash*

    please also see this thread for example on the on/offline security issue - *http://www.jeroenwijering.com/?thread=13538*

    @GW - that could be an indication of the MIME problem -
    from - *http://www.jeroenwijering.com/?item=JW_FLV_Media_Player* bc.. If FLV playback doesn't work on your site which runs off an IIS server, the FLV mimetype isn't added to the server.
    Please contact your webserver administrator on this.
    (if you're an admin, here's how to fix it - *http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19439* ).

    Up Down 0 rated
  • Hi, andersen

    can please test this video and tell me whether is it working on your system

    We have added mime type into my remote server 'video/x-flv' and the extension 'flv' and also added the 'flv-application/octet-stream' extension 'flv' and we have restarted the server.


    Up Down 0 rated
  • Hi, andersen

    But it is not playing in my system. What could be the problem.


    Up Down 0 rated
  • hmm - im running out of ideas on this one -

    you did check the plugin versions in the adobe site links in previous posting?

    maybe the problem is that you have no <html <body etc. in the page ? or that you use only <embed code ?
    please see this thread, postings of 15.10 and onward - *http://www.jeroenwijering.com/?thread=3615#msg90485*

    Up Down 0 rated
  • Hi, anderson

    we have downloaded adobe-release-i386-1.0-1.noarch.rpm file for yum for linux(centos5) from ur specified url and we closed all browsers and installed plugins from terminal by giving the commands yum install flash-plugin and yum update flash-plugin. But there is no use.

    Also we have used other player player.swf.. there is no use..


    Up Down 0 rated
  • Hi, anderson

    Finally the conclusion is, it is working fine in client systems. May be firewall problem or pluguns problem we dont know, some how it is not playing in my systems. I will be back If we have any problems in future.

    Thanks allot for your help..


    Up Down 0 rated
  • Hi, anderson

    We have a cache/buffering problem while playing videos. Actually we are playing videos in 800*800 size. It is taking longer to stream just because of the shear size/number of pixels...... Is there a way to adjust the caching to a certain percentage before it starts playing. Right now playing is going faster than the download on one of those videos.


    Up Down 0 rated
  • you can use the *bufferlength* flashvar

    from - *http://code.jeroenwijering.com/trac/wiki/FlashVars*bc.. *bufferlength* (1): number of seconds of the file that has to be loaded before starting. Set this to a low value to enable instant-start and to a high value to get less mid-stream buffering.

    Up Down 0 rated
  • Hi andersen,

    When we are try to convert .avi to .flv we get the following error
    Warning: Can't find audio stream in /home/mysitepath/uploaded_videos/31Hardwork2009_1_7_3_25_32.avi in /home/mandarin/public_html/includes/sample_video_album.php on line 36

    And we have used the following code to convert a video file to .flv

    $ffmpegPath = "ffmpeg";
    $flvtool2Path = "flvtool2";
    $ffmpegObj = new ffmpeg_movie($srcFile);
    $srcWidth = makeMultipleTwo($ffmpegObj->getFrameWidth());
    $srcHeight = makeMultipleTwo($ffmpegObj->getFrameHeight());
    $srcFPS = $ffmpegObj->getFrameRate();
    $srcAB = $ffmpegObj->getAudioBitRate()/1000;
    $srcAR = $ffmpegObj->getAudioSampleRate();
    $command=$ffmpegPath . " -i " . $srcFile . " -ar " . $srcAR . " -ab " . $srcAB . " -f flv -s " . $srcWidth . "x" . $srcHeight . " " . $destFile . " | " . $flvtool2Path . " -U stdin " . $destFile;
    $command .= " 2>&1";

    This code returns the .flv files in destination path

    Can you please tell me why this error is coming.. is there any ffmpeg installation problem or video file problem....

    Even though we have removed the code for the audio conversion and we have given constant bitrate 44100 but the converted file is not playing.


    Up Down 0 rated
  • Hi andersen,

    Error: while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

    we got this error, when we have given bitrate as 46000 in the above code and converted video file is not playing.


    Up Down 0 rated
  • Hi andersen,
    "Could not write header for output file #0 (incorrect codec parameters ?)"

    we are getting this, when we have given bitrate as 48000 in the above code. and the converted video file is not playing


    Up Down 0 rated
  • Hi andersen,

    video:662kB audio:111kB global headers:0kB muxing overhead 0.941922%

    we are getting this when we have given bitrate as 44100.
    it is showing headers:0KB
    Is there a way to overcome this..


    Up Down 0 rated
  • I've got a related problem. If I use the Setup Wizard at: http://www.longtailvideo.com/support/jw-player-setup-wizard

    ...and use the bc.. <script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script>

    line as offered there, then my video loads up fine. If I try and load the swfobject.js locally, it doesn't work. I've checked and double checked, used Aptana's autocomplete for navigating to the .js file, and I've tried putting it in a bunch of different places, but it doesn't work.

    My folder structure is as such:

    videos/<whatever .flv I'm trying to load>

    Again, when I use the .js offered by Setup Wizard, everything works. Locally, nada.

    Any help would be greatly appreciated.

    Up Down 0 rated
  • Ditto that, Samuel. A fresh install, all file/directory permissions assigned and using the code from the setup wizard for me and it cannot find the video file (even though everything is in the same directory). But when I change my movie file to an external link, it works.

    Up Down 0 rated
  • For me, it's not the movie, but the .js file. My understanding is that the movie/swf path gets you into the flashvar universe, or you have to figure out how to back out of the swf file's folder to get to where the videos are. The JavaScript file shouldn't be bound by this stuff, as it's loaded before everything else. I've even tried downloading the .js file that the Setup Wizard offers up, and no dice. I've tried this on a Linux and Mac development environment using a basic LAMP stack (in which everything else works) and a MAMP (non Pro) version on the Mac, same results. The jeroenwijering supplied address works fine. Locally, no go. Since I've downloaded the jeroenwijering version, I can't imagine it's a corruption of the file... maybe there's some line of code internal to the .js file that I have to configure for local/relative path use, but it seems goofy.

    Anyone else? Is the javascript file expecting me to do something that I can't put my finger on or have overlooked?

    Thanks again.

    Up Down 0 rated
  • Okay... I've got it fixed. I don't know why it didn't work when I downloaded the www.jeroenwijering.com/embed/swfobject.js file, but the text of it is different than the .js file offered for download. Copy and pasting the contents of the swfobject.js from www.jeroenwijering.com/embed/swfobject.js to my local swfobject.js file made everything work.

    Perhaps the downloadable swfobject.js package should be updated.

    Up Down 0 rated
  • Samuel, good info, but that didn't fix my problem. :(

    Here is my code (taken from the download directly):

    bc.. <div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF");

    When previewing from my site, the player shows up and the preview picture shows. But clicking the play button shows "Video not found: video.flv". Changing the code to:

    bc.. s1.addParam("flashvars","file=http://mydomain.com/video.flv");

    does not work, either. But changing it to this (URL taken from the setup wizard code):
    bc.. s1.addParam("flashvars","file=http://content.bitsontherun.com/videos/3ta6fhJQ.flv");

    works just fine. I also copied this file to my server and it still cannot find it, so that rules out the downloaded .flv file. Any ideas, longtail people?

    Up Down 0 rated
  • Ahhh.. MIME types. It'd be nice if this info was in the setup instructions. I think permissions are correct - just read access, like any other file, I would assume. Location. Check. Access persmissions are in order. It must be the MIME type. I'll have to try to figure out what to set. Any pointers?

    Up Down 0 rated
  • If your server is Microsoft IIs, Google for instructions for setting the MIME type for FLV files. Most others are already set correctly.

    It's documented at the bottom of this page:


    Almost everything is documented, but it's a lot to look through when you are first setting up a player. The many Tutorials (here, and in the Wiki), the FAQ, and the extensive documentation in the Wiki pretty much cover everything. But if you get stuck, the best thing to do, is to post in the Forums.

    Up Down 0 rated
  • Yea! That did it. I really think this should be in the basic instructions for new installations/downloads, even though it is documented elsewhere. Getting it working quickly was important to me... I almost moved on, but decided to be patient. Thanks for your help.

    Up Down 0 rated
  • Most of us avoid IIs like it was the bubonic plague.

    All of the servers that we use (Apache, LightTPD, Red5, nginx...) seem to have the MIME types set correctly in their default configurations. :D

    Up Down 0 rated

  • Hi,

    I have encountered somewhat the same thing. I have built many pages that contain .flv files with no problems. Tonight however, all of a sudden, any page containing a .flv shows up in browsers as the chosen controler skin graphics broken up into many parts , including the barber pole.
    But no video or audio at all
    When I look at the source in FF, it appears exactly as the code does in DW.
    I have been trying everything for hours and can't find the problem.

    just uploaded a page and it displayed perfectly from my site...when I test from DW, FF, Safari both display the skin all broken apart...
    see attachments...

    This is what I get when "preview in browser" locally




    The odd thing is, it only does this locally..DW should be able to find the .flv if it found the control skin?

    I have reinstalled DW and Java but no changes..
    Even wrote everything in textEdit...no go..

    Yep, I hate these kinds of issues..Its not the most critical of issues, but its bugging me so much that I'm wasting hours trying to solve the puzzle..

    Hopefully I'm not the only one with this disability...

    mac osx 10.5 quad core 4 gigs ram

    Up Down 0 rated
  • Hi All,

    My player-viral.swf and swfObject.js are in the same folder below my .html page.

    When I use:


    the video plays just fine, but when I use:


    the video player displays a message saying it can't find the file. I placed a copy of the flv in the same folder as the player-viral.swf and swfObject.js AND in the same folder as the .html file.

    I have played .flv on this same server in my own self-coded .swf video player before.

    Any ideas?


    Up Down 0 rated

  • hii everybody,

    i am renjth,working with php.I got one problem in mediaplayer.It works when the file is in my local machine
    ie .
    . <PARAM NAME="FileName" VALUE="C:\wamp\www\video\<?=$video?>">

    and it not working when VALUE="http://www.biblevision.tv/uploaded_files/video1/<?=$video?>"

    any idea?

    plzzzz help me immmediatly

    Up Down 0 rated
  • Hi Thanks lefTY MIME types set solve my problem.

    Up Down 0 rated
  • I was having this same problem, video not there or accessible in certain situations, and I don't use a Windows Server.

    The problem (for me) was that I didn't realize the film path is relative to the PLAYER. So I had to go back up a directory from the jw-player folder in order to go find my video's, with a simple : "../vids/etc.flv".

    Hope this helps someone.

    Up Down 0 rated
  • <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    You're problem might be in here - I notice that this often works for other browsers like FireFox abd Safari, but if you want it to work for "Internet Explorer" you need to add a simple space in there copy and past this into the correct spot.

    <object classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"

    the space is between "clsid: D27CD".....

    Sometimes it works, works for me, let me know if it does for you.

    Up Down 0 rated
  • - *plays fine ! *(starts with a kid with a ball)

    Up Down 0 rated
  • bc.. http://mydomain.com/video.flv

    In your browser *[i]MUST[/i]* download the video file, otherwise there is a problem on your server with permissions, MIME type, location, access, or the wrong phase of the moon.

    Up Down 0 rated
  • Hi, Ihave the same problem, thought that it's "relative path problem". Still getting message 'file not found'. But than I've got a solution, I needed to add ".flv" into MIME Types on my IIS where the web application is hosted.

    Up Down 0 rated
  • Thanks for Sharing the solution :)

    Up Down 0 rated

This QA is closed.

Still don't have JW Player? Get It Here