Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1420] VideoPlayer is not working on Android 5.0 Lollipop

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2015-05-18T04:06:31.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelslollipop, videoplayer
ReporterHarish Mridha
AssigneeRadamantis Torres-Lechuga
Created2015-03-24T09:02:25.000+0000
Updated2016-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();

Comments

  1. Ingo Muschenetz 2015-05-18

    Duplicate of linked

JSON Source