How can I play video on Android using native player?

Is there a way to tell android to open my mp4 (either in assets or on external sd)  with it's native video player?
Just like if I tap this (mp4) file in any android file manager.
reasons:
1 - I don't want to write my own player (especially when I have one built in)
2 - I assume playback experience may be better when playing large file NOT through the AIR.
So, can I  make something like "NativeApplication.execute(pathToMp4)"?

Check the hardware acceleration mode you have set. Try to use "direct" acceleration as this will choose between GPU and CPU to render and is most compatible. The setting is in the XML file generated for the app:
<!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
<renderMode>direct</renderMode>
And no the device is absolutely not guaranteed to record compatible video at all. Browsers go by browser standards and video recording goes via manufacturer hardware and software limits, features and compatibility. It entirely depends on what you're doing with the video and the mode it is recorded in. If the user checks off the record CIF MMS compatible video and records in that it will not be visible to many browsers. Audio is almost always recorded in ultra-light mp3 or aac so that's why you hear it.
Android allows you to install many different browsers. Did you install any or set any other browser as the alternate default browser? When you run the video from a file manager you may be running an alternate, capable browser for the codec. AIR may use the native built-in browser. Also it may not load the video into a browser for playback at all as I would suspect a video would be mapped to the devices default media player and not a browser at all. Unless you're able to select the video and explicitly tell it to open in a browser I feel you're actually looking at the video in the "Video" app of your device, which will be compatible with the codec.
A simple way to check browser compatibility is to copy the video to your computer, upload it to a web server and see how it plays on various desktop browsers. If any of them have black video and only play sound, you know it's a codec issue.

