[
https://issues.apache.org/jira/browse/CB-238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435894#comment-13435894
]
Steren Giannini commented on CB-238:
------------------------------------
Indeed, the Android 2.x Webview cannot play videos. But it can be customized to
do so. This is what is done on Android's browser.
The Webview calls "onShowCustomView" giving it a video player View that needs
to be displayed by the application outside the Webview.
I worked on this issue and created a version of cordova for Android that can
play videos. You can try a working version in our branch:
https://github.com/joshfire/incubator-cordova-android
I created a Pull Request on github:
https://github.com/apache/incubator-cordova-android/pull/43
> Unable to Play Youtube or Vimeo Videos in Android App
> -----------------------------------------------------
>
> Key: CB-238
> URL: https://issues.apache.org/jira/browse/CB-238
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.4.0
> Environment: Mac OS X 10.6.8
> Eclipse SDK, Version: 3.7.0, Build id: I20110613-1736
> Android 2.2
> Reporter: Adam Arsenault
> Assignee: Joe Bowser
>
> I am trying to play a video in my app using the Youtube or Vimeo iframe embed
> code. The video thumbnail appears and I can click play, but the video never
> actually plays in the simulator. The exact same code works in the Android
> browser, but as soon as I embed the code into phonegap, the videos do not
> play.
> I have done a bunch of searching around the web and it seems like this is a
> common problem. Do I have to enable anything special to make this work. It
> also works great in iOS...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira