StageVideo available but not playing on iOS

I have made a sample application where I use StageVideo. The StageVideo is available but it is not showing up in the view, neither any audio is being played.
Any idea what might be wrong?
Thanks

Yes I am able to resolve it and it is working on ipad3 .BTW stagevideo doesn't work on desktop
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageVideo. html
"The StageVideo class is not supported in the AIR desktop or extendedDesktop profiles."
Following code will work on iOS devices with renderMode set to "direct" :
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" backgroundColor="0x000000" backgroundAlpha="0"
                    creationComplete="onCreationComplete()"  xmlns:mx="library://ns.adobe.com/flex/mx">
          <fx:Declarations>
                    <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
          <fx:Script>
                    <![CDATA[
                              import mx.core.UIComponent;
                              private var container:UIComponent;
                              public function onCreationComplete():void
                                        this.actionBarVisible = false;
                                        this.tabBarVisible = false;
                                        NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
                                        this.addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
                              private function onAddedToStage(event:Event):void
                                        stage.addEventListener( StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY , stageVideoState );
                              protected var stream:NetStream ;
                              protected function stageVideoState( e:StageVideoAvailabilityEvent ):void
                                        var available:Boolean = e.availability == StageVideoAvailability.AVAILABLE ;
                                        if ( available )
                                                  var nc:NetConnection = new NetConnection() ;
                                                  nc.connect(null) ;
                                                  stream = new NetStream(nc) ;
                                                  stream.client = this ;
                                                  var video:StageVideo = stage.stageVideos[0] ;
                                                  video.viewPort = new Rectangle( 100, 100, 500 , 500 ) ;
                                                  video.attachNetStream( stream ) ;
                                                  stream.play( "http://www.overdigital.com/video/Hillman_720p23.976_2400kbps.mp4") ;
                              public function onMetaData( info:Object ):void
                              private function handleActivate(event:Event):void
                                        NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
                              private function handleDeactivate(event:Event):void
                                        NativeApplication.nativeApplication.exit();
                    ]]>
          </fx:Script>
</s:View>

