Skip navigation
xliii
Currently Being Moderated

flvplayback errors at times if video not in cache.

Jun 17, 2012 7:18 AM

Tags: #error #fail #cache #flvplayback

Hi,

I've been trying to debug an issue with an application that uses the flvPlayback component 2.5.

 

If I visit one of the links without the video in cache it can fail. Let me define intermitant as I've had varied testing results;

- If the clip fails on the first visit to the page you can refresh and it will consistently play after that.

- if the clips plays it will consistently play.

- though I've tested this issue over a couple of weeks and the working and non working clips have  not been consistent over that period of time. At first I thought it had to do with clips that had meta data, though after getting these inconsistent testing results I'm not sure what to think.

 

The swf does not return any errors and I've been logging to the browser console to try and debug but I can find no errors returned through console or the debug player. I cannot reproduce this issue in the IDE.

 

Using Flash player version 11.3.3.. i haven;t tested any other player versions.

 

Any help on the issue would be great as I'm at a dead end and running out of things to test. I need to resolve this issue ASAP so if theres a more appropriate place for this please let me know, I cannot even find a way to speak someone from adobe regarding this issue.

 

---------------------------------------------------------------------- --------------

 

Steps to reproduce:

1. clear your browser cache (Firefox)

2. visit one of the below test links.

3. The video will likely not load into the container on the first visit.

4. Click refresh, and the video will play.

5. clear your cache to test another link.

 

Test links

 

CDN source;-

http://www.digitalfeast.com.au/clients/rmr/flvPlayerTests/flvPlayback. html

http://www.digitalfeast.com.au/clients/rmr/flvPlayertests/flvPlayback2 -5.html

http://www.digitalfeast.com.au/clients/rmr/flvPlayerTests/flvPlaybackW orking.html

http://www.digitalfeast.com.au/clients/rmr/flvPlayertests/flvPlayback2 -5Working.html

Local source;-

http://www.digitalfeast.com.au/clients/rmr/flvPlayerTests/flvPlaybackL ocal.html

http://www.digitalfeast.com.au/clients/rmr/flvPlayertests/flvPlayback2 -5Local.html

http://www.digitalfeast.com.au/clients/rmr/flvPlayerTests/flvPlaybackW orkingLocal.html

http://www.digitalfeast.com.au/clients/rmr/flvPlayertests/flvPlayback2 -5WorkingLocal.html

 
Replies
  • Currently Being Moderated
    Jun 17, 2012 7:57 AM   in reply to xliii

    Couple of observations:

    First.. Links 1 and 3 work just fine, both CDN and local, 2 and 4 in both sections return "File not found".... so bad link or missing file.

    Second.. You're using 11.3.3.... bummer!! oh well, latest isn't always the greatest.

    Third... and most likely the main issue is the unorthadox <script> embed method. To test this theory, I'd suggest you test using at least a couple of other embed methods.

    To start, get rid of both:

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

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

    and test using the old <object> and <embed> method. While the code is not valid HTML, use it for testing purposes. ... see this sample and edit for your content of course..

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=7,0,19,0" width="995" height="165">

              <param name="movie" value="images/whw_banner_no_ds2.swf" />

              <param name="quality" value="high" />

        <param name="wmode" value="transparent"/>

              <embed src="images/whw_banner_no_ds2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="995" height="165" wmode="transparent"></embed>

    </object>

    Next, test using the single <object> method:

    <object data="path_to_file/file.swf" type="application/x-shockwave-flash" width="insert_width_of_movie" height="insert_height_of_movie">

      <param name="movie" value="path_to_file/file.swf">

      <param name="SomeOtherParam" value="ParamValue">

    </object>

    If either of these method provide consistant correct display, then I'd say its the <script> that is causing the issues.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 17, 2012 11:42 AM   in reply to xliii

    Plays just fine in FF but you are missing the

    <param name="movie" value="path_to_file/file.swf">

    which is required to display in IE.

    Change that and then post a link back, exactly descriging the problems with the new page.

    Testing the .swf directly.... works just fine in IE... as would be expected.

    http://www.digitalfeast.com.au/clients/rmr/flvPlayerTests/flvPlayerNoA S2-5.swf

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 17, 2012 8:19 PM   in reply to xliii

    Sorry but every test I run... clear cache etc... all links, IE, FF, Safari, Chrome, multiple machines... they all play the video.

    Multiple versions of Flash player... except maybe 11.3.3 (I never update to the newest of anything... pluggins or software) ...also multiple versions of IE, including IE9... all play the video.

    Have you ever posted a Flash video on line before?

    If so, can you test using that video instead of the one you are currently using?

    In both the examples the video does not load into the container

    Exactly what container are you talking about here? Do you see/not see the video player skin? the load progress bar is missing?

    Have you tested your Internet download speed to see if the download speed is compatable with the bitrate of the video?

    http://www.speedtest.net/

    A very low dowload speed would make the video appear not to be downloading... yet waiting long enough, and it would download.

    And an added note... I didn't mention

    'movie src'

    I said

    <param name="movie" value="path_to_file/file.swf">

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 17, 2012 8:36 PM   in reply to xliii

    Just an addition:

    3. The video will likely not load into the container on the first visit.

    4. Click refresh, and the video will play

    could also be explained by a slow Internet download speed... your first attempt downloads part of the file into the cache... then on your second attempt, the video plays because part of the file was already on your local machine.

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 18, 2012 5:17 AM   in reply to xliii

    I just can not reproduce the problem in any browser on either of the machines I tested on.... video works just fine.

    Machine 1: Windows 7

    IE 10.3.181.34

    FF 10.3.183.7

    Chrome 11.3.300.257

    Safari 10.3.183.7

     

    Machine 2: Windows 7

    IE 11.0.1.152

    Chrome 11.3.300.257

     

    If there are others reading this post, please do a little testing on the latest links... the ones with no <script> and post results.

    Best wishes,

    Adninjastrator

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 19, 2012 3:18 PM   in reply to adninjastrator

    I too have been experiencing this same issue on a project I am working on.

     

    Occasionaly if the SWF has never been loaded into the browser cache the FLV called by the FLVPlaybackComponent will load - but not play - even once the FLV has completely downloaded or you press the play button. A page refresh resolves the problem.

     

    There is definately something strange going on somewhere and its hard to reproduce but does occasionaly occur. I have found using a internet speed throttoling utility helps the problem show up more frequently. I am using flash player 11.2.202.235, and have again replicated the problem across a number of differnet machines and configurations

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2012 2:54 AM   in reply to xliii

    Im not sure I doubt it. In my case I am only using a 400kbps compression settings which is not very high.

     

    The things this is I can see the file loading - theres enough for it to play it just refuses!

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 20, 2012 8:59 PM   in reply to xliii

    All above video are working fine for me. For the further clarification , Is it an embed video or streaming video.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points