How to embed and play mp4 video in HTML AIR application?

Adobe Air HTML / JS application compiled from SDK command line.  I am not using flash pro or flash builder to create the application.
I was using dreamweaver but the dw air plugin seems to have stopped being developed so I switched to using the command line tools.
I am creating desktop air application that has embedded mp3 audio and also I want to embed mp4 video.
Using jQuery and the AIR js plugin I am able to play audio via buttons hooked up via jQuery and the AIR js plugin from the SDK.
What I am doing is creating proofs for clients in AIR and sending link to the client to download the application.  I embed the media because I do not want to place them on a website where it could possibly be seen by non-clients and get picked up in the SE's.
I am finding it hard to understand the AIR process for playing video.  I read that it is the same procedure as audio but it does not work.
If it was hosted on youtube or somewhere embedding the web player would be simple, just copy paste some code and it works.  When actually embedding the video say mp4, f4v, mov, wmv or similar file formats I can't get AIR to play the video.  Audio, not a problem it works great.
I would like to do the following with video.
Embed the actual file in the AIR app.  I can do this, it gets embedded.
Play, pause and stop the video - Can't get this to work
Get the current stop point and be able to start the video by sending a start point - This is all working with audio I just want to do it with video.
I have searched the forums, the search engines, youtube and read through the documentation on Air but the video does not work at all.
I need code samples and direction on how to make an embedded video play inside of a desktop air application using the HTML / JS air model. I am using the command line tools to create the air package and test the air app.
Please help if you have figured this out.
Thank you.
Not sure if this matters but I am using Windows 7 Pro 64bit as my development machine.

In addition I also can not get html5 video to play in the adobe air app.  Would this issue be tied to the above?