Similar Messages

  • I have ios7.1.2 on my iphone and am trying to upgrade to 8.0.2. I haven't installed 8 yet and when I try and upgrade nothing happens.  It says just the improvements from 8 are available but not the whole ios.  What to do?

    I have ios7.1.2 on my iphone and am trying to upgrade to 8.0.2. I haven't installed 8 yet and when I try and upgrade nothing happens.  It says ios8.0.2  improvements from 8.0.1 are available but not the whole ios.  What to do?

    It sounds like maybe 8.0.1 has downloaded onto your phone but not installed. You can check for it in Settings > General > Usage > Storage, Manage Storage. If it's there you should see it at the top of the list of apps. Swipe to delete it. 8.0.1 was pulled by Apple quickly after it was introduced due to issues and replaced by 8.0.2. Once it's deleted you should be able to download and install 8.0.2.

  • ITunes purchased videos and all DRM movies will not play on iOS 8 devices when streamed from an external drive (or streamed from other wireless devices). Any solution in sight?

    Video streaming of DRM movies, purchased from iTunes and other vendors, to any iOS device is not working.

    I am not sure if you really understand the issue at hand. Possibly that you are just scanning, not reading the whole text, or simply that you just want to close a thread with your last words or derail it for whatever strange reason. So far you have been more destructive than helpful, but again this could be ignorance at best.
    If you would have had the decency to read the entire thread you would have come to the conclusion that every manufacturer, I came across, has posted FAQ's to this issue but Apple. Find a short excerpt below:
    SeaGate  http://knowledge.seagate.com/articles/en_US/FAQ/006135en?language=en_US <http://knowledge.seagate.com/articles/en_US/FAQ/006135en?language=en_US> Playing DRM (Digital Rights Management) protected movies in Seagate Media App Information regarding remote streaming of DRM protected movies. Most forms of DRM (Digital Rights Management) will prevent playing movies on unauthorized devices or from remote storage hosted on wireless drives or NAS drives(Seagate Wireless, Seagate Wireless Plus, Seagate Central or Seagate Personal Cloud). Movies purchased from iTunes can be streamed to iOS 6 and iOS 7 devices which were authorized from remote storage (the video could be selected in Seagate Media App and would be played in a Safari browser), however in iOS 8 this has stopped working. A bug has been filed with Apple, however this functionality has not been restored. Therefore, DRM protected movies purchased on iTunes can no longer be played on devices running iOS 8.
    SanDisk  http://kb.sandisk.com/app/answers/detail/a_id/16668/kw/itunes <http://kb.sandisk.com/app/answers/detail/a_id/16668/kw/itunes> Videos purchased or rented from iTunes will not play in iOS 8 The SanDisk Wireless Media Drive and Wireless Flash Drive support streaming of DRM protected iTunes purchased movie content to authorized devices in iOS 6 and iOS 7 ONLY. The DRM protected content is opened in Safari where the DRM is decrypted and the video is played. iOS 8 issue In iOS 8 Apple device has NOT enabled Safari based DRM decryption. Therefore DRM protected content, i.e. purchased movies or TV shows from iTunes, CANNOT be streamed from the Media Drive/WFD in iOS 8. This issue has been reported to Apple. We do not have any estimated date when Safari will support DRM decryption of iTunes purchased content.
    in contrast: here is the excerpt from the Apple Store http://store.apple.com/us/product/HFSQ2VC/A/sandisk-connect-64gb-wireless-media- drive?fnode=12ea113d2dba9883d5561c573d91…
    Overview
              With the SanDisk Connect Wireless Media Drive and its companion app, you're free to share and stream high-definition content between your iPad, iPhone, iPod touch or Mac devices without a cable connection. Simply connect wirelessly from your iOS device to the media drive and instantly stream your HD movies, browse photos and listen to music from around the house or on the go, while avoiding the common hassles of cables, attachment limits or Internet availability
    AirStash  http://support.airstash.com/entries/55924774-Known-Issues-with-iOS-8-and-or-iPho ne-6-6- <http://support.airstash.com/entries/55924774-Known-Issues-with-iOS-8-and-or-iPho ne-6-6-> (Excerpt) Known Issues with iOS 8 and/or iPhone 6/6+ Apple recently released iOS 8 and the iPhone 6 and iPhone 6+. Here are the remaining issues that we are aware of in the iOS 8 general release: • Video streaming of DRM movies (purchased from iTunes and other vendors): iTunes purchased videos and all DRM movies will not play on iOS 8 devices when streamed from AirStash (or streamed from other wireless devices). These movies are digitally protected and the AirStash app sends them to the Safari browser to play (which works for all prior iOS versions). However, in iOS 8, Safari will no longer allow DRM movies to play. These movies will play when the video is transferred to the iPhone/iPad and played in the Apple's Video App or the corresponding App from the vendor.
    WD - A Western Digital company  http://community.wd.com/t5/My-Passport-Wireless/Streaming-itunes-DRM-movies-to-s afari-on-iPad-not-working-IOS-8/m-p/820913#M387 <http://community.wd.com/t5/My-Passport-Wireless/Streaming-itunes-DRM-movies-to-s afari-on-iPad-not-working-IOS-8/m-p/820913#M387> No official comment here in regards to the issue but a interesting comment by Bill_S, WD Community Manager, who is basically saying that iOS8.x was actually a fix to an issue that DRM protected movies were playing prior to iOS8.x. If this is the case and Apple will not address this issue or fix it since Apple believes that movies should be protected this way, you need to let the community know that movies are restricted this way. Re: Streaming itunes DRM movies to safari on iPad not working - IOS 8 issue? [ Edited ] Options 11-06-2014 03:19 PM - edited 11-06-2014 03:22 PM Actually, this is not something we can NOT fix. It appears that Apple finally fixed an issue they had with their movie DRMs. The files should have never played in the first place. [Edit] If you have an issue with this, you will need to take it up with Apple. Click the Kudos star to say thank you for helpful posts. And be sure to come back to click the 'Accept as Solution' button for the post that solved your issue. This may help someone else.

  • Help with flash player 10.1 installed on Windows XP but not playing

    I have windows xp (not sure how many bits?), IE 7 (128-bit), service pack 3, shockwave add-on is enabled. Flash player 10.1 is installed, but not playing and not being recognized by the website that requires it in order to view a TV show.

    I am also having a similar issue.. When I open Youtube or any video related pages, my browser hangs.. Mine is 64bit Windows 7. No idea what is causing this issue..  tried re-installing.. But still no luck..  Please help..
    http://www.vouchercodes.net

  • The training tutorials under creative cloud learn are loading but not playing

    The training tutorials in creative cloud learn are loading but not playing, is there a problem with adobe tv?

    Hi sarahhunter1,
    Please try playing video in Google chrome browser.
    Regards,
    Romit Sinha

  • Mp4 not playing on iOS

    Hi,
    Can you clarify why the optical flare mp4. at the start of my animation will not play on iOS please?
    It is working fine here on Chrome http://nyresolution.ie/
    var video = sym.$("myVideo");
    $(video).html('<video width="1920" height="1080" autoplay><source src="assets/opticals.mp4" type="video/mp4"></video>');
    Many thanks,
    Kim

    IOS does not support autoplay for audio or video.

  • Photo stream on my pc with windows 8 upload to my macbook (iphoto) but not to my ios devices.

    Photo stream on my pc with windows 8 upload to my macbook (iPhoto) but not to my ios devices. On the other hand, and that is the funny thing, the shared picture folder on the pc is updated with new photos/pictures from my ios devices and from my macbook. Anyone has any idea of what is the problem? This drives me crazy because i can't upload a picture manually from the PC. Hopefully anybody have an answer. Thanks in advance.

    Hi Naddod , I have the same problem. The same pc photostream receives new photos added using the photostream "add picture" button but ipad and iphone does not. If I take new photo from Iphone I can find it in Photostream of PC, Iphone and Ipad. Seems IOS error. Strange thing is that , if then I erase that new photo from the PC photostream, than it will be erased from photostream of PC, iPhone and iPad, erasing works, adding not.

  • HT4528 iphone 5 - dock will charge but not play music.

    I've read and read and read posts about this same problem with no solution found.
    I have an iphone 5 that just randomly quit playing music through any docking accessories.  It will continue to charge, but not play music.  It worked when I first got it, but later just stopped.  Same docking accessories, same cables, same phone.  Nothing changed, just quit working.  My phone is not jailbroken.  I have restored it.  I updated to the ios7 software which fixed the problem... for a day.  Now we are back to it not working again! 
    Please, if anyone knows a way to fix this, help me!!!  This is the whole reason why I own an iphone.  It keeps me from having to have a seperate phone and ipod!!!
    Thank you in advance.

    Try unplugging the docking station from power for a minute or so, then also in that time, reset your phone by holding the power button and the home button until it turns off. Then turn it back on and try again.

  • My iPhone will ring but not play music. Does anyone know how to fix this problem?

    My iPhone will ring but not play music. Does anyone know how to fix this problem?

    Clean iPhone charging port with clean dry toothbrush. See if fixed. If not, and if there is Warranty or AppleCare make Genius reservation or set up service and take or send to Apple. If no coverage, clean again with toothbrush and small amount of Isopropyl Alcohol.

  • My Macbook Pro will not play a Disney DVD (Howl's Moving Castle). It says supported disc not available but it plays on my cousin's Macbook Pro.

    Basically my macbook pro will not play this one DVD. It is a dvd that is fresh out of the package that I order from amazon and it is the second dvd that I have tried. Amazon sent me a new dvd when there were problems but both are not working but my laptop will play all other dvds, including the bonus dvd that came with the dvd i am trying to watch. I tried playing the dvd in my cousin's macbook pro and it worked. I already repaired discs permissions and restarted my computer but i cannot get this dvd to play for the life of me. When I put it in the disc drive the laptop buzzes for a few seconds then spits it out. When I open dvd player before hand and hit play it gives the message "supported disc is not available"

    The laptop is about 2 years old, and I watch a lot of movies on it. I would think I had set the region but I could be wrong. I'm in North America wouldn't that be the preset? Also, how would you go about changing or double checking that. Also if a movie was from a collaboration of disney and studio ghibli (japanese studio) would that mean I have to change the region just for that one movie? It would be weird if it were that way because I have another movie by disney and studio ghibli, and it plays, for that matter so does the bonus feature disc that came with this movie....

  • Since upgrading to ios7 my iPhone 4S will no longer play music through docking station, worked fine before upgrade, it's charging but not playing any music at all

    MY phone worked fine with the docking station before upgrading to ios7 now it's not playing music but still charging the phone, anyone have any ideas to what I could do to fix this please?

    Restore your iPhone the updates may have corrupted your iOS installation

  • Apple Music App not playing audio iOS 5

    I updgraded my iPhone to iOS 5.0.1 and now my Music App isn't playing any of my songs. I can open the App and navigate fine, but when I press play it doesn't. I tried force quitting the app and even restarted the iPhone, but that still did not fix the issue.
    Is anyone else experiencing the same thing?

    My music is now playing agian, but the issue still exists let me explain.
    I upgraded from an iPhone 4 to iPhone 4S.
    I then restored my iPhone 4S with an iPhone 4 backup.I did this to get all my previous data etc..
    The music from that backup did not "play"
    I then synced new music to my iPhone 4S after reading "Radar103" comment.
    Even though I synced new music it did not remove previous songs already on my iPhone.
    All new songs play just fine except for music from original backup.
    Here's the kicker. When I view my iPhone 4S music using iTunes I DO NOT see the songs from original backup. This is weird because when I navigate on my iPhone I can still select them.
    I really don't want to restore my iPhone to start from scratch. Any suggestions?
    My next step will be to call AppleCare.

  • Movies in itunes but not playing on IPOD

    Movies are in itunes and in the proper format. Movies play great using itunes. Movies are transferred to IPOD, but when I go to play them using the ipod, the screen freezes and the movies do not play. When I play the movies from the IPOD using the computer; everything is great. I must be doing something wrong. Please help.

    I'm having the same problem with TV Shows. I've bought a standard definition season like I always have, but when I sync it to my ipod, the screen stays black and the show won't play. Any help anyone can give is welcome!

  • How can I get UDF to work on OS 10.8.5 will open 'intro' but not play content

    How can I view a UDF on Mac OS 10.8.5? It opens the cyclical intro but will not play the content. Using the controller reults in 'not permitted' for every action. Thank you!

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Songs will play in iTunes but not play on iPod!

    This is very weird. I have 44 songs that are not working right.
    A few months ago I moved my music files to one central location on my computer (aside from iTunes). I wanted to get rid of duplicates and songs I just didn't want and more importantly I wanted to make sure the names were all correct.
    Oddly enough the songs in questions I did not have to change.
    I synced my new iPod to my iTunes. I played a few songs and when it got to 1 of the 44 it just skipped over it. I thought this was weird so I went through artists and found the song that way, I selected it again and it wouldn't play.
    I tired playing the song in iTunes - the song played.
    I found it on my computer - the song played in Windows Media Player.
    Before I did all of this, on my old iPod - the song played.
    In fact all 44 of the songs used to play and everything was fine. (I use my old iPod for my car and my new one for jogging, but I don't want to sync my new one until I solve the problem I just don't want to risk losing the songs)
    So I looked in the iTunes files - there is a file known as "Not Added" within the "Automatically Added" File. The songs in question were in that file. Which is weird because I never had this problem before...I didn't change anything about these songs.
    I took one of the songs out of the "Not Added" file and I put it in the Automatically Added file and it seemed to add it. I tried syncing againbut the song would still not play.
    I tried moving the song directly to the iTunes "Music" File. It made its own file with the artist and all - it hadn't been there before. So I tried syncing again but it still wouldn't play.
    Yes - I have plenty of room on my iPod
    Yes - I have tried restoring my iPod
    No - There is not a little explanation point next to the song - The song is located and it plays in iTunes just fine.
    I am at a loss. Someone please help me!
    Thanks!
    ~Jess

    Select the track that is giving you a problem, then go to Advanced menu and select "Create AAC". Then try using that new AAC track on the ipod and see if it works.
    I had some tracks that I had gotten onto my system from a CD. It ended up that my CD drive as on its last legs and had captured the tracks with some errors.iTunes was able to play through these errors, but my iPod was not. Having iTunes re-transcode them fixed the problem that kept them from playing on the iPod. Another solution would be to re-rip the tracks from your original CD. If you bought them on iTunes, re-download them.
    The bottom line is that the tracks likely have some errors in them that iTunes can play through, but the iPod cannot.
    Hope that helps,
    i

Maybe you are looking for