Trouble playing .MP4 video embedded in html5 in UIWebview

i have html5 files offline with .mp4 video embedded into it. When i load this html5 file into uiwebview, video does not play.
<div id="video">
<video src="_media/_videos/Page-02.mp4" type="Video/Mp4" autoplay width="1024" height="768"></video>
</div>
in viewdid load i have
NSString *path=[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html" inDirectory:@"LANDING-PAGE-02"];
    NSURL *url=[NSURL fileURLWithPath:path];
    NSURLRequest *request=[NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
this opens html pages without including video into it, but when video is present its not getting played.

Hi ,
The issue is with the iOS 5 and if you try to play the video in iOS 6 it will solve the problem

Similar Messages

  • Blackberry having trouble playing youtube videos

    I own a blackberry curve 8530 and its having trouble playing youtube videos. It plays youtube videos up to 59 seconds and then it stops. It gives me the same error message saying:
    "An error has occured attempting to play the media".
    I have tried turning on and off my phone, pressing alt+enter+del, and doing the battery pull. None of those methods have worked.
    Has anyone had this problem, and if so, how did you fix it? Ive pretty much have tried everything i could think of and none of the forums seems to have a solution.
    Is the phone the problem or is youtube?
    If you know of the solution, your help will be greatly appreciated.

    Hello hashbrown602,
    The following post by Cory from the Inside BlackBerry Help Blog outlines a few steps you can try to successfully play videos from YouTube.
    http://helpblog.blackberry.com/2011/03/watch-youtu​be-on-blackberry/
    If you still have issues after going through each of the steps, you may want to contact your wireless service provider to check your data plan settings.
    Cheers,
    -FB
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click "Accept as a Solution" for posts that have solved your issue(s)!

  • 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 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

  • On my Ipad I seem to be having a problem when trying to play YouTube videos embedded on Facebook.   When I click the links, I get a message saying: "Flash Player upgrade required."   and under it, it says, "You need to download and install the lastes vers

    On my Ipad I seem to be having a problem when trying to play YouTube videos embedded on Facebook.
    When I click the links, I get a message saying: "Flash Player upgrade required."
    and under it, it says, "You need to download and install the lastes version of Adobe Flash Player to view this content"
    and also a green button saying "Get Flash Player"
    I get this if using chrome or safari .
      I can go direct to YouTube it just works.

    The Facebook link to the video is accessing an Adobe Flash video.  Unfortunately, no iOS devices can play flash. 

  • 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.

  • Trouble playing back videos on my iPod touch

    I recently started having trouble playing back video on my iPod touch. I have the most recent versions of iPod software, iTunes, and Quicktime. The video podcasts sync just fine but only play audio...no video. I basically get the first frame of the video and that's it. I have tried restoring the iPod, resetting it, deauthorizing/reauthorizing my iMac (using Leopard), etc. Nothing works. Interestingly, my wife has a nano and she suddenly cannot sync videos even though it was working fine just 2-3 weeks ago. These are basic m4v files that are downloaded from iTunes, so they should work. I believe this started after the last iPod software update but I can't be certain. Is anyone else having this problem?

    Try starting video playback under the video section-not the audio section.

  • 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?

  • Trouble playing any videos on Macbook Pro

    So 2 months back, my macbook pro is having trouble playing any type of flash videos, from youtube, embedded videos, pretty anything with flash. flash player is up to date, i can surf the internet and do my work flawlessly but as soon as i start a video, the mbp starts to slow down and the video starts getting choppy. Not sure what else to do before giving up and going to the apple store. I've shut it down and restarted it still having issues. any help would be appreciated! Running OS X 10.8.2

    I have been having these same problems. Currently, playing YouTube videos in HD, is not viewable, so I have to watch videos in 240p (gross). My thought is that YouTube has shut down some of the servers in order to push some kind of update. My advice, just wait out the storm and see what happens over the next few days. If the issue is still not fixed, I would suggest contacting Google. In the meantime, you could try and reinstall Flash Player, or change browsers, but from my experience, none of that worked.
    Best of luck!

  • How to play MP4 video in SharePoint 2013?

    I want to play different videos in SharePoint 2013. I have added three videos in different formats in the Asset Library. One WMV and two MP4.
    When i click om the WMV video in the library, it start to play ok. And I can put the video in a published page and it works ok.
    But if I click on one of the MP4 video, I got the error message "Media failed to load. This file is in a format that is not recognized". What do I have to do to make it work? (If I try to start the MP4 video from my computer it works ok)

    Hi Ona-M,
    Did all MP4 videos occur this issue?
    Please install the Silverlight on your computer, check if the MP4 videos could be played.
    http://blogs.office.com/b/sharepoint/archive/2013/03/08/enhanced-video-experience-in-sharepoint-2013.aspx
    http://msdn.microsoft.com/en-us/library/cc189080(VS.95).aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Version 10,0,32,18 fails to play MP4 video 10,0,22,87 does

    Does not work to play MP4 on websites
    example www.30atelevision.com
    version 10,0,32,18 installed -- this in on my computer
    It appears in fact that the file TIMELINE plays, but does not deliver video or audio.
    Works
    version 10,0,22,87 installed -- This will play MP4 as does Flash player 9.
    having Air installed appears to worsen situation
    Yet again ADOBE releases a product that is not backward compatible.
    Post solutions to help address this issue

    We are having the same issue
    We are using basic MP4 with H.264 codec as well
    www.30atelevision.com is where our player is
    all fine til the latest update.
    Adobe claims its not Flash Player. We are not convinced, as we have checked numerous files, reencoded and so on.
    I dont think they fully tested to confirm our suspicions. If we find a cure or have further information we will post it
    We do thank Adocbe for at least responding. Further checking is needed for this suspected bug

  • Powerpoint 2013 fails to play MP4 Video

    We are unable to play a MP4 video in a presentation that I am creating in PPT 2013, it just says "unable to play video".
    The video itself plays fine using Windows media player and I have managed to get Powerpoint to play the MP4 video when we changed the Media player with in PPT to use Windows media player.
    The presentation does play WMV videos fine also.
    Has anyone had this issue or can advise please.

    Hi,
    Is MP4 the only format of video that cannot be played in PowerPoint 2013?
    In PowerPoint 2013, .mp4 videos encoded with H.264 video (a.k.a. MPEG-4 AVC) is recommended. However, even though the video file has the .mp4 extension, it may not play correctly if you don't have the correct version of the codec installed, or
    if the file is not programmed in a format that is recognized by your Windows system.
    You might want to convert your MP4 video to a more compatible video format supported by PowerPoint, for example AVI, WMV, ASF, MPG, then try again.
    More reference on
    Video and audio file formats supported in PowerPoint.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Possible to play mp4 video uploaded to CC storage from my ipad?

    Uploaded mp4 video to my cloud storage for a client to review on ipad. Can't seem to play the video or download it though the ipad. Any ideas?

    I don't know which one to suggest, but I think you need a program forum for whatever Adobe apps you have on your ipad... maybe the digital editions forum or the touch apps forum?
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Troubles with MP4 Video with iTouch V2 &  iTunes V8

    I'm experiencing some issues since i've upgraded my iTouch 32G to OS V2 and iTunes to V8
    I can't synchronize my own mp4 video anymore.
    I Can view them with iTunes on my computer
    But there are not listed on my itouch... There are invisble
    Did somebody has encoutered something like that ?

    Not ALL MP4 can play on the iPhone (or, for that matter, any phone). MP4 supports a wide variety of resolutions and bitrates that are simply outside the capacity of the device to play back (and for that matter, you can use some MP4 features that don't apply to phone playback).
    Anyway, the simple thing to do in iTunes is to select the video and then go to the Advanced menu and select "Make iPad / iPhone version" (or something like that). Then, sync.
    Sepcifically, the iPhone 4 supports:
    H.264 video up to 720p, 30 frames per second, Main Profile level 3.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

  • As3 I need to play mp4 video! I use FileReference (ByteArray)

    This code do not work:
    data - ByteArray
    var nc:NetConnection;
                                  var ns:NetStream;
    ns.appendBytes(data);
    nc=new NetConnection();
                                            nc.connect(null);
                                            ns=new NetStream(nc);
                                            var video:Video = new Video();
                                            video.attachNetStream(ns);
                                            ns.play(null);    
    addChild(video);
    Help me!

    1. appendBytes understands FLV only by default.
    2. In order to play mp4 (or any other than FLV format) you need to use appendBytesAction(NetStreamAppendBytesAction.RESET_BEGIN) so that Flash reads file correctly. This is quite a flaky proposition anyway.
    3. appendBytes must be called after play(null) is called. Otherwise Flash throw an error.
    Correct sequence:
         ns.play(null);
         ns.appendBytes(ba);
    Incorrect sequence:
         ns.appendBytes(ba);
         ns.play(null);

Maybe you are looking for