ActionScript 2.0 :: Making A Buffering Video Player?

Jul 15, 2004

tutorial for making a buffering video player, with scrubber etc that lets the viewer see how much of the video has loaded whilst they watch it. I've been searching for ages but to of no avail!I'm using MX, not MX 2004

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Making A Video Player With Selectable Dubbing For Different Languages?

Nov 6, 2008

Right I'm back on making a video player with selectable dubbing for different languages. On 56k simulator. (3min video.....audiolessFLV =5MB, mp3 = 707KB)using net stream

Preload - ---------------------------------- 19 seconds

aprox "6 Minutes worth of subtitles" (2xmls) + 50% audio -- 1min27secs

NB... this is NOT including FLV download as the DL sim, doesn't account for that.

For saftey lets say 10 second audio buffer delay... so what double/triple accounting for flv? Another issue is sync. According to ns.time and s.position, the audio is half a second early... when in sync.

1-2 moves of the scrubber is ok, but if you start messing around with the scrubber it goes out of sync.

Is the sync issue my code problem or an inhertant issue?

Code:
_root.controlbar.loader.scrub.onPress = function() {
vFrame.onEnterFrame = _root.scrubit;
this.startDrag(false, 0, this._y, 298.3, this._y);[code].....

View 1 Replies

Actionscript 3 :: Video Buffering Impact To Video Over A Slow Connection?

Apr 12, 2012

As I understand it video over a connection of say 40Kb/s wont actually have time to load and make a buffer, and it'll be "glitchy", so it wont make much difference whatever buffering is put in place. I'm getting complaints about glitchy video. I don't have access to the servers serving the media so I put a load timer in a swf along the lines of averageLoadSpeed = (bytesLoaded / loadTimer.currentCount) / 1024;

Out of 5 tests run, 2 were below 50Kb/s. And I've been told the server also is not geared towards media and put priorities on other business tasks. The head of IT for this company keeps going at me about buffering, and how that'll fix the problem. I tried to explain that the speed is way too low (32Mb = 32768Kb / 24Kb/s = 1,365 seconds * 60 = 22min) enlighten me on buffering aside from wikipedia's explanation about IO streams.

View 1 Replies

ActionScript 2.0 :: Sound.onLoad + OnError - Making Music / Video Player In Flashmx2004

Dec 23, 2004

i'm making somekind of music / video player in flashmx2004. it plays streaming mp3 en flv files. random people can put a link into the players database. ofcourse there will be some that insert a dead link, now i want to check with actionscript (1.0) if the link is dead and if so, the player automaticly will skip this track. this is what i've got allready to load te streaming sound:

[Code]...

View 1 Replies

ActionScript 3.0 :: Stop The Video Buffering When Video Is Paused?

Jan 11, 2012

I am developing the video player with custom video controls and I want to stop the video buffering when my video is paused. As sson as I play the video the buffering starts from the last bufferring point.

View 8 Replies

ActionScript 2.0 :: Buffering Movie Player?

Jul 15, 2004

Just wondering if anyone had a good tutorial for making a buffering video player, with scrubber etc that lets the viewer see how much of the video has loaded whilst they watch it. I've been searching for ages but to of no avail!The kind of thing I'm after can be found at www.hi-res.net on the 'showreel' section in bottom right corner.

View 2 Replies

Actionscript 3.0 :: FLV Player Component - Buffering Autoplay

Oct 14, 2010

I have an AS3.0 XML flv player that uses a flv component skin/controls. Everything works great, but now the client wants it so that when ever the movie stops to buffer, it automatically starts playing again. Right now, I guess if it has to stop and buffer, you have to hit play to start it again.

[Code]...

View 1 Replies

ActionScript 2.0 :: MP3 Streaming Player - Audio Buffering Visual?

Nov 28, 2009

I have written a little MP3 streaming player. Nothing big. But on some file, it takes longer to fill enough of the buffer before starting to play. My construct is fairly simple...

var player:Sound = new Sound();
player.onLoad = function(success:Boolean):Void {
if (success) {
// do something;
}}
player.loadSound(musicURL,true);

Since I have specified streaming, this will auto play as soon as the buffer is full. What I'd like to do is play a little animation or something while the buffer is filling so the user won't think the player has hung.

View 9 Replies

ActionScript 3.0 :: Audio Player Buffering - Stutter Start

Oct 24, 2010

I have a music player playing a live radio stream. Everytime the player loads the radio stream, it has a stutter start and then it buffers for a few seconds (how long depends on your internet connection speed) and then it continues playing. I want a buffering icon to appear during this brief buffering period. Watching the sound.position, I see that its increasing pauses at approximately the 0.4 second mark when the stream buffers.

When buffering finished it continues counting up to infinity as the stream plays. I thought maybe it would be possible to write an IF statement saying if the current sound.position is equal to what it was a second or split-second ago (i.e., it's not increasing, the stream is stopped for buffering), display the buffering icon. But I don't know how to write this IF statement.

View 5 Replies

XML :: How To Add Preloader Before Video Buffering

Dec 23, 2009

I have a xml video background and need to add a preloader before the video is buffering. The problem is that I am loading the video from xml file and from what I've tried the preloader works for the swf file but not for f4v video loaded externally. You can check the preview here: [URL]. What I've come with is to compress the video so Ill get a smaller file or change the buffer time, but the priority is to come out with the preloader.

View 1 Replies

Flash :: Detect When Video Is Buffering?

Dec 7, 2009

my question today deals with Flash AS3 video buffering. (Streaming or Progressive) I want to be able to detect when the video is being buffered, so I can display some sort of animation letting the user know to wait just a little longer.

Currently my video will start up, hold on frame 1 for 3-4 secs then play. Kinda giving the impression that the video is paused or broken :(

Update

NetStatusEvent from livedocs. It seems to me that the key status to be working in is "NetStream.Buffer.Empty" so I added some code in there to see if this would trigger my animation or a trace statement. No luck yet, however when the Buffer is full it will trigger my code :/ Maybe my video is always somewhere between Buffer.Empty and Buffer.Full that's why it won't trigger any code when I test case for Buffer.Empty?

public function netStatusHandler(event:NetStatusEvent):void
{
// handles net status events

[Code]....

View 4 Replies

Flex :: Buffering In Video Display?

Jun 14, 2011

I'm new to Flex and currently working on the Video Component in Flex. The problem is:Buffering starts only after the specified time. So, if i have specified the Buffer Time to be 2 s, then the video buffers for sometime, gets the data for the 2s and then plays it and then again buffers. The point is it is not buffering in parallel to playing. Is there any way of making this possible in Flex 3? Or is it already there in newer versions of Flex?

View 1 Replies

ActionScript 3.0 :: Loading SWF With FLV Movie - Buffering Video?

Jun 10, 2009

I have some videos that are already in FLV format. I embedded them inside a little swf. And I embedded that swf into a bigger swf where everything els is. When a user clicks on a button, it loads the swf with the FLV movie in it...how would you go about buffering a video?

View 21 Replies

ActionScript 3.0 :: Streaming Video Skips After Buffering?

May 26, 2011

When my streaming videos start they will buffer and begin to play as normal. However, as soon as the vid starts buffering again a problem arises. Basically what is happening is that Flash is buffering the video to a certain point, but instead of resuming playback from the point where the vid paused it now jumps instantly to the end of the newly buffered area without playing the vid portion in between. Which essentially means that it skips merrily through the video and never stops buffering.

View 3 Replies

ActionScript 3.0 :: Track Audio And Video Buffering?

May 26, 2011

I'm working on the development of a tool that plays two audio files and one video file simutaneously.All the files need to play together at the exact same time, so that the audio syncs with the video.
 
Our situation right now is that each one of the files start playing at different times depending on how fast they are loading. The problem is, my programmer is telling me that there is no way to track the buffer of the audio, so for example, the video only starts playing when at least 30% of the audio is loaded. Is it possible to do this?
 
The video player would then display something like:

[Code]...

View 4 Replies

ActionScript 3.0 :: Streaming Video Skips After Buffering

May 26, 2011

I am pretty new to scripting and Flash and streaming vid is proving a massive headache at the mo. Have bashed through most of my problems but this one has got me stumped, scripting skills not up to the task. When my streaming videos start they will buffer and begin to play as normal. However, as soon as the vid starts buffering again a problem arises. Basically what is happening is that Flash is buffering the video to a certain point, but instead of resuming playback from the point where the vid paused it now jumps instantly to the end of the newly buffered area without playing the vid portion in between. Which essentially means that it skips merrily through the video and never stops buffering. That said I'd prefer to get to the root of the prob, particularly if this is a codec/keyframe issue, since I could then re-export the vids appropriately. I am using mpg4 (.mov) with H264 compression and keyframes at 1 sec intervals.

View 2 Replies

ActionScript 2.0 :: Start Buffering Video From Specified Point

Feb 8, 2012

I've been working on a video-centric project that requires a very specifically designed video player, which I've built from scratch -- no skin. Things were going great until I actually uploaded the video and SWF to my server and tried it out. Here's the issue: The video, which is an F4V that's been imported into Flash as an external asset -- I'm not using NetStream, nor am I using a Flash media server -- starts loading almost immediately. But when you use the custom-built scrubber bar to jump ahead in the video, it freezes up until, I presume, the video has loaded to that point, at which time the video starts again. If you open the SWF and let it sit for a few minutes, this isn't an issue -- you can jump back and forth as much as you want.

So clearly the problem here is that the video is loading from the beginning and the user can only get to a certain frame when that frame has already been loaded. But it must be possible to start loading from a specified point, right? After all, the video doesn't load all together and become available only when the whole thing is done. It starts loading at 0:00 and continues progressively. I just want to change where it starts loading by telling it not only to play at that point but to start loading at that point, too.

View 1 Replies

ActionScript 2.0 :: Buffering Strategies For Streaming Video

Aug 19, 2007

Any dynamic buffering strategy solution for streaming video from the FMS server? I am following the Adobe Tutorial but i get confused where to place all of the files as I am not using the Management Console...I'm using flv hosting and all i have access to is just the ftp servers.

View 1 Replies

Media Server :: FMS Static HD Video Playback Buffering

May 18, 2010

I have downloaded and installed the Flash Media Server (FMS) trial version. Just purchased the software today and waiting for the activation serial number. I created a video gallery - [URL]. My goal is for these videos to stream just like vimeo. I am only using HD 1280 x 720 video. All videos are between 25 to 125 MB in size, originally .mov files converted to .flv using FFMPEG. Videos are between 30 seconds to 58 seconds in length.

I am using ColdFusion to upload and organize my videos and I have configured FMS to work with CF. The Issue is that these videos buffer the same way they did when I didn't have FMS installed. Press play, the video buffers, the video plays, then stops to buffer again. Stop and Buffer, Stop and Buffer. I can understand if there is buffering at the start of the video but not throughout. When I start the video over from the start, it has to buffer all over again!

View 2 Replies

ActionScript 3.0 :: Detect Embedded Video Events / Buffering?

Oct 13, 2010

I got myself an assignment which requires me to add buffering and few other video related functions to a flash file that uses embedded video( on the timeline).

this swf is about 30-40Mb in size and it loads quite a while.

what i need to do is to detect when the video stops playing, runs out of buffer, but i dont know how do i listen to the netstream events if there is no netstream on embedded video.

View 5 Replies

Flash :: Difference 'Music / Video Is Loading' Vs 'Music / Video Is Buffering'?

Dec 1, 2011

What is technical difference between buffering and loading ? Say, i have a video, which is showing loader bar in progress. Then what's happening exactly ? Buffering or Loading ?

View 1 Replies

Flex :: Start Buffering A Video Display From An Intermediate Point?

Jan 31, 2011

I am trying to use Flex Video Display as a preview player. The player is streaming the video from the server.While The buffering is not complete, if we try to drag the play head to an area beyond buffered region, the player will drag the playhead back to the current playing position. I need to implement the player like you tube video player which allows to drag to anywhere in the track even when data is not fully buffered.Is there a way for doing this.

View 1 Replies

Flash - Display Buffering Animation When Downloading Video Data

Feb 16, 2011

How would I display a buffering animation whilst a netsream object was downloading video data? Using Actionscript 3.0 in Flash.

View 1 Replies

ActionScript 3.0 :: NetStream: Video Is Taking A Long Time To Begin Buffering

Jul 28, 2009

I'm trying to implement a simple NetStream video player with Progressive Video, but for some reason the video is taking about 12-13 seconds to begin buffering...I don't get it. If you check this link, you can see the buffer progress, you can see that it sits at 0 for >10s, until finally starting to buffer, at which point it finishes very quickly. [URL] It's a hard one to search for as any query using connection or slow obviously returns a bunch of crap that I don't need...

[Code]...

View 1 Replies

ActionScript 2.0 :: Making The Simple Player Using The Player Component Preinstalled In Flash?

Jun 3, 2010

I am trying to make the SIMPLEST POSSIBLE MP# player using the player component preinstalled in flash.It is very simple, the code is as follows:

Code:
on (release) {
player.contentPath ="Song.mp3"
player.play()
}
("player" is the mp3 component)

This works if I want a single track to be selected and played.Now, I need it to AUTOMATICALLY LOAD THE NEXT TRACK, which I will input in the code.I am thinking something like this:

Code:
player.onSoundComplete = function() {
player.contentPath ="Song.mp3"
player.play()
};

But this is not working.

PS: I know an XML file would be the best here, but I don't want to use it. I just want to enter the next track's code inside the swf.

View 2 Replies

ActionScript 3.0 :: Show "loading" Animation Whenever Video Is Buffering?

Nov 20, 2011

I'm building a video player, and I'd like the play to show a "Loading, please wait"-type animation whenever the video is buffering and not playing. (This is either when the user enters the page and the video has to buffer a bit before it can start playing, or when the video suddenly stops midway because the internet connection can't load video fast enough.) Is there a way to detect when this happens and show the animation accordingly?

View 1 Replies

ActionScript 3.0 :: How To Show "loading" Animation Only When Video Is Buffering

Nov 20, 2011

I'm building a video player, and I'd like the play to show a "Loading, please wait"-type animation whenever the video is buffering and not playing. (This is either when the user enters the page and the video has to buffer a bit before it can start playing, or when the video suddenly stops midway because the internet connection can't load video fast enough.) Is there a way to detect when this happens and show the animation accordingly?

View 1 Replies

Asp.net :: Play MP4 Video On Window Webserver In Quick Time And Flash Player(flv Player)?

Aug 3, 2010

I have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?

I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.

View 1 Replies

Flash Video Player That Enables User To Embed Video Like YouTube Functionality

Jul 7, 2009

Just wondering where I could get a flash video player that enables the user to embed the video like youTube functionality.URL....

View 3 Replies

Flash :: Use FBML To Embed A Custom Video Player / Video On Facebook Walls?

Oct 28, 2010

I'm trying to get a video (flv) or an swf video player to work on Facebook walls, however no matter what I do - facebook posts the raw fbml and ignores the code.

<fb:swf
swfsrc='http://www.domain.com/flv_player/Main.swf'
imgsrc='http://www.domain.com/large1.jpg'

[Code]......

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved