IDE :: SWF - Stream Playback Or Full Download?

Nov 20, 2008

I have sort of a general Flash question. Are swf's supposed to start playing back only once the entire file has been downloaded to the client machine, or start "streaming playback" just as soon as the client has downloaded enough data to start playing at all. Let's say I have a 20mb file. Here's what I've noticed: Firefox 3 starts playing back the file right away, only having downloaded a small percentage of the file - essentially offering "streaming" playback. Internet explorer 7, on the other hand, seems to wait for the entire swf to be downloaded before it starts.

This is a problem for me because it's about a 30 second wait for anyone trying to view the files on IE, while on Firefox, they start up within a few seconds. I tried putting in a preloader, but that slows things down considerably on Firefox, because now instead of streaming, even the Firefox users have to wait for the entire file to download before they can begin viewing it. To see what I'm talking about for yourself, click this link in both IE and Firefox and see the difference.

View 1 Replies


Similar Posts:


Flash :: Playback Of F4V Using FLVPlayback Won't Use Progressive Download

Dec 17, 2010

I am using FLVPlayback Component in Flash AS3 to play an F4V video hosted on a different server. I want it to start playing as soon as possible, but the video won't start playing until the F4V is completely downloaded (I checked with Firebug). I tried fooling around with the component's bufferTime parameter, but it didn't seem to make a difference. For what it's worth, the SWF is being embedded in a Facebook profile using the FBML tag fb:swf, although I can't see how that would make a difference here.

View 1 Replies

Professional :: Full Screen Playback?

Feb 9, 2012

I'm just finishing off a project that has to run in full-screen mode, but I'm having trouble adding this feature. couple of quick details.I'm using Flash CS3, ActionScript 2.0, targetting Flash Player 9 (this could change, but I have to stick with AS2 and CS3)The movie will be the only thing running on a touchscreen installation, Windows PC.I tried using this:

fscommand2("FullScreen", true);

but it didn't work for me. I get this compiler error:Scene=Scene 1, layer=Navigation, frame=1, Line 1

The currently targeted Flash Player does not support the FSCommand2 action.I've tried changing the target player version, but all seem to generate the same error.

View 1 Replies

ActionScript 3.0 :: FLV Playback Not Loading In Full Screen?

Aug 8, 2011

I'm building an .swf with video to play in the standalone Flash Player. It works perfectly fine when the swf is not full-screened. However, as soon as I test it as a published swf, the video does not load. I know the video is not loading because:1) I can't see it.2) Elements that are triggered by cuepoints in the video are not triggering.3) The movie clips and graphics that over lay this video still play, but only when the swf is not full-screened.I am adding the video directly onto the timeline. Here is the Action Script I am using at that frame:

Actionscript Code:
import fl.video.VideoEvent;import fl.video.MetadataEvent;var curCue:Number = 1;//This is the current cue point.introVideo.fullScreenTakeOver =

[code].....

View 6 Replies

Media Server :: Recording Stream From Webcam As F4V Playback

Mar 23, 2010

I'm recording a stream from a webcam as an f4v file using FMS 3.5. The file is created in the live folder, and i can stream it back to the client no problem, however when I try to play the file in Adobe Media Player (or anything else) it won't play. I've used the f4v post processor which claims to run successfully, but with no joy.

View 5 Replies

Actionscript 3 :: Where To Download Flash Platform Full Documentation

Jul 5, 2010

does anyone know how/where to download actionscript 3 flash platform full documentation in packed HTML files. What I want is to have a local copy of the following doc: [URL] We are currently using a local copy of FLASH4 actionscript docs, which is quite out-of-date.

View 3 Replies

ActionScript 3.0 :: Possible To Know Full Length Of File Before Download Finishes

Jun 25, 2009

I am having some problems with buffering sounds. I am doing a MP3 player for my site and everything seems ok except that I can't get the full length of a sound before it finishes downloading/buffering and it's messing my progressBar. That's my code:
position = (soundChannel.position / sound.length);
Sound.length returns the total length of the downloaded data at the moment and not the full length of my Mp3 file.

Let's say I have 1 minute long Mp3 file and I only downloaded 30secs of it, if my playback reaches 15secs of the sound, it will say that I am at 50% of the song and not 25%. Is there anyway to know the full length of a file before it finishes downloading? So I can make a buffer download progress bar (like youTube does, so you know how much u have downloaded) and a songProgressBar. I've read some things about the NetStream class but I don't know if it will solve my problem. I don't have Flash media server.. it would load the file form the local file system.

View 2 Replies

