Load And Pause Progressive FLV Video
We have a custom video player that plays progressive download videos. Some of the videos we are using in a blog (see link below) start in black and fade into view. I'm trying to figure out a way to have the video load a few seconds and then pause on a frame that has an image (the interviewee). We currently have the videos start as "paused" but the issue with this is that there's no imagery to look at. Its just an empty player. Any link or help would be greatly appreciated.thanks - shawnBLOG EXAMPLE
Adobe > ActionScript 1 and 2
Posted on: 04/04/2007 11:59:02 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[F8] Progressive Bar For Progressive Download Video
I am very new to flash!!!
I want to create progressive download video. I know how to create the one , but I don't know how to put progressive bar ( show loading number before video playing) before progressive download video.
Please help me ASAP!! Because I need to create it for business. Thank you!
[F8] Progressive Bar For Progressive Download Video
I am very new to flash!!!
I want to create progressive download video. I know how to create the one , but I don't know how to put progressive bar ( show loading number before video playing) before progressive download video. I want to make it to determine internet connetion speed and load video.
Please help me ASAP!! Because I need to create it for business. Thank you!
FLV Video Pause On Load
Hello,
Can someone please offer some assistance. I currently have a video file in my timeline which is being called using the Netstream Connection. Once the video has been buffered, I would like it to stop on the first frame, and only start when the user hits the play button. Can someone please tell me how this is done? I have looked everywhere and cannot find the answer.
Thanks in advance,
Oliver Alexander
Pause Video On Load
What would be the best way to pause a video/flv as soon as it loads and has the first frame up without it making any sound.
How To Create A "Click To Load" For Progressive Video Download
I am placing videos on a webpage using Progressive Downloading. Some of the videos are 30+ MB so i would like a click to load function instead of having the video automatically load when the user goes to the page. Does anyone know of a good tutorial on how to do this?
How To Create A "Click To Load" For Progressive Video Download
I am placing videos on a webpage using Progressive Downloading. Some of the videos are 30+ MB so i would like a click to load function instead of having the video automatically load when the user goes to the page. Does anyone know of a good tutorial on how to do this?
Is It Possible To Pause The Loading Of Progressive FLV
I am using Progressively downloaded FLV.
I would like to pause the loading of the file while continuing to play what has already downloaded. Is this possible without FCS?
I would like to only load a few seconds ahead of the playhead so as to avoid downloading the whole video if the user only watches the first part..
Best regards,
Holland Risley
Edited: 01/22/2007 at 07:32:32 PM by h.risley
Progressive Video
Currently i Have a flash file that i would like to use videos in. However i would like the videos to load only when asked to using a button. In other words you click on the button then the video downloads from a server and plays within the original flash document where the button is contained. Can anyway give me some help on how to do this.
Progressive Video (QT .mov) Download?
Is it possible to have my QT .mov file download progressively in flash site? I got it all linked and working but it wants to download the whole thing before starting to play. (On my old html page the progressive download works and the video plays as soon as it is buffered enough.)
Thanks
Progressive And NetStream Video
I have a confusion between progressive and netstream flv,
1) For what different purposes they are used?
2) In which out of these two methods the entire file is loaded first before it starts playing?
3) Are these(progressive and netstream) the the property of flv or they are defined in flash?
4) How to convert a video into a progressive or netstream flv(i am able to convert a video into an flv using flv encoder)
Please ********.
Thanks
Progressive Video Playing
Hi All,
I have two movieclips both with two frames with a button on each.
Button on Frame1, streams an FLV through progressive download into a video component and plays it.
Button on Frame2, stops the FLV from playing and restarts it.
My problem is, how do I make it so that only one FLV plays at one time? Right now if I click on both of my movie clips, they both start playing, and I have to stop one to play another.
Any pointers would be much appreciated!!
Thanks a lot.
~honey
Progressive Flash Video
Here is my website
www.deafscanner.com/ASL_Justin.html
I am very new to flash. Is the flash (in my web) progressive???
In my computer, the video sometimes stop even though I have high speed connection..... But other flash video that My friend created plays very fine in my computer. So I think the Flash video in my website is problem .
I encoded AVI file to FLV.then I choose Progressive and embed in web with Macromedia dreamweaver 8.
Some people have dial-up connection. so I am worrying if they can't see video smoothly. I want to setup website for business for deaf people, so I want to put 40 minutes long sign language presentation video on web.
What should I do??? Should I use Streaming video??? HELP!!!!!
IE Progressive Video Problems?
I'm having an issue with progressive download videos not loading into IE on Windows XP. I use a Mac and have no problems with the videos loading on Safari or Firefox. They even seem to load right on Firefox on Windows. When I use IE 6 or 7 I just get a blank screen. Are there any fixes for this that anyone knows of, or has anyone else even had the same problem? Embedded videos work fine, but once I try the progressive it just leaves me with a blank screen.
D
Progressive Video Angst...
I had an embedded video that ran fine, but when I upgraded the site to CFMX7
last week, the
flash items that were embedded run great, but the video does not....
SO... I embedded it in swfobject... ("see" it here-- or rather where it
should be)... http://floydandgreen.com/index.cfm) under the TagHeuer gif...
nada even though it runs fine on my local development servers
<div id="p4rflashcontent">
<p strong>You do not have the correct version of Flash installed.
</strong><br />
In order to See this site properly, You need to upgrade your Flash
Player</strong></p>
</div>
<script type="text/javascript">
var so = new SWFObject("pray.swf", "pray", "325", "290", "7",
"#054F04");
so.addParam("loop", "true");
so.write("p4rflashcontent");
</script>
SO.... I recreated it in CS3. Made it a progressive video and uploaded again
as Flash 8 format... again, runs fine on my local servers, but not online.
<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','330','height','300','title','Pray
for
Rain','src','prayCS3','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','prayCS3'
); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
Progressive Video And IE Errors
I'm having some issues with progressive download videos playing in IE on windows. It works fine on a Mac in safari and Firefox. On PC it works on Firefox, but when I try IE I just get a blank screen. Embedded videos seem to work fine, but the progressive is not working out so well. Anyone else found this problem? Anyone have any solutions? Thanks
Looping Progressive Video (twice)
Hi there --
So I know the code to loop a progressive FLV. It attached. But how can I specific it to only loop twice?
Thanks!
Tracy
Attach Code
on (complete) {
this.autoRewind = true;
this.play();
}
Flash Video-Progressive Help
Hello All,
I am having difficulty putting up video on my site. I want the video to be embedded in the page with no chrome, just video like on YouTube.com.
Here is what I have done.
1. Imported a .mov file into the Flash 8 Video encoder and created a .flv file and a skin.
2 Opened a new Flash document, saved it and imported video into the document. Created a black background. I Went into the Component Inspector and typed in the path which was just jade2.flv. The skin was correctly entered in the inspector.
3. Created a .swf file.
4. Inserted the .flv into a new Dreamweaver page. Tested it and it worked.
5. I uploaded the .flv, jade2.swf, Skin.swf and jade2.html files to the server into the "Video" folder.
When I tested the page, I got no video. I did get a white box the size of the video on the black background.
Do I have a problem with the path or . . .
Any help would be greatly appreciated. Really!
Thanks to all.
spinDoctor
Progressive Video Player
I am trying to create a progressive player that will detect bandwith and start to play the movie when download wime is less than play time...does anyone know a good tutorial or FLA for this. here is the AS i have so far(it dosent work)
frame 1
stop()
on a movie clip on frame 1
ActionScript Code:
onClipEvent(load){
/*
Calculate approximate kbps after test swf loads
*/
function getkbps(startTime,sizeInBytes) {
elapsedTimeMS = getTimer() - startTime; // time elapsed since start loading swf
elapsedTime = elapsedTimeMS/1000; //convert to seconds
sizeInBits = sizeInBytes * 8; // convert Bytes to bits,
sizeInKBits = sizeInBits/1024; // convert bits to kbits
kbps = (sizeInKBits/elapsedTime) * 0.93 ; // IP packet header overhead around 7%
return Math.floor(kbps); // return user friendly number
}
/*
Load test.swf with a unique time to work around browser caching.
Browser will always load a new copy of SWF because url is different each time.
*/
now = new Date(); // create date object
this.loadMovie("test.swf");
}
onClipEvent(enterFrame){
// do not execute code until SWF begins to load
if(this._url != _root._url){
if(typeof start == "undefined") {start = getTimer();} // set start time once
if(this.getBytesLoaded() < this.getBytesTotal()){ // not yet loaded
_root.statusmsg = "Checking Bandwidth";
}
if(this.getBytesLoaded() == this.getBytesTotal()){ // swf loaded call getkbps()
_root.statusmsg = "Bandwidth = " + getkbps(start,this.getBytesTotal()) + "kbps";
_root.gotoAndStop(2);
}
}
}
frame 2
ActionScript Code:
loadMovie("video.swf", "movie");
(movie.getBytesTotal - movie.getBytesLoaded) = LEFTTODOWNLOAD
_root.movie._totalframes/15 = LENGTHINSECONDS
LEFTTODOWNLOAD/"kbps" = SECONDSTODOWNLOAD
if(SECONDSTODOWNLOAD < LENGTHINSECONDS){
_root.movie.play);}
any input will help
Preloader For Progressive Downloaded Video
Hi,
I have a question re making a preloader for loading external videos in swf format.
According to what I've read on the macromedia site, the video should progressively download. This means that if the bitrate of the video swf is twice the users connection speed then half the swf will load before the video starts to play, right??
If this is the case a simple 'progress bar' component preloader would be misleading as the file would actually start playing at 50%. Ie that the indicated wait is twice the real wait!
Basically what I want to do is to make a preloader which calculates the expected time until the movie starts to play rather than for it to load completely.
Is it worth pursuing this or is the method by which the player calculates the start point too fuzzy or unpredictable at variant connect speeds / bitrates etc etc such that it wouldn't work??
Also, if anyone already has a chunk of code which does this or similar I'd really appreciate not having to reinvent the wheel.
Mitch
Progressive Download For .flv Video Files?
Any way to create a progressive download situation with .flv files similar to what can be done with a Quicktime movie that plays as it downloads?
Incidentally, Is it just me or do flv files download MUCH slower than an equivalent size Quicktime movie?
Preloader For FLV Video(progressive Download)?
I want to create preloader for long FLV video(progressive download), because it run over 10 minutes.
I found tutorial website.
http://tutorialoutpost.com/count/5763
Is it right tutorial for progressive video??
[F8] Loadbar On Progressive Video Problem
Hi
i use progressive video like extension ".flv" also in my computer, my loadbar is loading, but in my server, the loading bar didnt show. i cant solve this problem.
i think i must declare something like mimetype. ?(but this is not mimetype )
anyone help me ?
Progressive Video Download Question
So, I have to upload my video to a web server to preview my website if I'm using progressive download for video? I don' t have a hosting service yet, so I can't preview my site until I get one?
I currently have embedded video, but it runs slowly. I'd like to try progressive, but.....
Video: Progressive Download Vs. FMS Hosting Vs. Red 5
I am creating a Video Production Company's portfolio website, and I want to show high quality videos of the work. I am new to Flash Video, and I was wondering if anyone had any suggestions/preferences for how to play the video. This is a small-scale application with 10-25 videos that would be no more than 2min in length. Ideally, I want the videos to be able play consecutively with minimal delays.
Can you get reliable, steady, high quality video using progressive downloading?
Is Red 5 a good alternative to using FMS?
Is FMS hosting worth the expense?
Video Snapshot With Progressive Download
I'm creating an application were you are able to take snapshots of a video, but have ran into a security error " Error #2123: Security sandbox violation: BitmapData.draw".
So I have done the follow,
1) Tried playing a file locally- FAILED
2) Used the following crossdomain.xml
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFileHttp.xsd">
<allow-access-from domain="*" />
<site-control permitted-cross-domain-policies="all"/>
</cross-domain-policy>
I did find that flash wasn't requesting this file on first load , so i did Security.loadPolicy, but this FAILED also.
3) Tried using netstream.checkPolicyFile=true - FAILED
4) Tried the following hack:
PHP Code:
video.attachNetStream(null)
bmp.draw(videoContainer) // A sprite
video.attachNetStream(netStream)
also tried drawing from the video object directly.
So now neither a video played locally or a video delivered from my server will allow me to take snapshots. After debugging some more I found that my netStream is dispatching "NetStream.Play.Start" twice, I think this might be the problem but I don't see how or why it would be dispatching it twice for a file played locally.
The strange this is that this application was working fine for 2 weeks, Decided to open it up today to do some work and now it wont function like it's suppose to. If anyone has any guidance to this problem it would greatly appreciated.
Thanks
Flash Video Progressive Download
I would like to us a flash video in a web page, and don't want to use streaming. If I use the Flash Video Encoder to make a medium quality video that is about six minutes long, will progressive download work okay, or is it too long to work without problems? If this is too long, what would be a good maximum length to use?
Progressive Video, _alpha Buttons
I'm using progressive video, flvplayback component, cue points, and buttons to move to the 6 different chapters in the video. I would like the buttons to be grayed out (alpha) until their part of the video is downloaded. Does anyone have a script for this or know where I could find one?
Thank you.
Video Snapshot With Progressive Download
I'm creating an application were you are able to take snapshots of a video, but have ran into a security error " Error #2123: Security sandbox violation: BitmapData.draw".
So I have done the follow,
1) Tried playing a file locally- FAILED
2) Used the following crossdomain.xml
quote:
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy xmlns:xsi="
Progressive Video Streaming In Flash 8
Alright, i'm confused as to why this little snippet isn't working. First off, i've been reading 'Macromedia Flash Advanced for Windows & Macintosh" by Russell Chun w/ H. Paul Robertson. Good book, easy to follow, clear and concise.
I successfully embedded a small video and looped it. Yet when I tried to progressively download an .flv using the code examples in the book it didn't work. I beat my head over it for a bit and then simply published the example i was trying to emulate right from the CD-ROM which came with the book. Still didn't work. Here is a link to a .ZIP archive with all relevant files :
www.elgrantos.com/archives/progressiveDownload.zip
Residing on the web server in the same directory are the .swf, .html, and .flv. When the button is pressed within the flash movie, nothing happens. I can't say why that is seeing as I haven't changed any source files.
Help! Please! I can't embed some of the larger videos I have because server access times would skyrocket. Any idea why this isn't working?
Thank you for any insight in advance
Progressive Video: How To Grey Out Nav Buttons
I am using Flash 8. Progressive video, video template from adobe with screens, FLV Playback component. I want to grey out (_alpha) my nav buttons until bytes are loaded to that point so that visitors are not clicking on buttons that won't work yet. I have the following script on a separate layer, frame 1. The alpha won't change. What am I missing? thank you in advance:
//****************greying out buttons
slide6_btn._alpha = 10;
slide11_btn._alpha = 10;
slide17_btn._alpha = 10;
slide21_btn._alpha = 10;
slide23_btn._alpha = 10;
import mx.video.*;
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object):Void {
if (display.bytesLoaded > 2140076) {
slide6_btn._alpha = 100;
}
if (display.bytesLoaded > 3923473) {
slide11_btn._alpha = 100;
}
if (display.bytesLoaded>6063549) {
slide17_btn._alpha = 100;
}
if (display.bytesLoaded>7490267) {
slide21_btn._alpha = 100;
}
if (display.bytesLoaded>8203626) {
slide23_btn._alpha = 100;
}
}
Video Snapshot With Progressive Download
I'm creating an application were you are able to take snapshots of a video, but have ran into a security error " Error #2123: Security sandbox violation: BitmapData.draw".
So I have done the follow,
1) Tried playing a file locally- FAILED
2) Used the following crossdomain.xml
PHP Code:
<?xml version="1.0" encoding="UTF-8"?><cross-domain-policy xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.adobe.com/xml/schemas/PolicyFileHttp.xsd"> <allow-access-from domain="*" /> <site-control permitted-cross-domain-policies="all"/></cross-domain-policy>
I did find that flash wasn't requesting this file on first load , so i did Security.loadPolicy, but this FAILED also.
3) Tried using netstream.checkPolicyFile=true - FAILED
4) Tried the following hack:
PHP Code:
video.attachNetStream(null)bmp.draw(videoContainer) // A spritevideo.attachNetStream(netStream)also tried drawing from the video object directly.
So now neither a video played locally or a video delivered from my server will allow me to take snapshots. After debugging some more I found that my netStream is dispatching "NetStream.Play.Start" twice, I think this might be the problem but I don't see how or why it would be dispatching it twice for a file played locally.
The strange this is that this application was working fine for 2 weeks, Decided to open it up today to do some work and now it wont function like it's suppose to. If anyone has any guidance to this problem it would greatly appreciated.
Thanks
Flash Video - Progressive Vs Streaming
I'm looking to put some lengthier (15-30 minute) videos on the web and serve them in Flash. In the interface, a user will be able to select a video bitrate/quality based on their connection speed. Would a progressive download be able to handle a video of this length? Or is streaming the only way to go? Just curious, as the Macromedia Communication Server Professional price > $4k. From looking at the Sundance Film Festival site, I do know that streaming works quite cleanly.
Flash Video Progressive Download
Hi guys,
Can anyone tell me what the performance overhead is for using progressive download to deliver Flash videos rather than streaming them? I undertsnad that concurrent users is where it starts to have problems compared with streaming, but I can't find any data that quantifies the performance hit.
Anyone out there help?
Cheers,
NickJ
Progressive Download Video Question
Using the MediaPlayBack component in MX 2004 Pro, i have uploaded my .flv to my server, and using the component loaded it into my main .swf. Perfect. Now, is the there a way to do something when the video is done playing? So say, when it's done, the main timeline plays, or something simple. Just don't know how to invoke an action on video complete.
Progressive Video Buffering - MX 2004
I have been playing around with the new Flash MX 2004 video components. Over all, these components look pretty cool but I am unsure exactly what to expect from them.
I have experimented with progressive streaming and have noticed that the components dont seem to cater for buffering.
Buffering only seems to be mentioned under Streaming with the Flash Comm Server.
- Has anyone else had a play with these new components?
- Am i overlooking something with regards to bufferinga progressive stream?
- If this isnt standard functionailty for progressive streaming, any ideas how I can manage it (can i get movie size and preload 20% for example?)?
Any ideas would be much appreciated, or if you are currently working with these new components and have some usefull information in general...!!!
Beginner Progressive Download Video Problem
I can't figure out why my video's won't play online. If I use import video and use progressive download. It al works fine on my computer. I placed everything in the same root folder both on my computer and on the server. If I play the main swf or index.htm directly from the ftp server it also works fine. The problem is when I type in the url of my site it isn't playing. I just get my website without all the video. Because it is playing both on my computer and from the ftp I'm guessing that the realtive location stuff is ok right? I can't seem to figure it out.
I'm on a deadline and I'm not getting anywhere at the moment. It seems like a real beginner problem so I hope someone can help me. It would realy save my day.
Thanks in advance
When Do I Use Streaming Vs. Progressive Download For Flash Video?
Hi there!
I'm new to this forum & kind of intermediate when it comes to flash and the web. Anyways... I'm developing a web TV thing for this client (www.cylinda.se) and they have around 5000-6000 hits/day on their site. The web TV thing will come up as an extra window when you click on a link so every visitor might not visit the tv. The site itself is normal html but the web tv is entirely in flash. There are 4 movies (flv's) in total and each of of them will be 30 seconds. The sizes are between 4-8 Mb in size. My question is:do I need to stream these using Flash Media Server or can I use progressive download for this amount of traffic? Does someone have some experience regarding this? Input would be highly appreciated...
Niklas
Dial-up User For Progressive Download Video
High speed internet is no problem to view big size video(progressive download), but how about for dial-up user??
I want to create flash video for business for all deaf people.
Should I put preloader for progressive download? If so, please help me how to do it!!!! I have been struglling for over 1 months. Thank you!!
FlashMX2004 Video, Streaming/progressive Hybrid
I'm developing a flash video player for MX2004 and I'm faced with making a player that can play both streaming and progressive video from the same interface. Basically it would try to grab the streaming version first and if the server is down, will then load up the progressive version and play that.
Everything can be accomplished quite easily except for the scripting for the seek bar which is much different for streaming than it is for progressive.
I'm wondering if anyone has tried something similar, or maybe knows of an existing player? I'm just not certain where to begin with this.
Flash Video: Preloader For Progressive Download
Hi,
I want to make a preloader bar for an FLV that I load externally into flash. Only, I dont want the preloader to display the download for the entire movie rather I want the preloader bar to display the progress the movie is making towards starting. Here is my code:
function checkBytesLoaded(my_ns:NetStream)
{
//the flv is 17 seconds long and my buffer time is set to 10. I want to get the percentage of the buffertime relative to the total time
var temp = 10/17;
//calculates the amount of bytes that need to download to reach the 10 second point of the video
var pctStart:Number = Math.round(temp*my_ns.bytesTotal);
var pctLoaded:Number = Math.round(my_ns.bytesLoaded/pctStart*100);
loaded_txt.text = Math.round(my_ns.bytesLoaded/1000)+" of "+Math.round(pctStart/1000)+" KB loaded ("+pctLoaded+"%)";
progressBar_mc.bar_mc._xscale = pctLoaded;
if (pctLoaded>=100)
{
_root.progressBar_mc.removeMovieClip();
_root.loaded_txt.text = "";
clearInterval(loaded_interval);
}
}
ok so this runs and the preloader rewaches 100% and then the video is still loading and starts about 3 or 4 seconds later. What's the deal? Is there a better way to do this?
Flash Video Progressive Download Performance
I've rendered a series of Flash Video movies selecting the HIGH Quality, Progressive Download settings.
Even with a cable modem connection speed of 8 Mbps, these movies choke badly on playback.
http://www.reikoproductions.com/
I don't imagine the SWF publish settings have anything to do with this, but I have them set to JPEG Quality 100, and the Compress Movie checkbox is UNCHECKED.
I am presently rendering a set of movies at MEDIUM Quality settings, but I'd like to know why these movies choke like this, with this fast of a connection. I don't know much about the web hosting server these are posted on, but could it be a slow server?
Something in the HTML code I've missed?
Thanks!
Can I Loop A Progressive Loaded Video In Flash?
I have a quicktime movie that's been encoded and imported into Flash as a progressive download since it's about 2MB.
When I play my Flash movie now the video shows up, plays once, then stops at the end.
Is there an easy way to get the video to loop so it continuously plays?
Thanks,
DAN
What Fps For Capturing Analog Video For Flv Progressive Download
I want to use the progressive download technique with Flash MX 2004 Professional, but am getting very poor results. I think it is because I am not capturing my analog video at the proper frame rate and I cannot find any information anywhere (including Adobe Premiere) to help me with this. If anyone out there has done this, PLEASE help me out with this.
Thanks,
Joan
Programmatic Stills From Flash Video FLV (Progressive)
Hi all,
Now, logically I know this isnt possible with actionscript alone (since it would be difficult to grab a still/thumbnail from the 10 sec mark of a video if flash had only downloaded 5 sec of said video), but does anyone have a solution for getting dynamic still from flv files (vis-a-vis the frame at the beginning of all youtube video clips)?
The only thing i can think of is to export a frame from each video I want a still from. That would be pretty cumbersome if I started posting a lot of videos.
YouTube appears to be provide their content via progressive steams and they have a still at the beginning of each clip, so it must be possible somehow :? Anyone have any good solutions for this? maybe via another language (PHP or something)? Any help would be much appreciated!
What Fps For Capturing Analog Video For Flv Progressive Download
I want to use the progressive download technique with Flash MX 2004 Professional, but am getting very poor results. I think it is because I am not capturing my analog video at the proper frame rate and I cannot find any information anywhere (including Adobe Premiere) to help me with this. If anyone out there has done this, PLEASE help me out with this.
Thanks,
Joan
Progressive Video Keeps Playing When I Click To Another Page
Basically I have a video clip in a page on the site. When I click off to another page the audio keeps playing from the stream. How do I stop the video or audio or whichever is still playing when I go to another page? I would have thought it would have been unloaded with the rest of the page. I'm using LoadmovieNum to put a movie on a specific level and replace the movie previously on that level on the site for our pages.
Progressive Download Video Bitrate Matter?
Hi guys,
I'm trying to come up with an answer to whether the bitrate matters when it comes to progressively-downloaded Flash video. I appreciate that if you bump up a video's bitrate then the filesize is going to increase, but aside from this and the fact that if you increase the bitrate it means people on slower connections may have to wait longer before viewing any video, does the bitrate matter if serving the content over HTTP (i.e. not streaming)?
It's not the case that if you have two different video files; one is encoded at 256kbps, the other at 512kbps and BOTH are 2MB in filesize, that it costs more regarding bandwidth to serve the larger bitrate file, is it? They both get served from the master server at the same speed, don't they?
I need the answer today if possible, sorry to act impatient. Any help is much appreciated...
Difference Btw Progressive And Flash Streaming Server Video
I am wondering the difference between importing a video via Progressive Download and Flash Media Server.
Does the Progressive download mean that the file has to be completely downloaded before it will play or it will buffer some and start playing? If the latter, then why put stuff on a Flash media server?
I Want The Swf With The Progressive Flv In It To Load When I
I want the swf with the progressive flv in it to load when it´s finish another swf.
I have gone through your tutorials on video. But i can´t figure out how to load another swf. See the bold code below. Please help me!
if(info.code == "Netstream.Play.Stop") {
_root.container_3.loadMovie("supermarket_entre_10.swf");
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(3);
ns.onStatus = function (info) {
if(info.code == "Netstream.Buffer.Full") {
bufferClip._visible = false;
}
if(info.code == "Netstream.Buffer.Empty") {
bufferClip._visible = true;
}
if(info.code == "Netstream.Play.Stop") {
//_root.container_3.loadMovie("supermarket_entre_10.swf");
}
}
theVideo.attachVideo(ns);
ns.play("0214.flv")
playButton.onRelease = function() {
ns.pause();
}
rewindButton.onRelease = function() {
ns.seek(0);
}
var videoInterval = setInterval(videoStatus,100);
var amountLoaded:Number;
var duration:Number;
ns["onMetaData"] = function(obj) {
duration = obj.duration;
}
function videoStatus() {
amountLoaded = ns.bytesLoaded / ns.bytesTotal;
loader.loadbar._width = amountLoaded * 257,2;
loader.scrub._x = ns.time / duration * 257,2;
}
var scrubInterval;
loader.scrub.onPress = function() {
clearInterval(videoInterval);
scrubInterval = setInterval(scrubit,10);
this.startDrag(false,0,this._y,252,this._y);
}
loader.scrub.onRelease = loader.scrub.onReleaseOutside = function() {
clearInterval(scrubInterval);
videoInterval = setInterval(videoStatus,100);
this.stopDrag();
}
function scrubit() {
ns.seek(Math.floor((loader.scrub._x/252) * duration));
} :shock:
|