Professional :: FLVPlayback Buffer: Video Loads Invisibly Until Fully Loaded?
Jul 28, 2011
A website I've recently encoded has HTML5 video that falls back to a Flash video for IE browsers. The MP4 video is played through a SWF file with an FLVPlayBack component, and works perfectly on my company's staging environment. However, once we moved the files to the client's live site, the video's buffering does not work properly. Instead of showing the video controllers and progress bar as the video loads, nothing is shown until the video file is completely downloaded (about 50MB)Here are the settings used for the SWF file and FLVPlayBack Component:
FLVPlayBack:
autoPlay: off
autoRewind: on
[code].....
View 3 Replies
Similar Posts:
Apr 27, 2010
I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.
I really don't know what that refers too.
View 1 Replies
Sep 18, 2009
the player uses a VideoDisplay and i set the source like videoDisplay.source = "sourceStringURL"
and the vid doesn't play until it's fully loaded
View 1 Replies
Feb 3, 2011
Works fine however online it takes some time to start and it just has a blank screen for about 7-8 seconds before it starts the videoIs there any way to add a buffering message until it loads the video?I know that buffering is easier to do with NetStream.. but in this case im using Flash's CS5 FLV component which it doesnt give it as an option in the properties...
View 6 Replies
Oct 14, 2009
Does anyone know if it's possible to get your FLV to seek to a point beyond what's already been loaded into the buffer... just like how youTube does it?I want it to seek to the new point, drop all buffered data that it had before and then just start buffering from the new point.I'm NOT (and can't) use a media streaming server - is this possible without it? After a bit of research it's not looking good :sIf you can't do it then I'm thinking I'll have to preload the whole FLV before the user even sees anything!
View 5 Replies
Feb 27, 2011
Ok, so I have tried and tried to figure this out. Of course in the test environment everything works beautifully, but when I test my swf on my site, thats when the sh*t hits the fan.
The problem is my buffer bar wont show up until the video is completly loaded. In flash however, it loads across as the video is downloaded, like it's supposed to.
Go to my site to see what I am talking about. The loader bar appears uder the progress bar, exactly like on youtube. www.blankensteincreations.com
Here is the code that controls it.
Code:
mcVideoControls.mcProgressFill.mcFillGrey.width = nsStream.bytesLoaded * 710 / nsStream.bytesTotal;
Of course that is wrapped in a timer funtion which, I add, works fine.
FLA is attatched as well as the code below so you can see how it works in flash.
Here is my full code:
Code:
const BUFFER_TIME:Number = 8;
const DEFAULT_VOLUME:Number = 0.6;
const DISPLAY_TIMER_UPDATE_DELAY:int = 10;
[Code]....
View 11 Replies
May 5, 2009
I am trying to remove a FLVPlayback. When I do this it visually removes it but the video is still playing because I can still hear it. I've removed the container child that holds it & I even tried removing the FLVPlayback itself, still keeps on playing.
View 3 Replies
Jan 11, 2008
I wanted to know if there is any ideal value for the buffer time for a video streaming. What factors determine the video player's buffertime so that the video plays smoothly at the client end. I'm using a buffer time of 6 sec. My video is expected to be between 1 - 7 min. and The player is be hosted on a public website, which means the audience could be with varying internet bandwith. How do i know if 6 sec is perfect for my audiences or not. Is there bright idea?
View 1 Replies
Apr 8, 2009
I tried to look this up, but can't seem to find what I am looking for. How do I hide the FLV Buffer in the beginning and the playback controls that come with it?
View 1 Replies
Apr 6, 2009
Flash version CS3 AS version AS3 Skill level - AS2 Flash 8 - better than Average. Skill level - AS3 - a little better than beginner.
Problem: Creating an FLV movie using CS3 / AS3 FLVPlayback component. Having problems with buffering issues - large FLV file 23 MB
I'd like to add either text or an animated movie clip that displays a "buffering" message before the movie is loaded enough to play AND if the play head catches the buffer, I want it to show again until the movie has rebuffered and then disappear when it starts playing again.
how this can be done with a custom player using netstream, but having a heck of a time finding anything that shows how to do it with the FLVPlayback component.
What I've done:
This is my video as it stands at the moment. [URL]
I have added a progress bar per the instructions in this tutorial [URL] (I used the section titled: "Adding a progress bar component" - the code is identical to what is displayed there.)
However, even though the progress bar is displayed, it is not displayed long enough for enough of the FLV to be buffered to play smoothly.
Hence my interest in adding a 'buffering' message. Either that, or display the progress bar long enough to buffer enough of the movie so that it doesn't stutter or stall during initial playback.
View 1 Replies
Sep 28, 2011
I have an flvplayback component on the stage of a parent flash project. One can preview a video that has some text overlaying it that the user entered in a previous scene. Dynamic cuepoints sync the video with the overlaying text.If the viewer doesn't like the preview they can go back to the previous scene, edit the text, and rewatch/preview the video with the overlaying text to make sure they like it.
I'm running into an issue when they stop watching the video preview, they go back to the previous scene and they return to the video preview scene. I stop the video with a .stop() and I rewind it with a .seek(0) but when they return to the video player and rewatch the video there's a brief audio pop. I'm assuming the pop is a bit of video/audio left in the buffer of the flvplayback component.
My question is - is there a way or what is the best way to clear the buffer of the flvplayback component when I rewind the video so it can be replayed?Is there a better way to rewind an flvplayback to the beginning other than .stop() & seek(0) so I don't get a audio pop when it's replayed?
View 1 Replies
Apr 8, 2011
With autoHide set to true I would like to have the skin show when a video is loaded then fade away after a couple of seconds.
View 5 Replies
Jul 14, 2010
I'm using the flvPlayback/flvPlaybackCaptioning components.My file works perfectly when I test the movie within Flash.When I publish it,I cannot see any video, even on my own PC.I have the fla, flv and xml files in the same directory.In flvPlayback component,I have skin set to None and I'm using a captionButton and playPauseButton.The source has the flv filename and autoPlay is set to False.In flvPlaybackCaptioning, source has the xml filename and the captionTargetName has the textbox instance.showCaption is set to False. Everything works fine until I insert the captioning elements. The captioning works perfectly when testing.I can't see where I've gone wrong.
View 2 Replies
Sep 7, 2010
Is it possible when publishing a Flash CS4 file to have the Video swf and the Skin swf be in one swf file? I have a Flash CS4 (AS2) file that has a FLVPlayback Component. When I publish or test movie 2 swfs are output. I need only 1 swf as I am then going to insert this 1 swf into a Captivate 4 project. When I insert the video swf by itself into Captivate 4, I do not have a play bar/skin. If it is not possible to publish as one swf, how I can insert the 2 swfs into a Captivate file and get them to work?
View 3 Replies
Jul 27, 2011
i'm trying to embed h264 mp4 video into website using flash cs3 professional.
when i select the source file it's looking for .flv files and not the mp4 file so the mp4's are greyed out.i read a great tutorial using a pc which shows the workaround for being able to see the mp4 files.url...I'm however using a mac and this method of putting an * in the file name box doesn't work on mac.
View 1 Replies
Dec 16, 2010
very annoying bug.. I load a SWF and monitor the loading progress using
Code:
_swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onSwfLoaded);
_swfLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, onSwfProgress);
[code].....
View 2 Replies
Aug 4, 2011
We have developed flash video player which needs to playe large videos (at least 500 MB videos).We have some issues in the player right now.I am playing a 100 MB + video, it start playing and say it is buffering upto 50% of that video. Then I am closing that page. If I take that video again, it starts downloading from beginning. It never resume downloading from where it buffered previous time. But for small video files, this is looking ok. Is there any size limit a video player can buffer?Is there any better way to play large videos (more than 500 MB). Any other protocol or any other settings in flash player?
View 1 Replies
Dec 2, 2003
My header swf on load took longer than the hobbies swf. It is surpose to appear only after the header swf is fully loaded. See link below.
[Url]
Is that any properities/condition I can use to check that the 1st SWF to be fully loaded (return true value) b4 proceeding to load 2nd SWF using do while statement.
View 3 Replies
Sep 28, 2006
I'm using a preload function with the Movie Clip Loader. Everything works like it should except the external swf's will play before they are fully loaded. At first I only had one frame in each swf, and they wouldn't show up until 100%. Then i added some animations, and now they play out at around 60% loaded.
I know I can fix it with stop() on the first frame and tell it to play after 100%, but I'm wondering if anyone else has had this problem, or is it something common with MCL and i just wasn't aware of it.
View 3 Replies
May 20, 2010
i making flash website and i tried to put a preloader but it dosen't work ... if u wana see the example of what am talking about plz visit thisi spent alot of time and i visited all the threads posted here but i failed
View 1 Replies
Jun 8, 2009
I built a pretty simple Flash movie for a client and put a preloader on frame 1. The preloader works fine then the movie plays. What is happening is if you go to another page on the site and then go back to the home page all you see is the preloader bar fully loaded but the movie doesn't play. You have to refresh the page for the swf to play again. It is doing it to me in Firefox but not IE 8 and it is doing it in IE8 on my clients computer...
Here is the code.
stop();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
function onProgress(e:ProgressEvent):void{ var loaded:Number = e.target.bytesLoaded; var total:Number = e.target.bytesTotal; var pct:Number = loaded/total; loader_mc.scaleX = pct; loaded_txt.text="Loading..." + (Math.round(pct * 100)) + "%";}function onComplete(e:Event):void { gotoAndPlay(2);}
Here is a screen cap of what is happening. After you go back to the homepage all you see is the rpeloader bar fully loaded without the load text.
View 10 Replies
Feb 9, 2012
I've been searching for this for a while, and either my google-fu is weak or there is no easy to find answer yet...
I am using a NetStream to stream a video file from anywhere. The NetStream is NOT connected to any server. Here is the code:
// Create new connection and stream
_netCon = new NetConnection();
_netCon.connect(null);
[Code]....
This basically works, of course, but the video always starts playing only when it is fully loaded. It also passes the metadata only then. But the main reason to use a NetStream is so that you can play a video BEFORE it is fully loaded.
I tried playing around with the bufferTime property, but to no avail. Also made sure that there is no caching involved when loading the video. I always load a "new one" by adding some "?bla=date" value behind the url.
Is it possible that the "real" streaming only works when really connected to a server? Or am I missing something else?
View 3 Replies
Jan 27, 2009
I have Movie that has a preloader on the 1st Frame and then on the 2nd Frame a swf is loaded using this script.[code]This loads my test_1.swf into the test_1 mc inside the cc mc.This all works fine.... However what I want to know is how to only gotoAndPlay ("3") after the test_1.swf has been fully loaded?The idea I'm working with is that... an initial swf (simply an image with a preloader - test_1) would load into the background when the swf is started and then a menu would appear in frame 3 that would allow the user to replace the background swf with button clicks..... But at the moment the menu on frame 3 is loading before the background swf is loaded.
View 9 Replies
Dec 9, 2009
Is there a way to tell if Shared Library has been fully loaded?
I have external SharedLib.swf with fonts inside
I imported those fonts inside Master.swf and that's where I am using textfields that rely on those fonts...
I just need to know if theres a way to tell when sharedLib.swf was fully loaded and ready to use,
View 3 Replies
Sep 3, 2006
I'm having a strange problem while preloading external swfs. I have about 6 external swfs that load whenever their respective button is clicked. Each swf will have a short animation that builds the page. Initially, i was testing the swfs with the full page assembled on frame 1.
Everything worked as it should until i started building the animations. Now, instead of the animation starting when the swf is fully loaded, it starts when the preloader is around 60%. This happens everytime at 60%. If I take the animation off and go back to 1 frame, it shows up when it's supposed too, at 100% loaded. I thought i could get around it by putting a stop on the first frame and telling the swf to play with onLodInit(), but it still shows up early with the stop() on frame 1. Just wondering if anyone else has ever experienced this weird problem?
View 3 Replies
Oct 1, 2009
Im trying to draw a bitmap of an dynamically loaded image via xml, and ofcourse i'd like to apply smoothing to my images, as my page resizes with the browser and creates a mess.
The images are loaded with a timer event, which fires every 200ms, and each time this occurs, I'd like to quickly draw the bitmapdata of the image so i can apply the smoothing.
My problem that im having is that the images aren't completely loaded when I run the draw method and so im left with a white box instead.
Currently im using:
Code:
function itemHandler(event:Event):void
{
loadThumbs(event);
thumbLoader.unload();
[Code].....
View 3 Replies
Mar 4, 2005
I have a question that is a bit tricky. Why I want to do this is becouse I need such a dynamic solution as posible with fast downloadtime.
- I have a host file that schould preload child files (this is to display what I can load visual).
- In the child files library i have a clip ready to be exportet (it's exported in first frame)
- when my host noticed that the childs second frame is loaded I want to grab the clip from the childs library and attach it in the host. (after this it will load nextone e.g.)
Is it not posible to get childrens exportet library clips? (have tried to load whole child clip before trying to grab the clip).
View 1 Replies
Nov 8, 2010
Flv seems like can't be use with loader but NetStream. But I wanted to play the video only after I have completely download it (smooth viewing with no buffering time). How can I do it with NetStream? And Can I have multiple video load at same time, and play it according to some array arrangement?
View 1 Replies
Nov 1, 2009
One being ... at the moment when a FLVPlayback is imported onto the stage and a user clicks on the exit button before the video it has fully loaded onto the stage, the video keeps loading in the background. I want it to be completely removed and stop loading when the exit button is click... because at the moment it slows the users internet down and the sound also plays in the background when its been fully loaded... The video interface seem to be removed but not the whole thing.
It is also happening to me when I use addChild to load a external JPEG... if the user exits before it is fully loaded to the stage... it keeps loading in the background.[code]...
View 1 Replies
Jun 2, 2003
I am trying to load an external swf into a target. When the swf is completely loaded, I want to execute the next set of actions. I am trying to develop my flash websites so that no coding is done within the child swfs. So I would assume some code like this would work:
_root.holder.loadMovie ("child.swf");
if(_root.holder.getBytesLoaded ==_root.holder.getBytesTotal){
_execute some other command;
}
However it doesn't work! So is there a way to detect when a specific child swf has fully loaded into a target (not _framesLoaded please!) and then set a variable to allow some other actionscript to kick in?
View 13 Replies