Video not playing is not in iOS with StageWebView

I'm working on an iPhone application as part of a master project and need help to make my videos to work. I'm a designer, not a coder, so I was struggling with this a little.  I get to the end of my year so any help is greatly appreciated.  In another thread on this forum, I got a code on a StageWebView, however when I get to the frame where the video needs to play... I get a white box, with no video game.  Here is the code that I have on this image...

import flash.geom.Rectangle;

import flash.media.StageWebView;

import flash.filesystem.File;

var webView:StageWebView = new StageWebView();

webView.stage = this.stage;

webView.viewPort = new Rectangle (0,0,stage.stageWidth,stage.stageHeight);

var fPath:String = new queue (new File("objects.flv").nativePath) .url;

webView.loadURL (f);

I made sure to include video files provided with the application.

Help please!

stagewebview can play H.264 Movies, so likely a .mp4. You play an flv, which is not H.264. You can play FLV files with normal methods of video in Flash, which can be as simple as having a component FLVPlayback instance on the stage and by setting its source on the flv file.

Tags: Adobe AIR

Similar Questions

  • When you use two monitors Media Player will not playback on screen #2 video (not a problem with the monitor #1).

    I'm sorry for the long post, but this is the type of problem that is easy to explain in person but if transported by writing it might take a little longer for the sake of the definition. Please read on without fear because this problem is not as complicated as you might think, I hope.

    I use two (2) screens of computers with the same system but why Media Player does not work on a single monitor and not the other monitor?

    I use two monitors with my PC thanks to the CLONE function and things last a lot. #1 monitor is a computer 19 "monitor. Monitor #2 is at the end of the piece. VIZIO, the manufacturer, markets a monitor #2 as a computer screen, nope, it's a 47 '' Vizio HDTV that I use as a computer screen. I use the installation without any problems for over a year now until yesterday. The problem: now, when I use two monitors to play a video, the sound will play but not the video. What I see is a black screen empty. This negative situation applies to only monitor the #2 and does NOT monitor #1.

    > very important Please note... when I have both monitors running and I play a video that you can actually see the video play on the #1, the 19-inch video monitor! There is absolutely nothing wrong with the video player when it runs on the small computer screen 19 inch. But when you turn your head to look through the living room where I Monitor #2 placed you won't see the video running on #1 monitor as you normally would before that dysfunction appeared. (No, instead of this you will see the Windows Media Player (or Nero or RealPlayer) readers 'playing' a black screen blank even if 1) both monitors are indeed cloned and 2) video plays without any problem on monitor # 1. Monitor #2 with media work (sort of) because the volume level is adjustable, and you can see the bar jump up and down and all around media player progression but the problem is that there is simply no video when you try watching the video on a monitor #2.

    > except to play videos through a Player multimedia, I can use my Vizio TV as a monitor for what is related to the computer, there is no another negative question. I can surf the web, edit videos, etc. When I run a video from Youtube to my computer the monitor #2 TV Vizio, the Youtube video plays well. Ditto for Netflix, no complaints there. In fact, I just typed this post on and displayed using Monitor #2... But if I want to watch a video that I saved in a folder XP then the only option is to use the #1 monitor.

    Thanks in advance for your help :)

    Do restore of the system as a first step. If this fails,

    1. uninstall all software of Monitor 2

    2. unplug the monitor 2

    3. restart the computer

    4. connect the monitor 2

    5. install all the software monitor

  • After being opened for a while (with several tabs) Firefox does generally and repeatedly play a sound - video will play again, but not sound.

    This problem started happening only recently. I often keep my Firefox open all night with sites like rainymood.com or grooveshark.com playing, as well as several other tabs, including but not limited to Facebook, YouTube, and Reddit. Sometimes, after a few hours/days to not restart Firefox or my computer, Firefox starts to become insensitive - i.e., pages take a long time to load, opening new tabs is difficult for the browser and videos will have up to 30 seconds to start playing. In addition, the sound stops playing. If I start a YouTube video, after the initial period of excessive load, the video will play, but without any audio. Also, sites such as rainymood.com and grooveshark, even Facebook, stop sound.

    Note that this is different from an incident of flash plugin - when flash falls down, the audio and video become inaccessible and a simple refresh or restart of Firefox will solve the problem. But what is happening here is different; If I refresh the tab, nothing changes, and even if I restart Firefox, it opens the same way again until I restart my computer completely.

    Also of note: I had, in the past, this same thing happens, but rainymood.com continued to play, however no other tabs would make sound. The problem is sporadic and I don't know where to start. Also, sometimes it's only a problem of Firefox specific, which means other programs on my computer can make sounds, but sometimes this problem makes my computer all stop making sounds, with the exception of Ventrilo, which works, but is also insensitive in the beginning.

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its factory default condition while saving your vital information.
    Note: This will make you lose all the Extensions, open Web sites and preferences.

    To reset Firefox, perform the following steps:

    1. Go to Firefox > help > troubleshooting information.
    2. Click on the button 'Reset Firefox'.
    3. Firefox will close and reset. After Firefox is finished, it will display a window with the imported information. Click Finish.
    4. Firefox opens with all the default settings applied.

    Information can be found in the article Firefox Refresh - reset the settings and Add-ons .

    This solve your problems? Please report to us!

  • StageVideo does not play content downloaded, but will play the included content. (iOS)

    Hi all

    I'm working on an application and try to use StageVideo and I came across a problem.

    I would like the app to be able to play H.264 videos on iOS.

    The video content to be played will be downloaded by the app from our server to the device.

    I ran my code under windows and android (specifically a xoom) and it works, so I know that the files are downloaded and paths are correct. However, when you run the code on iOS I was not see any video or hear all the sounds.

    I then tried including the video file when making the ipa and play from the included location and he play with sound and video.

    Can anyone think of a reason the video file will not play if it is downloaded as opposed to being included with the application?

    Including files video isn't an option because they change regularly, so need to be downloaded.

    Thank you

    Chris

    P.S. I post code if you need it, but I followed a little this code:

    http://forums.Adobe.com/message/4352118

    who is responsible in a view empty.

    Thanks for your help.

    I got it to work. My problem was that the app was the creation of the local file using our address of the server, for example ' video/1100', what I knew was a video, so I would spend it in the StageVideo who don't know what to do with it. The solution was to add ".mp4" at the end of the location of the file for example "video/1100.mp4" so that StageVideo could open.

    When I got it with the app, I was using the original file named "example.mp4", so he was not having this problem.

    By the way, I ended up going with StageWebView for my solution, because it is easier to design my app round have a video in the forground to require a gap by everthing in the background.

    (StageWebView also has the problem that I found above where it takes a file extension to play).

  • I reinstalled the air combat Simulator 3 but he can't play. He gets at the beginning and then freezes. I've got shield deluxe antivirus 2009. He has not done this with the 2008 deluxe version of shield. Yet, I can play any other game.

    I reinstalled the air combat Simulator 3 but he can't play. He gets at the beginning and then freezes. I've got shield deluxe antivirus 2009. He has not done this with the 2008 deluxe version of shield. Yet, I can play any other game.

    Hi gullo56,

    Welcome to Microsoft Answers Community Forums.

    To help you better I would ask,

    a. If it functioned very well under Windows 7 before?

    ·         I suggest you to disable your firewall security software and check if you are able to play the game.

    From the link below, what I discovered is Microsoft Flight Simulator 3 is not completely compatible with Windows 7, but I would suggest that you follow the steps below to help troubleshoot your problem.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.aspx?type=software&s=combat%20flight%20simulator%203

    1. as Microsoft Combat Flight Simulator 3 is supported by Microsoft Windows Vista to function normally, I suggest you run this program in Vista compatibility mode in Microsoft Windows 7.

    For information about how to run a program in an earlier version of Windows, visit the link below,

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    2. you can also try to reduce the hardware acceleration and check if it solves your problem,

    1. Click Start-> Control Panel-> appearance and personalization.

    2. under customization, click on adjust the screen resolution.

    3. in the display settings dialog box, click the Advanced Settings button.

    4. in the monitor Properties dialog box, click the Troubleshooting tab.

    5. click on the change settings button.

    6. in the Security dialog box, click on continue.

    7 move the hardware acceleration slider to none to reduce or turn off video hardware acceleration.

    8. click on OK.

    9. restart Windows.

    Hope this information helped you.

    Kind regards

    Arona - Microsoft technical support engineer

    --------------------------------------------------------------------------------------

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Movie Maker will not see a preview of the video, but plays sound

    Hello

    I know this question has been answered before, but I tried the suggested solutions and it doesn't seem to work. I used the MicrosoftFixIt tool to find any bad codecs and none came. I clicked on one of the links to download an older version of NVIDIA, as suggested, but I'll be honest, I have no idea what I'm doing.

    All I want to do is to edit videos on Movie Maker, but I can't because I don't see what I'm doing. Even if I just put a picture, nothing is displayed in the Preview on the left area!

    When I export the video she plays very well because I have strung together some pictures and a few videos with a mp3 file on the top and everything I played correctly once it had been exported.
    I use my laptop which is a HP Pavilion dm4, my OS is Windows 7 Home Premium, and I tried to update Movie Maker on the Windows website.
    I need help. Thank you for your time, you're probably sick of answering these questions, but I searched your forums carefully and nothing has worked.

    I look forward to your reply.

    Thank you for your help but I tried to restore my device driver, but unfortunately I have not all previous versions to restore. I have also tried to lower my hardware acceleration, despite having allowed me to completed the first instructions little change 16 bits etc, I could not then lower acceleration because the laptop just wouldn't let me.

    Thank you for your quick response, but unfortunately, my laptop still stubbornly useless.

    =======================================
    Depending on your answer I do not know what else to think.
    Although you might find your computer mfg site for
    earlier video drivers.

    Maybe install a previous version of Movie Maker
    worth to try:

    There is a version of Vista Movie Maker 6.0 which will be
    run on perhaps Windows 7 or 8... You can use it to
    new projects until you find the fix for MM12.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Windows Movie Maker 6.0 on Windows installation 7 or 8
    http://movies.blainesville.com/2010/05/installing-Windows-Movie-Maker-60-on.html

  • Video: Audio plays well. Image if not.

    I'm having trouble getting a video to play on ipads of team members.

    It is coded as a h.264 MP4 and I'm it streaming from a common server. It plays fine on my ipad, but my two members of the team only audio and no picture. Ideas?

    I think it had to do with two other ipads being most recent with the retina display. I re-encoded after reading another thread on the screens of the retina, and now everything is fine.

    Here is the answer that was helpful for me to understand the problem:

    "The reason why the videos were playing on older iPads but not on current iPad Air has to do with the way the videos been encoded. Who has not played on the air had been encoded with the order of the fields lower value first. When that was changed to "progressive", fine played videos on the whole.

    All mobile devices have screens of progressive scan, so progressive is usually the right thing to do. I don't know any details why models previous iPad would play interlaced images and the Air is not, but I can make a guess... Apple has been quietly to denigrate a bunch of earlier codecs and QuickTime options. This is particularly visible in the Mavericks on the desktop. Now, for example, the QuickTime using Apple Animation codec files sit and convert to ProRes at the opening, because the Animation codec isn't in the QuickTime format more. ' Viewer from Adobe, iPad retina, video

  • Embed the video not click to play CS6?

    Hello

    I want to put the video into a flash banner,

    I tried to follow a tutorial for this, but when he

    got to the part on the Imbedding screen that I did

    not to find a screen imbedding or one

    corresponding part of this screen which has been

    listed in the tutorial.  In addition, I think

    These instructions must integrate a video

    When you click on the video to play.  But I have

    want to put a video as part of the animation

    automatically when you do not click on the video,

    but it just moves automatically along

    with everything else.  How can I do this?  I have

    using the CS6 version.  I don't want the

    sound of video file.

    You read this Adobe Help article: http://help.adobe.com/en_US/flash/cs/using/WSb03e830bd6f770ee-70a39d612436d472f4-7ff8.html

    -What gives you more useful information?

  • Video not playing the end

    I tried different ways to get my flash animation to play along to? This is only a second 32 commercial. I start with a .mov file and export out of Quicktime in a .flv file. I pull this in Flash CS3 and create a .fla file. I publish and test and the movie will not play until the end? I don't know what to do next? I exported the .flv to Quicktime repeatedly.

    Help, please...

    http://www.marshallad.com/Flash/versato.swf

    A fix!

    QuickTime 7.2 requires your video source to encode to 44,100 kHz on the Macintosh.

    Step 1: I saved my movie of the original .dv to .mov file to deinterlace the movie in QuickTime Pro.

    Step 2: I saved my movie from .mov to .mp4, choose the sound setting 44,100 kHz using QuickTime Pro.

    Step 3: I saved my movie .flv .mp4 to use Flash in QuickTime Pro.

    My video now plays throughout. :)

    Adobe TechNote of QuickTime Pro:
    http://www.Adobe.com/go/kb402508

  • Some Flash videos will play not (e.g. uStream live)

    I have trouble to get some videos to play. None of the live streams on www.ustream.tv work. No more videos on www.mtv.ca, neither those on www.kelbytraining.com. They all used to work perfectly. Now, I just get a perpetual loading graph. They all work fine in Internet Explorer.

    I've read other threads regarding this and no luck. I erased my caches Macromedia and Adobe Flash Player in the %AppData%\protector.exe folder erased everything using CCleaner, disabled hardware acceleration in the flash player settings, disabled all my plug-ins, authorized connections incoming and outgoing in my Panda, disabled firewall firewall Panda entirely, updated my flash drive, update firefox... and nothing seems to resolve.

    Can someone please use your witchcraft to make it work again?

    Thank you

    Tried the new profile and off hardware acceleration. No luck.

    All entries in msinfo32 were MSAFD or RSVP.

    Tried the ping test in Firefox... WOULD NOT WORK!

    Tried in IE... worked!

    So, I went back to the firewall troubleshooting. This time I completely uninstalled Panda Global Protection 2011... AND VIDEO WORK.

    I decided to modernize the Panda for 2012. After installation, the video did not. After update, IT FINALLY WORKS! Everything seems fine now.

    Has clearly been a Panda problem and not a problem of Mozilla. Thank you very much for helping me!

  • Notes on IOS 9.3.1 not synchronized with iCloud

    Does anyone have a solution for Notes on IOS 9.3.1 not synchronized with iCloud? I tried everything and even resorted to a full fee reinstall IOS 9.3.1 on my Iphone and always used to synchronize notes.

    Tried signing in and out of the iCloud several times with no luck?

    BTW, the issue is on my iPhone 6 s more but no problem with my iPad 2 Air synchronization?

    Thank you

    Paul

    Have you checked the settings/iCloud to ensure that information on the synchronization are enabled? If the weight is, stopping and restarting the synchronization.

  • I made a new music video for a song, and the music is not in time with the film, how I put in time?

    I made a new music video for a song, and the music is not in time with the film, how I put in time?
    Oh and I'm using WIndows Movie Maker. One.

    Please repost in Windows Live Solution Center.
    Forum on Windows Live Movie maker:
    http://windowslivehelp.com/forums.aspx?ProductID=5

  • Not be able to watch Netflix videos and play games

    When I watch a movie on netflix screen when I put the cursor over them to stop the subtitles go to black and white and image tweaks. What can I do to solve this problem?, also happens in some games.

    Hello Michael,

    Thanks for posting your question on the Microsoft community.

    I would like to know some information about the problem so that we can help you better.

    1. open Netflix on Internet explorer?
    2. you receive an error message or code when using Netflix?
    3. What is the brand and model of your computer?

    Thank you for details on the issue.

    This behavior can occur if the required modules are not installed or if the graphics driver is not updated.

    I would suggest trying the following methods and check if it helps.

    Method 1:
    If you are using Internet explorer to watch netflix videos and play games, Please make sure that the following modules are installed and enabled.

    -Adobe flash player.
    -Microsoft Silverlight.
    -Java.

    You can download flash player from this link:
    http://www.Adobe.com/downloads.html

    You can download silverlight from this link:
    http://www.Microsoft.com/getSilverlight

    You can also Download Java from this link:
    http://Java.com/en/download

    See also:
    Manage Add-ons in Internet Explorer
    http://Windows.Microsoft.com/en-us/Internet-Explorer/Manage-Add-ons

    If this does not help, use method 2.

    Method 2:
    Updated drivers from the website of the manufacturer of the computer's display adapter and check out them.
    Refer to this article:
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows/Update-driver-hardware-ISN

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • How do I loop a video to play indefinitely (not a menu)?

    I need to create a DVD to play unattended tomorrow.  They just want to play (loop) indefinitely.  Is it possible to do so.  I was able to do it once, but have not been able to figure it out again.

    The video first play; Then set its action end itself.

  • What am I I did wrong, imported the video is not in line with the audio.

    Hi I have imported video on a digital camera Fujifilm, A850 and that you want to change in the first Elements 7, but the sound is not in line with the Visual.

    I tried reading upwards and by changing the control, but so far without success.

    What should I do?

    Help, please.

    Your camera produces AVI with MJPEG codec. And your problem is quite common that Premiere Elements may have problems with MJPEG files. Generally re - install a MJPEG codec will solve the problem. You can try it free:
    http://www.free-codecs.com/Motion_JPEG_Codec_download.htm

    Otherwise, you can open the file in Windows Movie Maker and export it as a DV - AVI wil be compatible with PE7.
    http://www.adobeforums.com/webx/.3bc247e2

