How to play video repeatedly and with no audio

Hello all,
I use the following code to play video in Flex:
public function startPlayback(event:CairngormEvent) : void
     if (model.nsDemoRemotePlay != null )
                               * Stop and close previous NetStream.
                              var demoStopStreamEvent :VCDemoStopStreamEvent = new VCDemoStopStreamEvent();
                              CairngormEventDispatcher.getInstance().dispatchEvent(demoStopStreamEvent);
                    nc.connect(null);
                     * Setup NetStream for playback.
                    model.nsDemoRemotePlay = new NetStream(nc);
                    model. nsDemoRemotePlay.receiveAudio( false );
                    model.nsDemoRemotePlay.client = this._responder;
                         model.videoRemote = new Video(model.videoRemoteWidth, model.videoRemoteHeight);
                         model.videoRemote.attachNetStream( model.nsDemoRemotePlay );                    
     model.nsDemoRemotePlay.play("assets/videos/Demo.flv");
I have two questions:Could anybody please help me in answering these.
1. Is it possible to play a video without audio? I used receiveAudio( false ) with NetStream object. But audio is still there.
2. How can I play a video play repeatedly? I want to play video repeatedly and stop it only when a Stop event is fired.
Thanks.
roshni.

NSObj.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
public function netStatusHandler(event:NetStatusEvent):void
     switch(event.info.code)
          case "NetStream.Play.Start" :// your code
                                                     break;
          case "NetStream.Play.Stop" :// your code 
                                                     break;
}//end of netstatus handler function
I hope my post will answer your question or helps

