[AC-1420] VideoPlayer is not working on Android 5.0 Lollipop
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2015-05-18T04:06:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | lollipop, videoplayer |
Reporter | Harish Mridha |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-03-24T09:02:25.000+0000 |
Updated | 2016-03-08T07:37:50.000+0000 |
Description
Hi ,
Titanium.Media.createVideoPlayer is not working properly on Android 5.0 Lollipop with Ti SDK 3.5.0.GA and 3.5.1.GA but its work fine on 4.x and iOS also .
Sample code
var vidWin = Titanium.UI.createWindow({
title : 'Video View Demo',
backgroundColor : '#fff'
});
var videoPlayer = Titanium.Media.createVideoPlayer({
top : 2,
autoplay : true,
//backgroundColor : 'blue',
height : 300,
width : 300,
mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,
scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT
});
videoPlayer.url = 'http://test......../video/...Interview.mp4';
vidWin.add(videoPlayer);
vidWin.open();
Duplicate of linked