How to halt http progressive download in FLVPlayback?

Hi all you Flash video experts,
I'm building a CD-ROM presentation with a lot of videos,
divided in 10-12 sections.
I want to use the same FLVPlayback component to show all of
my videos. (with differents active VideoPlayers)
To initialise the thing, I loop in sequence that looks like
that:
1- increment the activeVideoPlayerIndex
2- set the contentPath to the next FLV (http progressive)
3- catch the event READY, wich is dispatched when the
buffertime have been reached
4- go to step 1
On my local drive, it's working like a charm, but I will have
to put that on the web eventually, so it wiil not work.
What I need to do, is when i catch the event READY, I would
like to halt the download in the activeVideoPlayerIndex in order to
optimise this initialisation process.
I have try this (in step 3 in example above):
myFLVPlayback.ncMgr.close();
but it does not do what I want. (all activeVideoPlayers
continue and finish there own download and the playhead never
starts)
Can I change the class mx.video.NCManager to help me on
this?!
Any idea is welcome.
Thanks!

Hi,
     Did you checked the below blog
/people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
which details the implementation of using java
HTH
Rajesh

Similar Messages

  • How do I force progressive download?

    I have an Adobe Media Server all set up and playing videos over RTMP.
    Users on low bandwith settings experience buffering, on occasion. To combat this, I want to force users to download the entire video before they watch any of it.
    Through my research, I've found that "Progressive download" is the way to go if I want to do this, though I haven't found how to enable or access this on the server.
    How do I force progressive download?

    I am in control of the client. I'm using the Strobe Media Playback, and alternatively, a simple flash client using netConnection and netStream.
    How do I set it on the client? Is it a change of "rtmp://" to "http://", or do I have to change a flashvar setting or what?
    And if I set progressive download on the client, would it be different than using HDS or HLS?
    In my http.conf, what I changed is:
    Under <Location /hls-vod>
         HttpStreamingContentPath
        from "../webroot/vod" to "../applications/recorder/streams/_definst_"
    All of my videos are in that directory.

  • HTTP Progressive Download

    Hi,
    We tried to stream from FMS 3.5 flv files through HTTP,
    How can we prevent Progressive download when we stream flv via HTTP?
    We tried some configuration but it seems that files are always download to the local computer temp folder
    Can someone point to documentation that explain how to stream flv without Progressive download ?
    Regards,
    Kobi Shalom

    If you're already running IIS, there's no reason to use the included Apache installation.
    Apache isn't really an integral part of FMS, and IMO, really shouldn't be part of the FMS distribution. When FMS encounters an HTTP requests, it forwards that request to a port defined in fms.ini (8134 by default). If you need to support HTTP redirection from FMS, you could just as well use your existing IIS.
    The only benefit I see in using the included apache installation is if you don't already have an httpd server running, and you want to serve both streaming and progressive video. Beyond that, I see no reason to use (or even install) Apache.

  • Cancel progressive download with FLVPlayback

    I have created a SWF file with three main sections.  Each section has at least one video that is viewed using the FLVPlayback component.  In order to reduce bandwidth, and unnecessary processes in general, I want the videos only to load if the user is currently viewing that section.
    The first part is simple enough – only call the source method for the FLVPlayback until the video is needed.  Great, works fine.  However, problems arise in cancelling the download.
    I have searched the Adobe documentation, and it seems almost impossible to stop a progressive download using FLVPlayback.  (To be honest, I am using FLVPlayback simply so I don’t have to build my own player.  It’s a whole other level of complexity that I simply do not want to get into unless ABSOLUTELY needed.) 
    The Adobe methods that actually stop streams (closeVideoPlayer(), etc.) render the FLVPlayback instance useless once called.  I was looking for a way to stop a download AND be able to use the FLVPlayback instance again.
    So, I did some searching a came across the following script:
    http://pastie.org/310174
    To test it, I created a simple file (the AS is below) with only an FLVPlayback component and a button on the stage.  The button is connected to a function that clears the video and then resets the FLVPlayback instance to play the file again.
    Everything works (play, pause, volume, etc.) EXCEPT that after button has been clicked and the reset function has been called, clicking the component’s stop button “breaks” the player.  The seekbar displays its streaming mode and clicking on any other button inside the player does nothing.  (I could not recreate the problem in the Flash IDE (imagine that!), but it persistently appears when testing in a browser.)
    Being relatively new to AS, I really have no idea what is “under the hood” in the FLVPlaybackUtils class file.  What can I do to correct this problem?  Is there a better way to go about this?
    Any help would be greatly appreciated.
    import fl.video.*;
    import FLVPlaybackUtils;
    myFLVPlayback.autoPlay = false;
    myFLVPlayback.autoRewind = true;
    myFLVPlayback.fullScreenTakeOver = false;
    function onClick(event:MouseEvent):void
                    myFLVPlayback.addEventListener(VideoEvent.AUTO_REWOUND, clearVideo);
                    myFLVPlayback.stop();
    button.addEventListener(MouseEvent.CLICK, onClick);
    function clearVideo(event:VideoEvent):void
                   myFLVPlayback.removeEventListener(VideoEvent.AUTO_REWOUND, clearVideo);
                    FLVPlaybackUtils.reset(myFLVPlayback);
                    resetVideo();
    function resetVideo():void
                    myFLVPlayback.autoPlay = false;
                    myFLVPlayback.autoRewind = true;
                    myFLVPlayback.fullScreenTakeOver = false;
                    myFLVPlayback.source = "http://myFLVPlayback.url.example";

    As always, thanks for your help.
    I realized that as long as I retain an "empty" video player (one without a specified source) as the default player, I can add and delete other video players at will without "losing" the information associated with the parent FLVPlayback component.  So, in this particular case, there is no need re-instantiate.
    closeVideoPlayer( ) works great for the rest.
    Thanks, again.

  • HTTP Progressive Download or HTTPStreamingNetLoader

    I have a  video is returning true for getTrait(MediaTraitType.SEEK) but false for canSeekTo(sharedCurrentTime).
    Must this mean that I am using "HTTP Progressive Download' - please correct me if I am wrong.
    If I have a HTTP video that I want to 'seek' to any part of ( once the seek trait is true ) then I should
    be using HTTPStreamingNetLoader? Am I right on that last point - I know its a 10.1 feature only.
    regards

    The canSeekTo method can return false (even when the SeekTrait is present) if the value passed-in is for a portion of the video which can't be played yet, e.g. if you tried to seek to part of a progressive video that hadn't downloaded yet.  It's unlikely you'd be using HTTP streaming without knowing about it, since you'd need to be in the Zeri prerelease program and working with an HTTP streaming server (or CDN).

  • No progressive download for H.264?

    I was encoding a 6 minute video for web delivery in H.264 and it appeared that there is no provision for encoding for Fast Start or other setting to allow progressive download.  The 6 minute video compressed in H.264 to about 30MB and was only downloadable off our web host as a full download. This required about 20-25 seconds on cable modem.  Not a satisfactory result!
    Does anyone know how to set for progressive download?   I had the same experience when encoding into the variations in QuickTime.
    This is crazy. If this is not currently possible, does anyone know if Adobe is taking steps to remedy?  Is this remedied in CS4?  I have heard reports of excessive crashing in Premiere CS4 so I have been reluctant to upgrade.
    Regards.
    Jeff

    For a meaningful comparison, would you not have to view the same video, 
    encoded at the same bit rate for each format and in the same frame size and 
    frame rate?
    I am not the expert here, but it seems to me that this condition would 
    have to be met to farily compare. Easily done of course if you provide your own
    video for comparison, and that is exactly what I am trying to do.  Can QT 
    Pro output an H.264 in MPEG-4 as well as QT wrappers?
    I am going to experiment with both formats as well as Real Media and 
    Windows Media at similar settings.  I do not have a program to simply  encode
    swf's without taking a few extra steps. It is cumbersome. To my  knowledge,
    flv's need to be embedded into a web page or otherwise incorporated  into a swf
    to be widely viewable.  While I have a few players which can  play flv's
    directly, these are not as widespread as QuickTime or Real  Player.  Not sure,
    but I think that Window's Media Player can play  QuickTime files.  I do not
    try this too much so I am not positive.
    Thanks for the help and best wishes.  I will probably bite the bullet  for
    QT Pro in the next day or so. I think it is only around $30.
    Jeff
    In a message dated 7/23/2009 5:39:49 P.M. Eastern Daylight Time, 
    [email protected] writes:
    Than  H.264?!  That has certainly never been my experience.  My personal 
    computer stumbles on several H.264 files because it just ain't powerful 
    enough, but has never once failed to play a Flash video streamed from a web 
    site.
    **************Dell Deals: Treat yourself to a sweet deal on popular
    laptops! (http://pr.atwola.com/promo
    clk/100126575x1223100673x1201716527/aol?redir=http:%2F%2Faltfarm.mediaplex.com%2Fad%2Fck%2 F12309%2D81939%2D1629%2D7)

  • Can we do progressive download Adobe DPS folio implementation?

    Hi,
    I wondered anyone can let me know how we can do progressive download funionality.
    Regards,
    Mufeed Ahmad

    Thanks for well explained answer.
    But if it comes automatically then why do we use below code in "config.js":
    //this is the spinning loader gif that appears on a button when a folio is downloading
    //created at ajaxload.info
    var downloadingSpinnerURL = 'ajax-loader-1.gif';
    Thanks,
    Mufeed Ahmad

  • How to Load Progressive-Download Video just when I press Play?

    I have set the Progressive-Download video instead of Streaming-Video (because my webserver provider "aruba.it" doesn't offer
    streaming videos), in Flash CS4 Professional, and exported to Dreamweaver CS4.
    I have also inserted the HTML code in Dreamweaver CS4 to enable FullScreen Playback of Flash .flv Videos.
    Now I have a problem:
    - When the webpage loads into Internet Explorer 7, it take much time to load all the videos at same time!
    Thus I want this:
    - I want that the videos start to load just when I press the Play button, individually, not at same time.
    - I don't not want that start the load immediately when the webpage opens in IE7.
    - I want that the videos start to load content in the same manner of YouTube videos, just when I press play.
    How can I do?
    What is the HTML code that I should insert into DreamweaverCS4?
    I have seen this help page:
    http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#lo ad()
    At Chapter "Public Methods" I have seen this "load" function:
    "Begins loading the FLV file and provides a shortcut for setting the autoPlay property to false and setting the source, totalTime, and isLive properties, if given..."
    Can be useful this function?
    Horsepower0171.

    Excuse me, I am a beginner user of FlashCS4.
    OK!
    StepByStep:
    My site is http://www.cavallodario.it. Please see the third top section called "Sezione 3D">Maya>the last bottom video on the page is published as Streming video (I think)...
    There, are all the videos.
    I have understood that YouTube video is http streaming.
    Instead, in FlashProCS4, I have seen a second Option after ImportVideo Menu (is Flash Media Server streaming?):
    1) "Sul Computer" (on the Desktop, local); NOT CHECKED
    2) "Già distribuito su un server Web, Flash Video Streaming Service o Flash Media Server"; CHECKED and selected the URL: http://www.cavallodario.it/filmati_Maya/flv/Wagon_01_PAL_Letterbox.flv
    > Next > SkinBar with Fullscreen Button (called "SkinUnderPlayStopSeekFullVol.swf") > Next > End.
    But I have a doubt if this is a streaming function:
    -After published the webpage via FTP with Dreamweaver, in IE7 browser the loading progress bar appears immediately, and loads the video when the webpage appears, not when I press Play Button!
    Why this?
    How I can do to load the video just when I press the Play button?
    - I have seen the "NetConnection / NetStream" classes in the FlashCS4 Help, but I am a confused beginner user and I don't want write an ActionScript code to build a custom navigation bar.
    Please response me!
    Thanks!
    Horsepower.

  • How do I track doc download progress using jQuery UI progress indicator?

    How do I track document download progress using jQuery UI progress indicator?
    I'm looking at downloading a zip file in response to the onclick event in a jQuery button. I'd like to show the download progress on the page.
    I'm working with users who may not be Web savvy and need to know something is happening. Also, they may be on lower bandwidth connnections, so even a small zip file could take time to download.

    Darn it, another senior moment.
    Here is the link http://www.ultramegatech.com/blog/2010/10/create-an-upload-progress-bar-with-php-and-jquer y/
    Gramps

  • AS2 - FLVPlayback progressive download video doesn't play until fully downloaded, and sometimes it d

    I'm loading video content paths from an external XML file into the FLVPlayback component. The issue I'm having is that the progressive download action is so inconsistent, sometimes it plays the video right away as the video is playing, and sometimes it does not play the video at all until the entire video is completely loaded. I would like to have the video play right away as the video is downloaded. I'm banging my head against the wall on this one. Any ideas?
    /*--- autoplay is checked in the components inspector ---*/
    playback1.contentPath = getNodeValue(findNode(videos, "one"));

    Anyone?

  • Progressive download. How to?

    Hello!
    I need to enable visitors to my web site view video and listen to audio files. I learned from some articles on the internet that there are two ways to achieve it:
    1.     Real time streaming
    2.     Progressive download
    Are there any examples of progressive download in Java? If I understand it correctly use of JMF is not a very good approach in this case because visitors would need to have JRE and JMF installed on his machine before he can play media files and it is quite large amount to download and install. Is there a better/cost effective solution/approach to realize progressive download than JMF?
    Thank you very much.

    Yes, JRE is on most PCs nowdays but not in CIS
    (former Soviet Union Countries). Aaah.. that was dumb of me. I had been lulled
    into a 'false sense of security' by seeing my sister
    buy computers for her kids recently, and they all
    had Java pre-installed. I was not thinking of "legacy
    and older PC's", sorry.
    If JMF is used for Progressive Download are
    there articles or tutorials, hints online on how
    to implement it correctly? And on that matter, I will just add that I only
    commented on the parts of your original
    message about which I (thought I) knew
    something. I had never heard of "progressive
    download" before your post!
    Perhaps other folks can help you more..

  • How to disable progressive downloads

    We have FMS interactive configured to do RTMP and HLS streaming. However the clips still can be downloaded through http://domain.name.com/vod folder. Is there a way to disable progressive downloads? While at it is there a way to disable HDS also? I want to allow HLS and RTMP only.

    Reason for your data available for progressive dowload is because its there in webroot. Webroot/<extendend-path> is by default available to any client via http://server-name/<extendend-path> unless you have taken measures to protect it inside Apache's httpd.conf.
    You can do one thing. Keep your content outside Apache's webroot. Say C:/myvideos/. for example there is a video there sample.f4v i.e C:/myvideos/sample.f4v
    Now you can change the location "HttpStreamingContentPath" pointing to from "../webroot/vod" to "c:/myvideos/" under hls-vod inside httpd.conf (Apache/conf)
    <Location /hls-vod>
        HLSHttpStreamingEnabled true
        HLSMediaFileDuration 8000
        HttpStreamingContentPath "C:/myvideos/"
        HLSFmsDirPath ".."
        HLSJITConfAllowed true
       Options -Indexes FollowSymLinks
    </Location>
    Or you can disable(modify) content availibilty by making appropriate changes unders in httpd.conf
    <Directory "../webroot">
        Options -Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    To disable HDS-Live, set "HttpStreamingEnabled" to false under hds-live location directive
    <Location /hds-live>
        HttpStreamingEnabled false
    To disable HDS-vod, set "HttpStreamingJITPEnabled" to false under hds-vod location directive
    <Location /hds-vod>
        HttpStreamingJITPEnabled false
    To disable HDS-vod offline fragmented content, set "HttpStreamingEnabled" to false under vod location directive
    <Location /vod>
        HttpStreamingEnabled false
    You need to restart the Apache server after making the changes to get them reflected next time..
    Hope it help

  • How do I get the download window in iTunes 11?

    Hi there,
    Back in the iTunes 10 days (ie last week) there was an option for a download windowin the sidebar that popped up when you were downloading things - eg podcasts from the iTunes Store. If you clicked on it you got a new window showing what you were currently downloading or what was in the queue to be downloaded. This doesn't seem to appear in iTunes 11 - is there a setting that I can change to get this back?
    When you are downloading over 10 podcasts each day it is helpful to leave it on that list so you have an idea of what is coming through the feeds, and possibly delete a few episodes from an ongoing subscription if they didn't sound interesting. Now it seems that you have to hover by your PC to see what comes up at the top of the screen, which is a bit stupid.
    Any clues on how I can get the download page back, or whether there is some alternative way you can look at a list of recently downloaded podcasts by date (other than by looking at the "unplayed" list - I've got over 600 unplayed episodes).
    I suspect that this may  be a really stupid question with a really simple answer. Please, let me have it - I'm stumped!
    Any suggestions welcomed.
    Cheers, TF

    I found this article with the explanation on how to find this again.  In the upper right corner of itunes (only when an item is downloading) you will see a downward facing arrow inside a gray circle with a blue status bar type line below it.  If you click that it will show you your downloads progress.
    Link: http://www.cultofmac.com/204589/find-the-download-manager-again-in-itunes-11-os- x-tips/

  • FLV Progressive Download SeekNavCue

    Hello! I have been working on this issue for a couple days
    now and cannot seem to find the resolution. I have a flash movie
    that includes three FLV files that are progressively downloaded. I
    have no problems playing them, but when I get to a certain point in
    one, I want to switch to the other, but start the second FLV at a
    certain cue point. The test works when I play from my hard drive,
    but Since the files are progressive download, they don't jump to
    the correct cue point when viewed online. Any suggestions on what I
    should try next? My code for the FLV switch is below:
    This is on the first frame (checks to see if the root var is
    set to 1, if not then it should jump to a specific point in the
    FLV):
    import mx.video.FLVPlayback;
    var pam_vid:FLVPlayback;
    if (_root.link == 1) {
    pam_vid.play();
    if (_root.link == 2) {
    pam_vid.seekToNavCuePoint(repeatStory);
    pam_vid.play();
    This script is put on the last frame (detects when the video
    file is done playing, then jumps to frame 1 and checks the root
    var):
    import mx.video.FLVPlayback;
    stop();
    var listenerObject:Object = new Object();
    pam_back.addEventListener("cuePoint",listenerObject);
    listenerObject.cuePoint = function(infoObject:Object):Void {
    if(infoObject.info.name == "cue2"){
    trace("cue2");
    _root.link = 2;
    gotoAndPlay(1);
    thanks,
    Christy

    It's a snap with Flash 8 Pro. You just attach a skin to the
    FLV with all the components (such as volume, mute, play, and pause)
    and your good to go. Not sure how it works with earlier versions of
    Flash.

  • Skip to a point in progressive download mp3 before downloaded

    Is it possible these days to skip to a point within a progressive download mp3, before this point has preloaded, similar to what i'm seeing with video players such as youtube? in the past, i've used FMS to achieve this, was wondering how people achieved this without using a streaming server.

    Actually i think my questions are answered here: http://flowplayer.org/plugins/streaming/pseudostreaming.html
    It's talking about movies but i assume the same applies for mp3s. Thanks peoples!

Maybe you are looking for

  • HP Pavilion DV6-2025sl Bios Recovery

    Hello Everyone, Sorry For My Bad English. i have a notebook hp pavilion dv6-2025sl wiwh a problem. the PC startup but the screen is black and the led of keyboard light 2 time ( i read on hp site this is a problem with a bios). I try with same method

  • Dual 17" Displays

    I presently have a Dual G4 with two 17" Apple Monitors connected and running side by side. I'm looking to purchase a Mac Mini and was wondering if there was any way to continue to use both of these monitors with that machine?

  • Saving image as JPG

    Hi all, after editing my photo in Photoshop I save as JPG but later when I open it, it automatically opens Photoshop everytime which I don't want to do.  What am I doing wrong? Thanks so much for your advice. Louise

  • Datafile Lost but no backup available

    Version:11g We are archivelog mode. We inadvertantly lost a datafile and due to some reasons the RMAN backup is not accesible. But all archived logs are available. Is it possible for me to recover the datafile?

  • Songs play and timer runs, but no sound?

    My ipod (5th generation) starts playing a song and sounds great, but about halfway through a song it starts to sound crackly and then the sound cuts out all together. The timer for the song continues to countdown. This has happened for both the headp