Welcome to TalkGraphics.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2000
    Location
    Raisio, Finland
    Posts
    1,341

    Default Tips needed, problems with flv video

    It started out so well! I got the page designed in no time and everything looked good in all web browsers - EXCEPT Internet Explorer! And unfortunately majority is still using IE...

    Anyway, can anyone tell me how to play a flv video (progressive download) in XWD and get it working in Internet Explorer? I tried JW FLV player (it's free and small) but it seems the latest release has issues with IExplorer. Do you know any other flv player that can be used in XWD?

    A link to the troublesome page: http://85.131.50.136/aktur/index-tmp.html
    Paul the Gnurfmeister!
    Home: http://www.gnurf.net/v3/ | My stuff for sale: http://www.zazzle.com/gnurf* | Follow me on Twitter: http://twitter.com/pasoderholm


    IP

  2. #2
    Join Date
    Jun 2003
    Location
    Cyprus
    Posts
    416

    Default Re: Tips needed, problems with flv video

    I've just recently used JW FLV Player (latest version) on a website and it works fine in FF and IE. I had a look at your source code and mine, and apart from obvious format/presentation differences, I noticed the line "sX.addParam('flashvars'" differs between yours and mine, you have a stray "&" at the beginning of the url. Also, I remember having difficulty in IE until I prefixed the url to the flv file with "../". You may want to try that.

    Your code:
    <div id="player">This text will be replaced</div>

    <script type="text/javascript">
    var so = new SWFObject('index_html_files/player.swf','mpl','480','295','9');
    so.addParam('allowscriptaccess','always');
    so.addParam('allowfullscreen','true');
    so.addParam('flashvars','&file=http://85.131.50.136/aktur/index_html_files/janina3.flv&autostart=true');
    so.write('player');
    </script>


    My code:
    <p id='preview' style="margin-top: 0px;"><!--The player will show in this paragraph--></p>

    <script type='text/javascript' src='video/swfobject.js'></script>
    <script type='text/javascript'>
    var s1 = new SWFObject('video/player.swf','player','640','360','9');
    s1.addParam('allowfullscreen','true');
    s1.addParam('allowscriptaccess','always');
    s1.addParam('flashvars','file=../video/player_long.flv&image=images/vid_background.jpg&stretching=exactfit');
    s1.write('preview');
    </script>
    Last edited by stratocast; 19 March 2009 at 01:54 PM. Reason: Added more info
    -- Bob
    IP

  3. #3
    Join Date
    Aug 2008
    Location
    Canton, GA
    Posts
    666

    Default Re: Tips needed, problems with flv video

    Hmm...I did a test with an exported set of files from camtasia and the FLV method they use seems to work fine as a placeholder in XWD for me. In their case, they are using a small "controller.swf" to load up the flv file. The html part of things only has the call to the controller.swf.

    I'm not sure what the basis of these files are, but they do work in XWD here, so at least I know it can be done. I'm not sure, however, what is in that compiled controller.swf.
    IP

  4. #4
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,918

    Default Re: Tips needed, problems with flv video

    Try placing these 2 swfs on your server in the index_html_files folder. Then in a placeholder call the video using

    Replace with html code:

    <iframe src=http://85.131.50.136/aktur/index_html_files/video.swf width=480 height=326 scrolling=auto frameborder=0></iframe>

    This iframe work around was shown to me by Sledger as just placing the video.swf in a placeholder only shows the video but not the controls.

    This should work in IE okay.
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

  5. #5
    Join Date
    Aug 2000
    Location
    Raisio, Finland
    Posts
    1,341

    Default Re: Tips needed, problems with flv video

    Thanks, I'll try your suggestions tomorrow!
    Paul the Gnurfmeister!
    Home: http://www.gnurf.net/v3/ | My stuff for sale: http://www.zazzle.com/gnurf* | Follow me on Twitter: http://twitter.com/pasoderholm


    IP

  6. #6
    Join Date
    Aug 2000
    Location
    Raisio, Finland
    Posts
    1,341

    Default Re: Tips needed, problems with flv video

    Egg - your suggestion worked pretty well. A few things though:

    In IE, after I "close" the video it restarts. The video is not shown but I can hear the audio. How can this be fixed. It works correctly in Firefox, but also Google Chrome start repeating the audio.

    Second question, how did you do the player/controller? Did you do it Flash (the skin looks like it)? Is there a simple way of making a player that works for multiple flv-files so I don't need to make a new controller for every flv video?
    Paul the Gnurfmeister!
    Home: http://www.gnurf.net/v3/ | My stuff for sale: http://www.zazzle.com/gnurf* | Follow me on Twitter: http://twitter.com/pasoderholm


    IP

  7. #7
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,918

    Default Re: Tips needed, problems with flv video

    Hi Paul, yes it was done in Flash. Do you have Flash?

    The player was one of a standard set that come with Flash and you chose from when compiling the video. I believe you can skin these if you wish.

    As for the IE playback in the attached ammended swf I've reset auto-rewind to false. I had no problem playing it as a standalone in IE7 but perhaps it might be a problem of the placeholder.

    Let's know how you get on.
    Attached Files Attached Files
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •