[TIMOB-13746] Android: Controls does not show on start of Ti.Media.VideoPlayer when playing MP3.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-09-11T00:21:07.000+0000 |
Affected Version/s | Release 2.1.4, Release 3.0.2, Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | android, controls, mp3, videoplayer |
Reporter | Meenakshi Pathak |
Assignee | Biju pm |
Created | 2013-05-02T12:05:53.000+0000 |
Updated | 2017-03-22T20:55:33.000+0000 |
Description
The default behavior of TI.Media.VideoPlayer on Android shows no control on start. Users have to click the video to bring up the control.
Here is a test case:
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 = 'clipcanvas_14348_H264_640x360.mp3';
vidWin.add(videoPlayer);
vidWin.open();
Note: This behavior is noticed only when playing MP3 files.
PR :- https://github.com/appcelerator/titanium_mobile/pull/4522
I'm not so sure if this is a "bug". There's nothing in the documentation and based on current implementation, the behavior is by design.
I am having this problem right now. In my case, controls (seek bar) does not show and a black screen appear on start of Ti.Media.VideoPlayer. I want to get rid of that black screen.
Closing ticket as invalid with reference to the above comments.