[AC-570] iOS: Alloy - Video Player with Activity Indicator causing video not showing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-01-17T09:52:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy, Titanium SDK & CLI |
Labels | n/a |
Reporter | Shawn Lan |
Assignee | Shak Hossain |
Created | 2016-01-16T00:21:47.000+0000 |
Updated | 2016-01-17T09:52:05.000+0000 |
Description
If in the Alloy Markup, the video player adds Activity Indicator as a child, and the url is set from the controller, the video plays with no image.
Please note that I use a remote url in the sample below.
index.xml
<Alloy>
<Window>
<VideoPlayer id="videoPlayer" ns="Ti.Media" fullscreen="true" autoplay="true">
<ActivityIndicator id="actInd" style="Ti.UI.ActivityIndicatorStyle.BIG" />
</VideoPlayer>
</Window>
</Alloy>
index.js
$.videoPlayer.url = 'http://techslides.com/demos/sample-videos/small.mp4';
$.index.open();
No comments