Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5588] iOS: Videoplayer's native control is not working properly

GitHub Issuen/a
TypeNew Feature
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2018-02-09T18:00:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsn/a
Reportershumne
AssigneeShak Hossain
Created2018-02-09T13:28:05.000+0000
Updated2018-02-09T18:00:58.000+0000

Description

We have using the Demo code. var vidWin = Titanium.UI.createWindow({ title : 'Video View Demo', backgroundColor : '#fff' }); var videoPlayer = Titanium.Media.createVideoPlayer({ top : 2, autoplay : false, backgroundColor : 'blue', height : 300, width : 300, mediaControlStyle : Titanium.Media.VIDEO_CONTROL_EMBEDDED, scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT, showControl : true }); videoPlayer.url = '\video.mp4'; vidWin.add(videoPlayer); vidWin.open(); Now we can click on the fullscreen buttton. At the bottom, there are forward/backward and pause button. Pause button works properly. but forward and the backward button does nothing and video gets stuck. Also, there is one more issue if we give background color as black or any other it does not show the default loading indicator at all. It shows only when the background color is blue. Please let me know if I am missing anything. Thanks.

Attachments

FileDateSize
Simulator Screen Shot - iPhone 6 - 2018-02-09 at 18.53.10.png2018-02-09T13:26:15.000+000060035
Simulator Screen Shot - iPhone 6 - 2018-02-09 at 18.54.06.png2018-02-09T13:26:11.000+000038964

Comments

  1. Hans Knöchel 2018-02-09

    Hey there! It is a known issue that happens when you set the url property after creating the video-player. There are two workarounds until this is fully fixed: - Set the url property on creation of the videoplayer - Create a new videoplayer when you need to change the URL afterwards.
  2. Hans Knöchel 2018-02-09

    Duplicate: TIMOB-25566

JSON Source