[ 
https://issues.apache.org/jira/browse/CB-6079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910512#comment-13910512
 ] 

Joe Bowser commented on CB-6079:
--------------------------------

No, it doesn't.

src="files/HLAAOV113A130003.mp4" means that it's using the Android assets, so 
that would be:

src="file:///android_asset/www/files/HLAAOV113A130003.mp4"

Which won't work, because that's not a real file location, it's an alias to the 
assets directory in the APK itself and it has to be extracted out.  The video 
tag doesn't support these assets.  I don't think you should be able to use your 
application's assets as a source for video files, since this makes your 
application ridiculously large.  Videos should be fetched on their own and 
stored on the SD card.  I wouldn't even put these things in internal storage.

> Android video mediaplayer error
> -------------------------------
>
>                 Key: CB-6079
>                 URL: https://issues.apache.org/jira/browse/CB-6079
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.3.0
>         Environment: OSX 10.8.5, Android Developer Tools
>            Reporter: Arnout
>              Labels: Android, Video
>             Fix For: 3.3.0
>
>
> I have a project with HTML5 video playback.
> On iOS everything works great, but if I build the same project for Android 
> the video doesn't want to play.
> This is the error I get in LogCat: "Mediaplayer Error (1, -2147483648)".
> I tried to play the video with another plugin but without result.
> Installed platforms: android 3.3.0, ios 3.3.0
> Installed plugins:
> jaeger.Html5Video',
> 'org.apache.cordova.device',
> 'org.apache.cordova.file',
> 'org.apache.cordova.inappbrowser'



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to