Titanium JIRA Archive
Appcelerator Community (AC)

[AC-570] iOS: Alloy - Video Player with Activity Indicator causing video not showing

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-01-17T09:52:05.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsn/a
ReporterShawn Lan
AssigneeShak Hossain
Created2016-01-16T00:21:47.000+0000
Updated2016-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();

Comments

No comments

JSON Source