Similar Messages

  • How can i play online radio stations using media player on my Mac?

    I'm trying to listen to a local radio station online but when I click the listen live link it just brings me to a blank screen, I've downloaded a Mac compatible "Media Player" but not sure how to get this specific webpage to lauch using that? This may be a simple anwser but i'm stumped!!

    What do you mean Keynote "son't open the DVDs"? That doesn't make sense. It's not up to Keynote to open the DVDs. The file that are ON the DVDs, yes. The DVDs, no. What kind of files are they, exactly?
    Try downloading Open Office and see if you can open them with Impress, the presentation program included with the Open Office package.
    If that won't work, you can get a 1 month trial of Office365 from Microsoft. It's $9.99 a month after the trial ends.

  • CAn someone help? How can i play videos on my iPod through three ordinary TVs at once?

    Can anyone help please? How can I play videos on my iPod through three non Apple TVs at the same time?

    i had this pb with my sis ipod, you have to convert the videos to put them on the ipod, here is the french tuto (never found it in english, and this always works).
    http://www.zdnet.fr/produits/materiels/baladeurs/0,39049657,39295399,00.htm
    you have to install avs video converter and then well im not going to translate everything but it explains you all the settings to put to have a video for you ipod. after it was converted like the website says open itunes and then drop the conveerted file to itunes and it will work (well it did with me)

  • I have made a slide show using iPhoto - how can i play this on s standard DVD player connected to a standard TV?

    I have made a slide show using iPhoto - how can i play this on s standard DVD player connected to a standard TV?

    Try posting in the iPhoto forum where those experts are.

  • How can I play video by touching the button on the video thumbnail ?

    I have a table view in which if each cell is touched a video plays.
    Each cell have image of the video cell.imageView.image. And on the image I have a button (UIButton) with play symbol.
    If I touch the play button the corresponding video should be played same like the when cell is touched.
    I have a selector for the play button. But how can I know that particular row is selected by touching the play button. How can I play the video when I touched the button ?
    Thank You

    Check the hardware acceleration mode you have set. Try to use "direct" acceleration as this will choose between GPU and CPU to render and is most compatible. The setting is in the XML file generated for the app:
    <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
    <renderMode>direct</renderMode>
    And no the device is absolutely not guaranteed to record compatible video at all. Browsers go by browser standards and video recording goes via manufacturer hardware and software limits, features and compatibility. It entirely depends on what you're doing with the video and the mode it is recorded in. If the user checks off the record CIF MMS compatible video and records in that it will not be visible to many browsers. Audio is almost always recorded in ultra-light mp3 or aac so that's why you hear it.
    Android allows you to install many different browsers. Did you install any or set any other browser as the alternate default browser? When you run the video from a file manager you may be running an alternate, capable browser for the codec. AIR may use the native built-in browser. Also it may not load the video into a browser for playback at all as I would suspect a video would be mapped to the devices default media player and not a browser at all. Unless you're able to select the video and explicitly tell it to open in a browser I feel you're actually looking at the video in the "Video" app of your device, which will be compatible with the codec.
    A simple way to check browser compatibility is to copy the video to your computer, upload it to a web server and see how it plays on various desktop browsers. If any of them have black video and only play sound, you know it's a codec issue.

  • How can I play videos using VLC in iPad Mini?

    I am unable to play videos in VLC.
    Videos are not added to VLC library.
    It is asking to sync videos via iTunes.
    But i am unable to.
    Please let me know how to do that.

    To get to street view in Google Maps, you need to either tap on a point of interest or enter an address, once the address is found you can tap on the marker to bring up the option, or just drag the bottom option bar up to reveal the street view button.

  • How can I play video/audio to an AV Receiver?

    I have my iMac connected to a Denon AV receiver and the properties of the AV receiver show up under display properties in system preferences. I have the obtion to mirror the display but when I do, nothing comes through on my home theatre system.
    I just cannot figure out how to get the video and audio to play on it now.
    The Denon is connected via a mini display port/HDMI cable.
    Any help would be greatly appreciated.

    Not sure I fully understand the problem.  Does it not work when you take it out of mirrored and run the two displays in extended display mode (use Arrangment to arrange the two monitors)?  Of course you need to chang your Sound preferences to use the hdmi conneciton as well.

  • How can I play video on my iPhone and have it display on my iMac?

    I don't own a tv.  But I do own an iPhone 5s and an iMac.  I'd like to mirror the video I have access to from my phone onto the iMac.  How can I do this?

    Hello Kailua,
    I know that you can mirror you iPhone's display onto a Apple TV, as can you with the Mac, but I do not think you can mirror your iPhone to your iMac.
    Sincerely,
    Devin

  • How can I play video in an HTML article targeting a Samsung Galaxy Tab

    I am trying to play video in an HTML article using the <a href="videofile://...m4v"> method but no there is on action on the link when I try to run the app on the Samsung Galaxy Tablet.
    I've also tried to link to an html file that contains the html video tag. That method only shows the controls and plays the audio, unless you click the full screen control, at which point it will play the video and audio.
    Snippet of the html video tag:
    <video id="video02" controls>
                     <source src="../../HTMLResources/common/videos/video.m4v">
                    <source src="../../HTMLResources/common/videos/video.ogv" type="video/ogg">
    </video>

    Not sure I fully understand the problem.  Does it not work when you take it out of mirrored and run the two displays in extended display mode (use Arrangment to arrange the two monitors)?  Of course you need to chang your Sound preferences to use the hdmi conneciton as well.

  • How can I play an audio signal using DAQ or other way?

    I'm designing a Voltage control amplifier. as shown in the attachment, I have a speaker connected to the power amplifier but all i have is noise. I like to know how can I put an simple audio to my circuit. My audio input is generated by the function generator. I only have a simple labview program which control my voltage input as attached.
    Attachments:
    Untitled.png ‏78 KB
    DAQOutputControlVCA.vi ‏45 KB

    No problem, your questions are not stupid. I just want to be sure you're digging into the examples and learning from them (they're a great resource).  
    The sound card outputs should be good enough to drive your circuit.  Most cheap cards or built-in audio chips have a jack for line out and headphones (which is just the line signal through a buffer amp so you have volume control).  Either on should work for your purpose.  The line out should give you a volt or more at reasonable current levels. There also MIGHT be a low frequency filter on the output meaning that you won't be able to output DC levels or very slow (<20Hz) AC.
    The jacks themselves usually have the signals (Left and Right) on the center conductors and the return is the barrel but you might want to look up your card's specs or probe the outputs before you connect anything to your circuit.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • How can I play my ipad through my dvd player

    How an I play my ipad music through my dvd player or hi fi?

    If you're just looking to play audio, the easiest way is to buy an AirPort Express and connect your stereo to the miniplug jack, then play using AirPlay. That's how I do it! And as an added bonus, it can extend your wireless network.
    http://www.apple.com/airportexpress/
    An AppleTV would work too, if you're also looking to stream video.
    http://www.apple.com/appletv/

  • How can I play a movie in iTunes mini player?  (Progress bar button broken?)

    It took forever to figure out how to get iTunes to even OPEN a new window for movie playback, but once I finally found instructions (click the button with movie art to the left of the progress bar to open in new window) they only partially worked.  A new window opens, but movie playback continues in the main window.  The new window shows a freeze frame of the scene displayed at the moment I clicked the progress bar button.  The new window looks just like the mini player, and its control buttons work, but they effect the main window's movie playback not the new window/mini player where I want to watch the movie.
    Is it my progress bar that's broken?  I'm all updated with iTunes version 11.1.5.  Does this version not play well with my OS X 10.6.8?
    Ultimately I just want to be able to play a movie in the mini player while using other applications; surely that's possible.
    [Also, on the "Operating System" dropdown menu below, I just selected OS X 10.6.8 and then the dropdown showed "No operating system selected" and the selection arrows no longer work.  Any ideas what happened?  My MacBook Old feels so janky right now.]

    You need to convert the AVI file to MP4.  Here is just one of the many converters available (via Google) http://www.divx.com/en/software/divx-plus/oca/mp4-converter?gclid=CJnqnpaF37gCFc fJtAod8RUAeg

  • How can I play videos on my Mac using my iPad?

    I have videos on my Mac mini that I want to watch on my iPad. All devices are on the same network.

    i had this pb with my sis ipod, you have to convert the videos to put them on the ipod, here is the french tuto (never found it in english, and this always works).
    http://www.zdnet.fr/produits/materiels/baladeurs/0,39049657,39295399,00.htm
    you have to install avs video converter and then well im not going to translate everything but it explains you all the settings to put to have a video for you ipod. after it was converted like the website says open itunes and then drop the conveerted file to itunes and it will work (well it did with me)

  • How can i play video from another service?

    i have 2 services, fe A and B, and i want to create a player in service A to play a video component. I have tried to put 2 video components in service A but nothing was played.
    in this case the code used was:
    mediaLocator = new MediaLocator("dvb://1.1.1.1");
    player2 = Manager.createPlayer(mediaLocator);
    I tryed it in another way, with "ServiceContextFactory.getInstance().getServiceContexts();"
    but service context array length was 1 (and there's 2 services). I think the problem is that my service/app does'nt have permisions to catch te neighbour service context or video component.
    some one can help me to do this?

    well i found the way!!
    first, i created a player instance from current service. i stopped it, and made a player.deallocate() to later make a player.setSource(). passing a media locator.
    :)

  • Can't play videos in MobileMe using IE7 and QuickTime 7.6.8

    I am running Windows XP SP3, and have installed QuickTime 7.6.8. When I try to view a video in MobileMe that was created by a relative, I get a message saying that I need to have QuickTime 7.2 installed, and the video will not play. In fact, I have QuickTime 7.6.8 installed, so I don't know why I am getting this error message. I have looked in Internet Explorer add-ons, and there are no add-ons listed from Apple under the "currently loaded" tab. The QTPlugin.ocx is listed in the "add-ons that have been used" tab. Oddly enough (or not), the same video plays fine in Firefox, and looking at the add-ons in Firefox, it does list the QuickTime Plugin 7.6.8 that IE7 does not list.
    Would really appreciate any help in resolving this! Thanks!

    I get a message saying that I need to have QuickTime 7.2 installed, and the video will not play. In fact, I have QuickTime 7.6.8 installed, so I don't know why I am getting this error message.
    Are you able to open the QuickTime Player, rick? If so, does it tell you your QuickTime is out of date too (even though you've got a 7.6.8 installed)?

Maybe you are looking for

  • I'm looking for an app to help with math tutoring.

    I doubt that I will find exactly what I am looking for, but if anyone can provide suggestions, I would appreciate it. Groupboard is close, but has a few fatal flaws. Criteria List(required): Whiteboard where I can see what my student is writing in re

  • Adding commands to a canvas

    when the canvas is set to full screen and commands are added to it, the menu will appear if you press either the left or right button near the screen.. is it possible to make it appear only when the left button is pressed and not the right?

  • Why in the SAP SRM  books inforecord is not a  source of supply in classic

    Hi All i have read many SAP Press books and materials but no where officially mentioned INFORECORD as source of supply but we could use INFORECORD as source of supply in the classic. Why SAP did not agree inforecord is a valid source of supply in any

  • Setting Keynote as default .ppt application

    Is there any way to set Keynote as the program that opens .ppt files? I know you can set the default for specific files, but is there a way to make it a default for all ppt, even with powerpoint installed? I'm using an Air, 13 in, 1.4 i5, 4GB ram. I

  • Organizational Structure Ppoma_CRM????

    Hi! I have an organizational Unit (Sales Organization) that is it not use any more. But in transaction BP it's still appearing in Sales Organizational screen as an option. We have CRM 3.0 and in Ppoma_crm we have an option to deactivate it: "Object p