Similar Messages

  • How to play MP4 videos from library assets, not external source

    I can play MP4 video files all day long, as long as they are from an external source. How can I target via linkage MP4 video files in the library? I'm building a Kiosk application and can't have any external assets--only assets from the library. Please only post comments or solutions based on using the video object, not the Playback component. Thanks

    have been trying this too , the manual says FAT32 files, just my two cents for ya

  • Added movie (already converted to mp4 format) to iTunes library in my PC, syncronized to iPad2, now how to locate and play it in iPad2?

    Added movie (already converted to mp4 format) to iTunes library in my PC, syncronized to iPad2, now how to locate and play it in iPad2?

    On your computer's iTunes if you select that video and do 'get info' (control-I), then on the popup on the Options tab change it's 'Kind' to 'Movie' from 'Home Video'.
    To sync it to your iPad, connect the iPad and select it on the left-hand sidebar of your computer's iTunes (if you have iTunes 11 on your computer then you can enable the sidebar via option-command-S on a Mac, control-S on a PC), and then on the right-hand side use the Movies/Films tab to select and sync it to the iPad's Videos app.

  • How can i share m3u8 downloaded video to wats app through video d/l app. application only allow to add mp4 videos to the camera roll and only mp4 video i am able to share. kindly suggest appropriate sollution. Thanks

    how can i share m3u8 downloaded video to watsapp through video d/l app. application only allow to add mp4 videos to the camera roll and only mp4 video i am able to share. kindly suggest appropriate solution. Thanks

    Hello Achates:
    I did not read the rather long post. If you wish to reinstall OS X 10.4, use your software install DVD. Backup is essential. To minimize your risk, I would use an archive and install:
    http://docs.info.apple.com/article.html?artnum=107120
    In that way, you will have a fresh copy of OS X and your current settings will be preserved.
    Incidentally, I do not agree that the printer problem is best solved by reinstalling OS X. I have had HP printers for sometime and, on one occasion, had difficulty after an upgrade. HP technical support walked me through uninstalling all traces of the HP driver and then reinstalling.
    Barry

  • How do I get my MP4 videos to play on an HTML5 player?

    My urls don't work when I put in in a HTML5 player. The player asks us to put the url in between key their code under.
    {mp4remote}http://domain.com/media/paris.mp4{/mp4remote}
    but I see we need a video url with http://  
    and not the url type Azure/storage/mediaservices/containers gave under https://
    Is that the problem?
    https://mediasvc76mwd0vnlqz3l.blob.core.windows.net/asset-00a93272-9432-47a3-b53b-3b97263f0214/designers_CHANEL__film_The_Making_of_film_Reincarnation_%20with_%20Pharrell_Williams_Cara_Delevingne.mp4
    BTW I'm using Joomla configured by Azure. SO my Joomla site is linked to Azure through server name.

    Something like this:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Video Player</title>
        <script src="</script">http://code.jquery.com/jquery-1.9.1.min.js"></script>
    </head>
    <body>
        <video id="videoPlayer" width="420" height="340" autoplay controls onended="getNext()" >
            <source type="video/mp4" >
        </video>
    </body>
    </html>
    <script>
        var videos = ["li-49.mp4", "li-46.mp4"];
        var i = 0;
        var n = videos.length;
        $(document).ready(function () {
            var videoPlayer = document.getElementById('videoPlayer');
            videoPlayer.src = videos[i];
        function getNext() {
            while (i < n - 1) {
                i = i + 1;
                videoPlayer.src = videos[i];
    </script>
    Frank

  • How can I get an mp4 video running on iPad Mini?

    How can I get an mp4 video running on iPad Mini, which is already in the iTunes File?

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • Loading and Playing 2 videos at the same time

    Hello everyone
    I'm having a problem on loading and playing two videos at the same time on XletView.
    The background video, I'm loading by editing channels.xml that is located at config folder into xletview folder. I've just to add the file path and when i start the video it starts playing.
    But now, I have a problem. I have to load a file that is into my HD, and play it at the same time of the main(background) video.
    Do anyone know how to do this?

    anyone?
    PowerBook G4 1.67 GHz Mac OS X (10.4.7) 1.5 GB ram

  • Safari is not playing mp4 videos in iPad 2 (iOS 7.0.4)

    Dear All,
    I am trying to play mp4 videos on Safari in iPad 2 (iOS 7.0.4). The video files are uploaded in AWS. Everything works fine with iPad Chrome Browser. My problem is the videos are not playing on Safari in iPad 2 (iOS 7.0.4). The same videos are uploaded in localhost are playing fine on Safari in iPad 2 (iOS 7.0.4).
    Let me know the solution if some one knows.
    Thanks,
    Muruganandhan K

    Hello, Setya Widya. 
    Thank you for visiting Apple Support Communities. 
    Since you are experiencing multiple issues with Apps that require internet, this sounds like you may have an issue with your Wi-Fi connection.  Try going through the steps in the first article. 
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    I would also attempt to update the device using iTunes on your computer and test accessing these applications after the update. 
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Cheers,
    Jason H. 

  • How can I put an mp4 video on IPad?

    How can I put an mp4 video on IPad?

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • I need to create an APP that runs on an Android Tablet to play mp4 video stored on the SDCARD.  I ha

    I need to create an APP that runs on an Android Tablet to play mp4 video stored on the SDCARD.  I have tried using VideoPlayer and passing NULL to the Connect() method, but while this will play a video from a shockwave SWF it will not play it as an APP from a .apk file.

    There are several apps in the App Store. Look at them to see what might meet your needs. There is a keynote app that might be best for you.

  • I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    video
    What version of Premiere Elements do you have and on what computer operating system is it running?
    Please review the following workflow.
    ATR Premiere Elements Troubleshooting: PE11: Project Assets Organization for Scene and Highlight Grabs from Collection o…
    But please also determine if your project goal is supported by
    a. format of your source
    and
    b. computer resources
    More later based on details that you will post.
    ATR

  • How to embed and launch ipa file from another ipa package created using Air for iOS

    Hi Guys,
    Anybody out there knowing how to embed and launch ipa file from another ipa package created using Air for iOS ?
    I am having 1 ipa file created using Xcode, Now i need to include that file in my ipa Package which is created using Flash CS 5.5 and Air for iOS. Also i need to know how to open my 1st ipa file from AS3 ?
    Thanks,

    Hi Sir,
    Thanks for your reply.
    But in that case user need to download 2 applications right. I need user to download my parent application created using Flash and that package contain one more ipa created using Xcode, so from my parent app only user should able to open my 2nd app. Is there any way to do that?
    Ps:  I am not talking about in-app but 2 individual apps inside one package.

  • Hello, i have youtube videos on my iweb site.  but i would like to know if it is possible to get a 'pop-up' affect when you click on a small photo of the video, to open and play the video in a popup?

    hello, i have youtube videos on my iweb site.  but i would like to know if it is possible to get a 'pop-up' affect when you click on a small photo of the video, to open and play the video in a popup?
    we have tried using video light box, but this doesnt seem to work.

    There's an example of one at the buttom of ths page...
    http://www.iwebformusicians.com/Website-Movie-Video/YouTube.html
    Rather than link to the file, the movie is on a separate web page and uses the code shown on this page...
    http://www.iwebformusicians.com/Website-Photos/Image-New-Window.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Can anybody explain me how to sample and play audio files with logic's EXS2

    can anybody explain me how to sample and play audio files with logic's EXS24 Sampler???
    i cant find a way to upload and manage my own audio content on this sampler...

    i uderstand , thanx...
    i managed to open an audio file and placed it in the sampler,i can play t sample in the little keyboard in the zones section, howver i dont know how to play it with my controller... the sample shows in C1 on logic's keyboard but if i play C1 on my controller nothing happens... how can i fix this?
    Also, i noticed the sample plays from beginning to end once i click on it, how do i do to just make it last until i release the key? like a logic sound??? (in case i want to play a small portion of the sample only)
    Thanx

  • How to convert and edit HD video

    Because of the widely using of HD Camcorder, now it is really convenient to record family parties and other things you are interested in. Nowadays, people would like to share their things with the rest of the world through Internet, such as youtube.com and other video websites.
    This guide aims to show you how to convert and edit the video you recorded using your HD camcorder
    What you need is a powerful HD Converter.
    Step 1: Load Video
    Click “Add File” to load the video that you want to convert.
    Step 2: Choose Your Output Profile and Settings.
    From “Profile” drop-down list you can choose your output profile according to your need.
    You can also click “setteing”adjust the settings of your output video, such as “video/audio encoder”, “Video/audio Bitrate”, “Channels”, “Resolution” and so on..
    Step 3: Video Editing.
    This powerful MTS Converter allows you to do many video editings.
    1. Click "Effect". to make special effect for your movie.
    You can adjust the “Brightness”, “Contrast”, “Saturation” and also you can use “deinterlacing” to improve you output effect.
    2. Trim: .
    “Trim” function allows you to pick up any part of your video to convert. You can just convert a part of your video that you want.
    3: Crop: .
    Cut off the black edges of the original movie video and watch in full screen on your iPod using the "Crop" function.
    Step 4: Conversion.
    After you have done all the steps above you can click “Start” button to start your conversion.
    Here I also recommend you some High Definition video converter, MTS Converter, M2TS Converter.
    Hulu Downloader
    Total Video Converter
    Best DVD Ripper

    @ Tamwini
    Your only goal is to sell software.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

Maybe you are looking for

  • Time Capsule vs. Airport Extreme + External HD

    Hi folks, please let me know if there is a better place to post this question. I need a backup system for my mac and I would also like a wireless router (don't need the wireless router at the moment but expect that I will need it in the near future).

  • Calling search helps dynamically

    Hi all, I have two search helps. I need to call these search helps in my Application dynamically for a single field (PARNR) based on PARVW. If it is a single search help, we can assign that in field attributes. But here... I need to call different se

  • Need to fix Error 1009 for very simple task!

    Hi to all, I'm learning AS3 for the first time so that I can make a game, but I'm stuck on the most basic of tasks! What I want to do is be able to click on a button to take me to the next frame of the main timeline, which I've called "gameboard". Th

  • Once more about "black" and "white" file lists.

    Hello everyone! I've got a task to find all unauthorized  executables on all workstations in domain. The good point is that workstations are identical to each other (both hard and soft), bad point is that I have to find the existence of this files on

  • Parsing "~" in the File class

    On the same (Linux) computer, sometimes, new java.io.File("~").isDirectory() returns 'true' and, sometimes, it doesn't. To be clearer, in some programs it returns true and in other programs it doesn't. This is driving me crazy! PS. I know I should be