Actionscript 3 :: Stream Playback From Wowza Has Audio Crackling On Flash Player

Feb 2, 2012

I have a custom Flash video player that uses the NetConnection and NetStream classes to stream mp4 files from a Wowza server. Lately the playback has been having audio problems. The sound is crackled and in some cases may cause the Flash player to crash. This is not consistent between files. Meaning that a file that was played once with bad audio could be fine 5 minutes later when played again from a new instance of the player , but 5 minutes later have the same problem.

My thought direct me to thinking this was an encoding problem, but that wouldn't explain how one second the playback is fine, and once refreshed messes up again.

I should note that the Wowza server does not stream the entire file but only a portion of it based on various parameters it gets.

View 1 Replies

Flash :: Html - Add In Allowfullscreen To Enable Full Screen Playback In Player

Sep 16, 2011

I am using dreamweaver to embed a flash video, but cant find how to enable full screen.

[Code]...

View 1 Replies

Media Server :: Stale Image From Earlier Playback After Close The Stream And Play Another Name

Jul 8, 2010

I don't think there is much to add to the subject. It is a bug, anyhow. Let's say I am playing content from publisher which is displayed in a video. I then close the stream, and issue a play call for content B on this same stream object. If publisher B is slow enough (no new data arrives for a short while), I manage to catch a glimpse of OLD UNRELATED content from publisher A! Why is this, and is there anything I can do about it? By the way Video.clear is broken in Flash Player 10, and that's public knowledge. However, I am not sure the clear method alleviates the problem. Even if you clear the video, the stale data appears afterwards anyway.

View 1 Replies

ActionScript 3.0 :: Stream And Play Back Concurrently While Staying In Sync (concurrent Playback - Buffering Percentage)?

Nov 15, 2010

I have two identical-length videos that I need to stream and play back concurrently while staying in sync. The best I can do so far is keep them about a second apart, but I'm wondering if there's a way to force them to actually stay in perfect sync? Oh yeah: I'm using AS3. (Ideally, I'd just have a series of JPGs instead of the second video and load the relevant image via cuePoint, but that aspect is out of my control.)

Second, what's the best/ideal method of knowing what I can only think of as "percent buffered"? These videos I'm loading are hosted on a Flash Media Server (which I don't have control over or access to, short of loading files from it), and while bytesLoaded/Total works for progressive stuff, I know it doesn't work for streamed stuff. Full disclosure: I know very little about working with serving video in Flash (obvious, I'm sure)(I'm not using the FLVPlayback component.)

View 3 Replies

Media Server :: 'URL Missing From Media Tag' On FMS4.5 HTTP Live Stream Playback?

Mar 30, 2012

'URL missing from Media tag' on FMS4.5 HTTP Live Stream playback.I have spent a whole day trying in vain to publish f4m live http streams from FMLE using FMS 4.5, and almost everything I try results in the error .The F4M document contains errors URL missing from Media tag...in both Flash Media Playback and the fms videoPlayer app.Other people seem to have seen this and solved it, but I've found nothing that helps. I have tried to publish a single stream, and with multiple bitrates. For the latter, I followed the Adobe video tutorial as follows:

Multiple bitrate live
================
I'm publishing 3 streams from FMLE, using
FMS URL: rtmp://[serveraddress]/livepkgr[code]..........

View 1 Replies

Media Server :: Playback When Using Stream.play("mp3:file") - Bitrate Conversion

May 16, 2011

I'm trying to setup a server-side playlist for playing back mp3 files, though I stumble into a weird FMS behaviour. I'm using latest FMS 4.0.2 Here is how I try to publish the stream (Server-side ActionScript):

[CODE]....

On the client side, I try to play it using NetStream.play("boo"). Though, the sound quality I get is really weird. The sound goes slower and faster and stops for a split of a second. It may play properly for a couple of seconds, but that's all. Sounds like a decoder problem to me, or a bitrate conversion problem. When I play the stream with NetStream.play("mp3:rhcp") the playback goes smoothly. I've tried several mp3 files with different bitrates, but they all have the same problem.

View 3 Replies

Disable Internet Download Manager's Video Download Option From My Youtube Videos?

Nov 23, 2011

I want disable IDM(internet download manager)'s download video option from my youtube videos.

View 1 Replies

ActionScript 3.0 :: Download A File To The PC Through The Normal Browser Download Manager?

Jul 1, 2010

So I basically have used the fileReference class to allow the user to download a determined file if he wants to.

I use the file.download(URL) function and it works well.

However, the file is downloaded and saved to the hard drive using only the flash player. The browser is not aware of the download, and thus, if I want to show the progress of the download I'd have to make some progress bar myself. I know how to do it, but it would become really tedious and take too much UI space.

Isn't there a damn way in Flash to "send" a determined file to the browser so that it prompts the user to download it? It's an image file, so navigateToURL doesn't cut it since it will just display the image, both if I use a new tab or the current one.

View 1 Replies

Professional :: Can't Download Flash CS5 With Akamai Download Manager

Jun 16, 2010

I'm working at a company which has high security environment.Akamai Download Manager starts to download a trial Flash CS5. However, it stops quickly and downloads nothing (zero byte).I want to download a trial Flash CS5 without Akamai Download Manager!

View 3 Replies

Flash :: Download Multible Files With JavaScript(one Download)?

Feb 22, 2011

I generate a HTML page with VB.Net which stores several pinks to files. These links are formatted with JavaScript looking like the Windows-Explorer with folders and files. The problem: There are only download links for the files, not for Folders. A folder can contain Subfolders ,a List of Files or a combination of both. So if I want to download a folder, I have to click manually on every file-link. I have not the possibility to insert PHP or another Server-side language. my question now is: Is there a client side way to Download them by click on a Folder? I prefer Javascript but If it isn't possible Flash will be ok also.

View 2 Replies

Media Server :: Close Another Live Stream B If Opening When Stream A Is Closed?

Aug 28, 2010

close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?

View 8 Replies

Media Server :: Recording RTMFP P2P Stream By Sending Simultaneous Stream To FMS

Oct 8, 2010

Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
 
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
 
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?

View 1 Replies

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

Jul 26, 2010

I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
 
I'm running Windows XP service pack 3 & FMIS 3.5.
 
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
 
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
 
Here's my AS3 code...
 
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);