Similar Messages

  • How to play a mp4 movie with DTS audio?

    Hello,
    I try to play a mp4 movie with DTS audio on the z1 player but i dont get any sound...I also have downloaded the app mx player, but this also wont play the dts audio. Any suggestions?
    Thanks,
    Edy

    http://forum.xda-developers.com/showthread.php?t=1831111
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • How to play videos in JSP with the helping of StoreProcedure?

    and more,how to converse the avi,dat,mpg,mov,wmv format into rm format??

    Under "General" in iTunes Preferences, does "Play
    Videos in.." allow you to set the playback of videos
    as you desire?
    kind of. It does spawn a new window, which is great (thanks!). But it seems to be at a lower resolution - does iTunes compress further or display at lower res? What is the function that people are supposed to be able to use to use iTunes as a media center to watch movies?

  • How to play videos in normal quality in youtube as it is always buffered in hq and there is no option to change quality??

    how to play videos in normal quality in youtube as it is always buffered in hq and there is no option to change quality?? problem because i hav network speed upto 512kbps and hq videos are nt buffered properly in it..

    macalltheway wrote:
    What a bummer.
    Now I'm stuck with a just-about useless camera. I really need something as small as the FH1 (it's TINY).
    Hard-drive camcorders record MPG2, which I assume makes them just as useless.
    Is then MiniDV the only choice for a sub-$500 1080i/p camera that will allow me to edit footage without converting?
    If so, any tips on the smallest one out there?
    Google came up with Sony's DCR-PC55, but it's four years old and only does SD...
    Do you want good OR do you want cheap? That is the decision you need to make. Also, tiny tends to be the opposite of good.
    P.S. AIC converted it best; ProRes(Lo/HQ) left it pixelated for playback. But it takes about an hour a minute, and increases the file-size tenfold, so it's no good anyway.
    Yes, your actual editable video file is going to be 10x bigger than a MPEG-4 file. That is what you want.
    P.S. 2 "....FCP is converting your video behind the scenes which is causing all your problems."
    If that's the case, then my oldish MacBook Pro (2GHz Duo, 2GB RAM) has enough juice to play the 640x480 MPG4 clips smoothly, but not the HD ones. Could the latest MacBook (2.5/6/8GHz, 8GB RAM) could play the 1080p30 clips smoothly?
    No, you still have the same problem. MPEG-4 files are non-editable. You really need to convert to an editable format and then bring that into FCP. MPEG Streamclip is going to be your best choice.

  • How to play video files that are in Drop box on iPod?

    How to play video files that are in Drop box on iPod?

    I am going to have to write a technote about this, because it comes up a lot.
    Flash Player itself is designed to play SWF content as a browser plugin or as an ActiveX control (when it's IE Windows).
    There is a standalone Flash Player, but that's something Adobe  provides directly as a feature of Flash CS4 Professional. It gets installed with Flash. We have made some standalone players available on http://www.adobe.com/support/flashplayer/downloads.html, but not all (and I don't know why.  Looking into it)
    There are numerous 3rd party standalone SWF players out there though.  Some designed to just play video, others that play full SWF. I suggest a google search of 'play SWF standalone' and read the results.
    On the Mac, consumers who want to play SWF content off their desktop can use the Adobe Media Player. You can import a local SWF (and FLV and other video) and play it in AMP.  Get it here:
    http://www.adobe.com/products/mediaplayer/
    That's Mac only, doesn't work on Windows.

  • I cant play videos on Facebook with Firefox but I can with IE. I am using Firefox 4.0.1

    I cant play videos on Facebook with Firefox but I can with IE. I am using Firefox 4.0.1

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • You Tube not playing video on Firefox with Adobe Flash after latest update

    You Tube and other sites are not playing video on Firefox with Adobe Flash after latest update for both. Adobe Flash is working on other sites but not You tube and those sites that may have embedded You Tube videos, I'm not sure.
    Adobe Flash does not crash and no error message is showing. All that shows is a dark screen for the Flash video. Right clicking the screen shows only a non-clickable 'Movie not loaded' and the clickable link to the Adobe home page.
    I have spent an hour trying things as suggested for past problems similar to this but none have helped.
    I have sent sad face letting you know what I think of the latest update because of this which says pretty much the same thing as I have said here.
    I have no further info but if I had some input and queries form you I might be able to provide more.

    I'm not sure how to remove the 12.xxx version,. I don't understand why it is there, usually updates over wirte the old one as far as I know. I don't know where to find it.
    pref .js deleted.
    I could not find a user.js
    I disabled hardware acceleration on one of them, not sure which and I don't remember how I did it but think it must have been on the flash.
    No idea what protected mode is
    no new profile, I've never done this.
    Ok, did what you have said as much as I could. I have been fidgeting with things now for a couple hours. After doing a CCleaner and Registry cleanse, turning off and restarting the computer, the videos are now p-laying.
    I would still like to know how to find and get rid of the duplicate Flash plug in though if you would't mind.
    Thanks for the help.

  • How to play videos in Nokia C2-02 ?

    could u pls help me how to play videos in c2-02 mobile?
    Moderator's notes: The post was edited. A more appropriate subject is provided.

    If you want to play videos present in your pc on your phone, they must be converted to phone supported resolution.
    You have to convert the high resolution videos to low resolution 320X240, MP4 format.
    You can do so with Format Factory software for PC.
    Get it at www.pcfreetime.com
    Any further help, feel free to ask.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

  • How to play videos in 5300 help?

    How to play videos in 5300 help?

    01-Sep-200705:33 PM
    sushjames wrote:
    How to play videos in 5300 help?
    Hi sushjames
    Need to be in one of following formats:
    3GPP formats (H.263)
    H.264/AVC
    MPEG-4
    These links may help you:
    http://www.forum.nokia.com/main/resources/technologies/audiovideo/
    http://www.forum.nokia.com/devices/5300
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Is it possible to play videos or clips with the appletv from an Time Capsule direct without other hardware?

    I want to play videos, movies and music-clips (either mp4, other formats or out of an itunes-db) on my appletv without using other hardware than the apple tv an the Time Capsule (except the tv ;-) ). Is it possible to stream direct from the Time Capsule? With other and even cheaper NAS-Storages is it possible, eg. with the ps3 ...Thanks for help.

    The TC from the day it was introduced until today.. has got a bigger hard disk and gained dual band wireless.. but nothing substantial.. it is not a NAS and has never been more than a target for TM mostly laptops as any desktop Mac can have an external drive for backups cheaper and faster than TC.
    Many people were disappointed that Gen4 was a nothing upgrade. it is just a Gen3 with a different wireless card. Don't know if there will even be a Gen5 as Apple seems to see Cloud as the answer for remote storage. I would not be surprised if it was dropped completely. But who knows.. Apple sure don't let any secrets out of the bag.
    And for the AppleTV 3 there is no JB or other things possible at this moment?
    Not yet.. we are awaiting as some major effort is being expended. There is a hack just recently for the ATVv2 with v5 of iOS.. so the v3 may not be far behind.. v2 are commanding high prices at the moment on ebay though.. near to double purchase price when they sold out before v3 arrived.. as people discover their TV watching plans are now in tatters. Or their library of movies is no longer accessible.

  • How to play videos from cnn?

    how to play videos from cnn?

    cnn.com   listenlive.eu    sites for news and music but its saves on phone and can't open it. I think they are in wmp.   is there a player that play and open different formats?

  • I make videos using my go pro hd camera, but when i export it only half of my 3 min video shows up with the audio playing in the background, plus when i try to select the quality in the export options it won't let me select 720p or 1080p?????? help!!!

    i make videos using my go pro hd camera, but when i export it only half of my 3 min video shows up with the audio playing in the background, plus when i try to select the quality in the export options it won't let me select 720p or 1080p?????? help!!!

    What you could do now is break up your video into smaller parts and render them out, then assemble them again as a whole.
    I know this is not the best fix, but it might work.
    You can duplicate an edit in the main screen, then delete the last bits and export,
    do the same for the other half.
    Then import the two bits (or more if you need) in a new edit.
    Out of curiosity, can you post what format the video is in?
    Copy a video straight from the camera to your computer.
    Open it in Quicktime player, and with out playing type Apple + i
    or Control + i for PCs
    It should tell you lots of info about the video, and might help us to see what is wrong.
    This is what it looks like:

  • How to play video .flv on Mac OS X?

    How to play video .flv format on Mac OS X?

    Install VLC or both Perian and the QuickTime 7 Player.
    (110478)

  • How to play videos in other formats other than mp4 in ipod touch.

    how to play videos in other formats other than mp4 in ipod touch.
    I have tried an app named VLC streamer. But I never knew how to use it...
    Can someone suggest anything else?

    Under "General" in iTunes Preferences, does "Play
    Videos in.." allow you to set the playback of videos
    as you desire?
    kind of. It does spawn a new window, which is great (thanks!). But it seems to be at a lower resolution - does iTunes compress further or display at lower res? What is the function that people are supposed to be able to use to use iTunes as a media center to watch movies?

  • How firefox play video in youtube?

    if not installed flash player, how firefox play video in youtube?

    Unfortunately not all HTML5 videos work in Firefox, so you may still need the Flash player.
    You can find the 32 bit version of the Flash Player installer for a 32 bit Firefox version here (scroll down to Flash Player (32 bit)):
    * http://www.adobe.com/special/products/flashplayer/fp_distribution3.html

Maybe you are looking for

  • Crawl Problems in H.264

    Greetings. I just exported a 5-minute sequence from HDV 1080i to H.264 (not with Compressor). The .mov file when played back has problems. The images sometime move clumsily across the screen. The crawl portions, which contain English text in Helvetic

  • Workarea in dynamic select-statement

    Hello ! i hope i can get some help... it should be possible to do a dynamic select like this:     SELECT * FROM (S_TABLE) INTO WA_TABLE. but my Problem is: how can i define (dynamic) the wa_table? it should be the same structure like the table i sele

  • Can't connect to gmail

    my ipad has quit connecting to gmail - any advice?  It seemed to stop doing this without any changes having been made to the ipad or the gmail account.  I have tried deleting the account and setting it up again. 

  • Scr8-pdfexportdriver.zip

    I bougth Crystal Reports 8.0 and in this moment I need the file scr8-pdfexportdriver.zip, which I didn't find in this portal. I knew that this kind of files were in Portal Business Objects without suscription, I want to know where I can find these fi

  • Wrong Invoice reverse date

    Hello, according to update profile settings invoice is posted to FM by due date. When posting invoice reverse due date is copied into reverse document, but into FM reverse document is posted by posting date. So I have problem, when Invoice was posted