[TIMOB-20248] iOS: Alloy - Video Player with Remote/Local Url call in index.js with Activity Indicator causing video not showing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Shawn Lan |
Assignee | Unknown |
Created | 2016-01-07T20:14:53.000+0000 |
Updated | 2018-02-28T19:55:57.000+0000 |
Description
If in the Alloy Markup, the video player adds Activity Indicator as a child, the video plays but no image.
<VideoPlayer id="videoPlayer" ns="Ti.Media" fullscreen="true">
<ActivityIndicator id="actInd" style="Ti.UI.ActivityIndicatorStyle.BIG" />
</VideoPlayer>
Hello, I tried to reproduce the issue with both Alloy and Classic project in SDK 5.1.1.GA. I was unable to do so. The video player plays fine with Activity Indicator as a child.
Code Sample
Alloy
Classic
Environment
Mac OS X Appcelerator Command-Line Interface, version 5.1.0 Titanium CLI Version = 5.0.5 SDK Version = 5.1.1.GA iOS 9.1 Thanks.Hello, Try set the url in the controller js, not in the view xml. I test it with a remote url, not a local file. Not sure if it matters. The video plays with no images.
Although I tested with remote URL, it doesn't mean local files won't have this issue. Thanks.
Hello [~shawnlan], I tested this with local Url defined in index.js. It looks like this is also happening with local url defining in index.js file. So the problem here is with where you are calling the url property for video player. I am re-editing the title.
[~sdarda] so you are saying that in BOTH ALLOY and CLASSIC, if activity indicator is set, it will fail?
Tested it again recently with SDK 5.5.0. With or without activity indicator set, as long as I have