Maybe you are looking for

  • Phone not charging after iOs updated 9: 3 - this accessory not supported

    After that I updated my iPhone 6 s yesterday to 9.3, my phone would not charge. I cleaned the port, I use a charger Apple, I redefined again and still nothing. My son did the same update and the same thing happens on his phone. Does anyone else have

  • Moto UK (European) version 2 G

    Hello Finally, it is possible to buy the new bike g on the motorola.co.uk site, but there is no information on dual sim top. can anyone confirm, this bike offered on motorola.co.uk g dual sim or not and is - this 8 GB or 16 GB version? It is only pos

  • < STRONG > after recording when do we get update

    According to my prior knowledge, I know someone who is in the MFN will get ' TREMPER le TEST ' record... But my question is that after getting the invitation and submit the investigation successfully. Then, after how many days make a member of the MF

  • String to the Array.vi worksheet with negative numbers

    I was exploring a program posted on the developer zone titled "ClipboardtoNumericArray.vi" and noticed that it substitute 0 for elements with negative numbers. The 'String to Array.vi worksheet"working with negative numbers? If so, how?

  • Save all data acquired by data acquisition

    Hi all I have a problem when I tried to record all the data acquired by the DAQ card. My DAQ is NEITHER 6259, and the version of Labview is 2009. Basically, what I do use several channels to get different point tensions, then subtract values of both