Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4577] InitialPlaybackTime of videoPlayer not working on IOS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2016-10-25T15:04:29.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAlloy
Labelsn/a
ReporterJuan Evangelista
AssigneeShak Hossain
Created2016-10-24T09:56:36.000+0000
Updated2016-10-25T20:57:03.000+0000

Description

The initialPlaybackTime property of video player does on IOS not work consistently. Instead of starting from this time, it always starts from the beginning The issue does not occur on Android. Steps to Reproduce: 1. Create a project with code below and install it on iOS device Index.xml             http://0.s3.envato.com/h264-video-previews/80fad324-9db4-11e3-bf3d-0050569255a8/490527.mp4"                      height="300" width="300" initialPlaybackTime="20000">     Index.js $.index.open(); 2. Run project Actual Result =========== The video plays from the beginning Expected Result: ============= The video should start to play from 20 seconds.

Comments

  1. Hans Knöchel 2016-10-25

    When you use the property initialPlaybackTime you need to specify a local video, because you may not have the remote video data already when creating the video player. So in this case, you way want to check out the Ti.Media.VideoPlayer events and use the setCurrentPlaybackTime to set the playback time after the video buffer is available. Thx!

JSON Source