[Code].....

View 1 Replies

Media Server :: RTMFP Multicast Stream Has Exceeded Max Duration Allowed Closing Stream?

May 9, 2011

i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast

[Code]...

View 3 Replies

Media Server :: Dynamic Live Stream Don't Take The Best Stream For Bandwith

Mar 9, 2010

I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.

[Code]....

My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.

[Code]....

View 3 Replies

Media Server :: Access Log- Stream Play & Stream Stop?

May 24, 2010

I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...

View 4 Replies

Media Server :: Last Few Seconds Of Stream Cut Off When Recording A Live Stream?

Aug 27, 2010

I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
 
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
  
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?

View 2 Replies

ActionScript 3.0 :: Getting Audio Stream Meta Data From An Akamai FMS Stream

Jul 21, 2009

I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.

[Code]...

View 6 Replies

ActionScript 2.0 :: Download Button - Opening The File Rather Than Giving A Download This File Option?

Jun 13, 2008

I have a few buttons rigged up for downloading word.doc, mp3 etc

Problem is its opening the file rather than giving a download this file option.

View 6 Replies

Ensure The Swf Or Projector File Always Stays In Full Screen - Full Page Mode?

May 11, 2010

I am creating a flash-based Kiosk. When launched, it runs full page/full screen. However, if a user clicks a button that opens an external document, the swf or Flash Projector exe leaves full page mode and appears in the Flash Player. Is there any way to ensure the swf or projector file always stays in full screen - full page mode?

View 4 Replies

Professional :: Sound Stream From One Clip Playing Over Stream From Another

Jan 23, 2011

I have a layout with narration and a nav bar. When I click a nav button for section 2, the audio from section 1 (set to stream) continues to play over the audio for section 2. This cumulates so if I click buttons for sections 3, 4 and 5, I get five audio files playing on top of each other. Sections are individual movie clips with embedded audio streaming on a Sounds layer in each movie clip.

View 3 Replies

Media Server :: Stream A HDS Live Multi-bit Stream?

Dec 12, 2011

I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.

Encoder settings:
Bit Rate: 150,500,700
FMS URL: rtmp://myserver/livepkgr
Stream: liveevent%i?adbe-live-event?liveevent

FMS 4.5

I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct? fC:FMS-HOMEapplicationslivepkgrevents\_definst_liveevent1[code].....

View 2 Replies

ActionScript 3.0 :: Stop Publishing Stream And Restart The Stream

Mar 8, 2011

I am very new to action script. I want to stop the stream from publishing then later on i want to publish the same stream again. My problem is that I have 3 levels of stream processing (Ingress-Rename ProxyLimelight-AuthProxy-Live) before it goes live. User wants to stop stream from publishing and then publish the same stream when he wants in each level. User does not want to start the stream from the begining, he wants to restart the stream on the same where he stopped.

View 0 Replies







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