Same server - some flv files play, some doesn't

Discussion in 'General' started by xantra, Feb 25, 2010.

  1. xantra

    xantra New Member

    Hello.
    Flv files called through xml playlist play just fine, but those called into php don't start playing at all. You can see the thumbnail, hit on play, and nothing happens (you got the button play again, if you hit it again - it will start "buffering" and never finish).

    Any help/idea?
    I tried so many things, checked the mime... everything looks fine.

    Thanks.
  2. NiteWave

    NiteWave Administrator

    can you give an example?
  3. Nokki

    Nokki New Member

    does everything play locally or just fine with apache? could it maybe be a glitch with the flv file?
  4. xantra

    xantra New Member

    The website is established website for 3 years and it has maybe thousand of videos, so this is very important to me. I have been using apache, and it used to work great for a while but decided to check out LiteSpeed in case it will perform better. Although it seems that it performs better, this flv videos problem made me switch back to apache at least temporarily, until I solve this issue.

    I am using Vivvo CMS and it takes the flv like this to publish it on the website:
    So, this is the video
    and this is the thumbnail
    This flv video doesn't work when called.
    But this one (it's setup in the corner of the website, called through XML), works:

    Anyone, please?
    Last edited: Feb 25, 2010
  5. NiteWave

    NiteWave Administrator

    one of the demo sites
    http://www.one.myvivvo.com/
    should have same code as yours(the flash part)

    I extracted its flash part, it can be simplified as
    Code:
    <embed type="application/x-shockwave-flash"
    src="mediaplayer.swf" style=""
    id="box_video_headline_container_mediaplayer" 
    name="box_video_headline_container_mediaplayer"
    quality="high" allowfullscreen="true" width="256" height="192"
    flashvars="width=256&height=192&displaywidth=256&displayheight=192&autoscroll=true&backcolor=0xEEEEEE&frontcolor=0x333333&lightcolor=0x333333&screencolor=0x000000&enablejs=true&file=alone_dark.flv&image=alone_dark_screen012_939288789.jpg">
    
    let's name it demo.htm. can get the rest 3 files by
    Code:
    wget http://one.myvivvo.com/flash/mediaplayer.swf
    wget http://one.myvivvo.com/files/video/alone_dark.flv
    wget -O alone_dark_screen012_939288789.jpg "http://one.myvivvo.com/thumbnail.php?file=alone_dark_screen012_939288789.jpg&size=article_large"
    
    put the 4 files under site's document root.

    then test yourdomain.com/demo.htm

    the flv playing is normal and no special: mediaplayer.swf stream flv video.
    --- tested demo.htm, working fine under litespeed.

    for this specific issue, suggest:
    1.when site working fine under apache, make sure "build match php" right for litespeed. so litespeed has equivalent php as apache.

    2.if flv not play well under litespeed(waiting forever), in firefox, extract the flash html code like above example from View->Page Source. and investigate it. it's better than php source code.

Share This Page