HTML 5 video does not

I have a very simple air project. He places a stagewebview one loads a page (the code it below if necessary). The page has a button that tests whether html 5 video is supported by your browser. If I run the code in the debugger, I see that I've supported video. If I publish to iPad, I have video support. The problem is when I publish on the desktop computer, mac or pc, it does not support. You don't know why it works in the debugger, but not in a published application. How can I get html 5 video to work on an air for desktop application?

import flash.media.StageWebView;

import flash.geom.Rectangle;

var webView:StageWebView = new StageWebView();

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

webView.stage = this.stage;

webView.loadURL ("http://www.w3schools.com/html/html5_video.asp" "");

Adobe Air-support StageWebView native and non-native appearance. In non-native, you can use the tags modern html5. To resolve this problem, you must switch your Air StageWebView Native mode application (mobile office always use only native).

var webView:StageWebView is new StageWebView (true);.

Just add true and your StageWebView will use Safari / IE component / activeX html rendering. It solves your problem.

If your Air sdk do not have this option - try to update your Air sdk.

P.S. This isn't a bug.

Tags: Adobe AIR

Similar Questions

  • Can Windows Media Player XP play MTS file type? I tried, but the video does not play smoothly. Is this fix really?

    I tried, but the video does not play smoothly.  Is this fix really?

    There is a possibility that Windows Media Player could
    read the file if you rename the MTS to MPG or AVI.

    And/or...the suite of freeware Media Player can be
    worth a try.

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

    Media Player Classic Home Cinema
    http://MajorGeeks.com/Media_Player_Classic_Home_Cinema_d6213.html
    (works on XP/Vista/7)
    (The name of the file to download is: "MPC - HomeCinema.1.5.2.3456.x 86 .exe ')

    If this fails, it may be worth trying to convert the MTS file
    WMV format:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converters are a few examples:

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

    (1) Sothink Free Video Converter
    http://www.Sothinkmedia.com/video-converter/
    (Windows XP / Vista / 7)

    You will need to unzip the file... or you could just drag
    the Setup.exe from the file out of the folder and drop it on your
    desktop and install from there.

    Once installed... Open Sothink and go to... Add the files button...
    Find and select the clips you want to convert.

    Next... in the encoding settings... Choose... Video credits.
    WMV - Windows Media Video (*.wmv).

    Choose an output folder and on the left, click on the button convert.

    You can experiment with other settings later but
    This should help you get started.

    (2) format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster)
    (the file you want to download is: > FFSetup270.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the last screen)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag FFSetup270.exe out of the folder
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • video does not

    When I click to watch a video on youtube, the sound is there, but the video does not appear.  I use a Notebook pc, with Windows 8 g7 Pavilion.

    Hello

    Perform a new installation that will help Flash Player:

    http://helpx.Adobe.com/Flash-Player/KB/clean-install-Flash-Player.html

    Kind regards.

  • 24 fps video does not play in the source CS5.5 without jerky movement monitor

    Problem: 24 fps video does not play in the monitor source CS5.5 without jerky movement. 30 frame will play well. I took the same shot 24 fps, using the same exact configuration settings and it played in my CS5.0. No problem. I have them side by side and checked to make sure everything was EXACLTY the same. The 24 frames per second call played smoothly in the monitor source CS5.0 Panel. Can someone tell me what the solution might be to get the CS5.5 play smoothly? When I visited on the timeline in CS5.5 he played smoothly on the timeline. Puzzled.

    > nikon d7000

    This is probably the cause.

    See for a workaround:

    http://helpx.Adobe.com/Premiere-Pro/KB/Nikon-D7000-footage-stutters-playback.html

  • video does not play on the internet

    Hey folks,.

    I was scratching my head trying to understand why this Flash video does not play.  I checked to make sure that it is in the correct format. I tried FLV and H.264 or who plays.  The custom play button appears, and the alpha goes to 0 when you click on it but the video does not play.  It works in the flash environment and on my desktop when I he falls into a shell of html.  Can someone tell me what I need to do to make this work?

    SEE THE VIDEO

    http://clienttestsite.X10.MX/beta/SWFs/managers.swf

    DOWNLOAD THE VIDEO

    http://clienttestsite.X10.MX/beta/SWFs/managers.fla

    You use the debug version of Flash. When you do, you will be able to se a security error:

    SecurityError: Error #2148: SWF file http://clienttestsite.x10.mx/beta/swfs/managers.swf cannot access local resource C:\Users\Demetrius McClain\Desktop\Value Insight\chevrolet\video.f4v. Only SWF files local local - with system files and trust can access local resources.
    at flash.net::NetStream/play()
    to fl.video::VideoPlayer /http://www.adobe.com/2007/flash/flvplayback/internal:_play)
    to fl.video::VideoPlayer /http://www.adobe.com/2007/flash/flvplayback/internal:_setUpStream)
    to fl.video::VideoPlayer /http://www.adobe.com/2007/flash/flvplayback/internal:_load)
    at fl.video::VideoPlayer/load()
    at fl.video::FLVPlayback/doContentPathConnect()

    Of course, you hard-coded video path to your local computer. Change that.

  • Fast forward on the videos does not work on tvos 10

    Hello

    After updating to the latest tvos, 10, fast forward on the videos does not work. I can only fast forward when I press on the right place on the pavement and fast forward 10 seconds in time.

    Someone else has the same problem? Is this a bug in update?

    Hello. It seems to work as described here https://help.apple.com/appletv/#/atvb7944597f press next to move to 10 sec, press and hold to fast forward. They have it changed again?

  • Online except Youtube videos does not

    All of a sudden I found that videos don't work anymore when I visit several Web sites. Although I found that youtube does not work for videos that I chose from there.

    Example would be videos from sites like ESPN, CNN, Fox News, CBS.com just a name a little that the videos do not work.

    I get either a black screen where the video should play sometimes a spinning wheel or nothing video does not appear. ESPN is one that shows the turning wheel. Almost every other show just a black screen with no video game. Obviously, it's a browser problem where something happened to kill the video playback capability. As it is now, I can't really surf the internet with Firefox that should never happen!

    I checked these sites against IE and IE plays without problem.

    I'm running Windows 7 Professional 64

    The problem has been resolved with the 06:00 updated to version FF 42.0.

    What the problem was with 41.2 has been resolved with the update to version 42.0.

  • Made the switch from the Firefox chrome; now, meeting places and a few videos does not work

    Salvation; I'm wanting to get away from chrome, but in firefox, I can't get the 'hangouts' working in gmail, even if I do not have the googletalkplugin installed on my pc. Another issue I see is that, on some pages, video does not work; in the latest version of chrome, I understand that the flash thing has changed and I guess that firefox has not changed in the same way. I hesitated when downloading a plugin, as shown on the screenshot for fear that it will mess up video in chrome, I would use chrome. I would rather not switch back from firefox to chrome to phone or watch the video. Help, please.

    I asked for help on the hangouts thing before, but your suggestion 'install plugin' was not enough, so I request further assistance on this now. on the video thing, please just tell if I should download the plugin and whether or not it will affect the reading in chrome. Thank you

    Working! I had the talk plugin set to always turn on but I had disabled the video because I only use the phone, but apparently, they both need to be addressed to always activate... Please mark this as resolved and thank you!

  • video does not work in ff (though it works in IE and chrome) and I have flash 11.4, no realplayer and windows xp

    I version17 ff and windows xp.

    video does not work in ff, but it made of chrome and IE.

    I have flash 11.4.402

    usually just white screen is shown - non-Visual.
    sometimes sound but no video.

    Sometimes it works well - 10% of the time.

    before a month ago - no problem with the video in ff.

    Have you tried to disable hardware acceleration in Flash Player (protected mode does not apply to XP)?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.
  • Pavilion 6630f: onboard video does not when network card installed

    I have a pavilion p6630f. I got a computer for said NIC 4 network card. Now, this motherboard is not a x 4 slot for the card, but it has a x 16 slot. I put the primary onboard graphics, but it will not yet properly start with this network adapter. No idea why? Am I missing a setting or a BIOS update?

    Hi there @tttomdemaria

    Welcome to the Forums of HP Support! It's a good place to find the help you need, so many other users, the HP experts and other members of the support staff. I understand you are trying to put a NETWORK PCI x 4 in x 16 PCI slot card, but the video does not.

    Please see HP and Compaq Desktop PCs - features card mother MS-7613 (Iona-GL8E)

    • A card PCI Express x 16 slot (for the graphics card support)

  • S - Video does not not in Y410

    S - Video does not work in my Y410, even when I connect the cable S-video, graphics properties intel show only only display.can someone tell me what could be wrong?

    S-video works now, at first I used s-video/RCA cable which was not recognized by the graphics card, but when I used S-video to S-video cable, it works very well.

  • My hp pavilion elite hpe-204f video does not work

    My hp pavilion elite hpe-204f video does not work so I replaced it with another video card that worked. After installing the card and start the system I saw the video on my monitor. Great! I need to replace my video card. No problem.

    Afer by purchasing and installing a new video card, I have no video. I put a new one in another computer. This works. I put the video card which worked yesterday... that did not work.

    Then, I put the original video card that I thought that did not work on another computer and Yes... it worked.

    Should I assume that I have a bad graphical location on the motherboard? If so, short of buying the same motherboard is there anything else I can do?

    Thank you very much for the research.

    Hello

    The integrated video processor still works when the video card is removed?  If Yes, then try this memory bootable Diagnostics CD. Download memtest86 iso file and burn the disk using Imgburn.

    If the above is successful, then re - install the map graphic and clear the CMOS.

    Another thing to try:

    A good cable video know.

    A known good monitor.

  • I have some clips where does not show the audio waveform and others where the thumbnail to display the video does not show. THE possibilities of sight are checked in the Tools menu.

    I have some clips where does not show the audio waveform and others where the thumbnail to display the video does not show. THE possibilities of sight are checked in the Tools menu. Screen Shot2016-03-14 11_53_24.jpg I'm on a Mac Pro 2013. Latest version at all.

    Looks like without the audio element is a nested element.  You will need to restore the audio signal in order to see the wave forms.

    I have the same problem (sometimes):

    https://forums.Adobe.com/message/8527998#8527998

    Without rhyme or reason, as far as I can tell.

  • HTML 5 playback does not work on IE 11 or Edge. Works fine on Firefox and Chrome

    Hello

    Run the latest version of Captivate 9. When I publish the project to HTML 5, playback does not start on IE 11 or Edge (I tested it on two different computers of Win10). Just the wheel of perpetual rotation.

    It works great on FF and Chrome.

    Reflections and suggestions would be very appreciated.

    Talk about barking the wrong tree :/

    Upgrade to win 10 Pro N broke playback of HTML 5. I only noticed that HTML 5 was discontinued after having upgraded to 9 CP and therefore thought that CP 9 was the culprit. Ironically, I had two machines to test, both win Pro 10, N: /...

    For anyone encounter the same problem. There are two Media Feature Pack downloads. KB3010081 and KB3099229. The first did not work for me for a while to understand.

    Thank you to all who have contributed

  • Some hyperslinks in the exported PDF file takes the Viewer to the pages "broken/missing. For example, the hyperlinks to specific of Youtube videos does not work, they brought to a youtube page is missing.

    Some hyperslinks in the exported PDF file takes the Viewer to the pages "broken/missing. For example, the hyperlinks to specific of Youtube videos does not work, they brought to a youtube page is missing.

    Hi Sarah!

    I solved it! I had to use the original URL shorter links to create

    functional hyperlinks or try to short the links using Google URL Shortener.

    I don't know why it worked by doing this, but he did!

    With the friendly and happy greetings!

    Sonny. A

    2015-11-24 9:32 GMT + 01:00 aadeshs76610910 [email protected]>:

    You talked

    by aadeshs76610910

    https://forums.Adobe.com/people/aadeshs76610910?et=notification.mention> * in

    Re: A few hyperslinks in the exported PDF file takes the Viewer to

    pages "broken/missing. For example specific Hypertext to Youtube videos links

    does not work, they will bring to a youtube page is missing. in Adobe

    Community *-view aadeshs76610910 you reference

    https://forums.Adobe.com/message/8209923?et=notification.mention#8209923>

Maybe you are looking for