dcsimg
A Flash Developer Resource Site

Results 1 to 20 of 20

Thread: play four video clips then freeze in IE

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    11

    play four video clips then freeze in IE

    H!
    I am having the strangest problem with video playback in IE. The flv-files are loaded by external swf's that are loaded into a container through buttons with loadMovie-scripts. All clips load fine. However, after having watched four clips, I am unable to watch any more clips. In fact, no swf's can load at all, although the interface works correctly. This problem also arises if I click on the same clip five times...

    Firefox doesn't seem to have this problem. Any ideas on what is going on?

    Take a look at http://www.lega.se/flashsite_eng and click on 'Lega-TV'

    Thanks!

  2. #2
    Junior Member
    Join Date
    Aug 2007
    Posts
    11

    more details on the bug

    I have tried this a bit more and it seems as if the problem only arises if you click on too many clips in too short a time. If I let each clip play a little before I click in another, then there is no problem.

    Is it a bug in IE, Flash or something I can prevent with different coding or interface design?

    Thanks

  3. #3
    Junior Member
    Join Date
    Aug 2007
    Posts
    11

    even more bug testing

    I have tried just about everything I can think of now, but the problem persists.

    The whole flv-file needs to be loaded completely before I load another clip. Otherwise, the player freezes eventually in Internet Explorer. How many clips I can load seems to be different between different computers.

  4. #4
    Junior Member
    Join Date
    Apr 2008
    Posts
    4

    re

    WOW!!

    Exact same problem here that you are having. Only happens in IE, Does not happen if I open it off my hard drive, only when I upload it to a server.

    I'm going to keep checkting this thread, hope someone has an answer. It occurs only when something is in the middle of buffering when you click a link to go load something else while it is loading.

  5. #5
    Junior Member
    Join Date
    Aug 2007
    Posts
    11
    Here's what I have tried sofar:

    I've added some code to stop, clear and unload the movieclip with the flv-file.

    on (release){
    _root.mp3player.gotoAndPlay("quiet");
    _root.container.container_video.clip1.stop();
    _root.container.container_video.clip1.clear();
    _root.container.container_video.unloadMovie();
    _root.container.container_video.loadMovie("video/nameofmovieclip.swf", "container_video");
    }

    I have tried uninstalling the Flash player and reinstalling it again.

    The number of clips I can watch differs between different computers. I would suspect it is some kind of memory / buffer / overflow bug.

    Can anyone else confirm that they have problems watching the clips in the link at the top?

  6. #6
    Junior Member
    Join Date
    Apr 2008
    Posts
    4

    re

    I may have found a workaround here.

    http://www.flashcfm.com/forums/messa...5&threadid=812

    From what they are saying in the thread, try loading the external .swf inside of a movie clip instead of loading it into a level.

    Haven't tried this myself yet.

  7. #7
    Junior Member
    Join Date
    Apr 2008
    Posts
    4

    re

    I've been searching this issue for hours and found some info in the links below that I hope would be helpful

    http://board.flashkit.com/board/arch.../t-293741.html

    http://www.siteexperts.com/forums/vi...d=17139&Sort=0

    http://chattyfig.figleaf.com/piperma...ly/080179.html

    http://groups-beta.google.com/group/...e_frm/thread/5

    c9c0f12ea66bb4d/2048f3c2049011a7?q=IE+hangs%2Bflash%2Bpopup&rnum=5 &hl=en

    #2048f3c2049011a7

    http://www.flashcfm.com/forums/messa...5&threadid=812

    http://livedocs.adobe.com/flash/mx20...impl/common/ht

    ml/wwhelp.htm?context=Flash_MX_2004&file=00001404.htm l

    https://bugs.adobe.com/jira/browse/FP-44

  8. #8
    Junior Member
    Join Date
    Apr 2008
    Posts
    4
    One more thing. I took two of those videos and put them up on our streaming server Playstream and could not replicate that problem in IE anymore.

  9. #9
    Junior Member
    Join Date
    Aug 2007
    Posts
    11
    Unfortunately it seems as if I have a similar problem as the one described in your links, but I am already using the described solution of having all clips loading into a single container-movieclip using "loadmovie".

    I think I may need to make it so that the external flv-files are loaded into the flv-player that is loaded in the container, instead of loading external swf-files that load flv-players with attached flv-files. However, Firefox has no problems with this, and IE works perfectly offline.

  10. #10
    Junior Member
    Join Date
    Aug 2007
    Posts
    11

    another report

    Well, I tried changing the code so that instead of loading swfs, with attached flv-players that load the flv, into a mc, I now define the path for the flv-players with a button and thereby load the flv's straight into a single flv-player.

    on (release){
    _root.container.container_video.clip.contentPath= "video/gala_highres.flv";
    _root.container.container_video.clip1.play();
    }

    BUT, the bug persists even with this.

  11. #11
    Junior Member
    Join Date
    May 2008
    Posts
    1

    server problem

    Hello,

    the error happens to me after playing video 2 times from one of my servers.

    1. I believe this error is with .flv's created in flash 8 and cs3
    2. loading files into empty container will not help
    3. tested same video and supporting files on server A and it works, tested same video and files on server B and it does not work
    4. videos on server B do not cache properly on users computer and lock-up the web site if played in IE 6 through 7, windows XP and Vista

    I believe the problem is with the server. I have been working with flash and my server B company for two weeks now. So far, no luck.

  12. #12
    Junior Member
    Join Date
    Aug 2007
    Posts
    11
    This is very interesting! So, it might be a configuration with the server in relation to Flash 8-flv's... We moved the site to a new server not too long ago, and we haven't seen these problems before. Doesn't necessarily mean they weren't there earlier though.

    I will try moving the site to a couple of different servers and report.

  13. #13
    Junior Member
    Join Date
    Aug 2007
    Posts
    11
    Ok, now I tried moving the site to another server, and from what it seems, this is a server related problem. Although it is quite capable of playing the files, it seems as if the old buffer streams are not closed when the user clicks another time on a clip, which eventually clogs the line and kills the site.

  14. #14
    Junior Member
    Join Date
    Jun 2008
    Posts
    9

    ActionScript 3 a solution?

    Has anyone seen this happen in ActionScript 3? I am considering porting my code to AS3 to try to solve this as I don't see any other way. My application loads slides as SWF's and the connection freezes really quickly for some people. On most systems it's completely trouble free but when it happens the browser will not communicate with the server at all. Even the launch window that launched the browser can't communicate. I have to open a new browser window and then it works again.

  15. #15
    Junior Member
    Join Date
    Jun 2008
    Posts
    9

    ActionScript 3 doesn't solve

    So I tried recoding the test provided in this link in ActionScript 3 and discovered the bug is still there.

    http://bugs.adobe.com/jira/browse/FP-44

    I put his test online here:
    http://www.webtrainor.com/bug/TestMC.html

    And in ActionScript 3 (ignore the hugeness of the images)
    http://www.webtrainor.com/bug/TestMC_as3.html

    Just hit f5 as soon as you see the first image load. If you have the bug the browser will hang. If you don't have the bug you can hit f5 all you want and all the images will eventually load.

    Delete your cache between tests or it won't work.

    I'm seeing the bug on IE7 and FireFox 2 under Vista64, but also on an IE6/XP system and it's been reported on other combinations. Both systems are running Flash Player 9 (latest as of June 8 08)

  16. #16
    Junior Member
    Join Date
    Jul 2008
    Posts
    2

    Angry AS3, file size

    hi guys,
    I'm with the same problem for days now. I'm programming in AS3, creating the flvplayback as I need it. I have other applications doing exactly the same thing, they use short flvs, and never freeze. Now I'm using 3 videos between 5 and 7MB each. IE hangs everytime I test, no matter what I do.
    I've tried a lot of things, stop() before playing the next one, pause, delete and create... and nothing. The best I got was like this:
    pause();
    wait for the pause state with a listener;
    play(url).

    that way it took a little more time to freeze, but wasn't a solution.

  17. #17
    Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Did you try...

    On that bugs.adobe site I linked to above someone just posted a possible fix but I haven't had time to test it. You have to change/add the following mime types to the server config:

    .FLV video/x-flv

    If it works please let us know, and also join the adobe bug forum and "Vote" for the bug.

  18. #18
    Junior Member
    Join Date
    Jul 2008
    Posts
    2

    yatta!

    Quote Originally Posted by cyberben3d
    On that bugs.adobe site I linked to above someone just posted a possible fix but I haven't had time to test it. You have to change/add the following mime types to the server config:

    .FLV video/x-flv

    If it works please let us know, and also join the adobe bug forum and "Vote" for the bug.
    thanks cyberben3d!
    I also found that yesterday and tested it in 2 different servers.
    it's the bug killer for sure.

  19. #19
    Junior Member
    Join Date
    Jan 2009
    Posts
    1
    You have to change/add the following mime types to the server config:
    .FLV video/x-flv
    I also found that yesterday and tested it in 2 different servers.
    it's the bug killer for sure.


    read of this fix on several lighttpd servers, but not Apache or windows IIS. what servers did you find it worked for? thanks.

  20. #20
    Junior Member
    Join Date
    Jan 2009
    Posts
    11
    I was having the same problem when running from one of my test servers. I use progressive http streaming rather than some kind of flash media server (just so no one is confused as to what I'm doing). I found that I could only start loading 2 FLV files before everything started to "freeze" (because I wasn't letting them load to 100% before trying to play another video). The connections were staying alive no matter what I did short of closing Internet Explorer. The following code fixed it for me so hopefully it'll help someone else out, too. It's not entirely my code, but I forget where I read it or I'd give credit to the source.
    Code:
    //video is an instance of FLVPlayback
    if(video != null){
    	video.volume = 0;
    	if(video.playing){
    		video.stop();
    	}
    	video.activeVideoPlayerIndex = 1;
    	video.visibleVideoPlayerIndex = 1;
    	video.closeVideoPlayer(video.activeVideoPlayerIndex);
    }

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center