Problem
The settings
- initialPlaybackTime
- endPlaybackTime
don't work for the video player. The initialPlaybackTime is ignored and the endPlaybackTime isn't even set in the video player.
Test case
Run this app with iPhone simulator 5.1 and then enter any seconds you want to use.
Then while the video is played, you can click on the video to see the current playback time, the set initialPlaybackTime and the set endPlaybackTime.
endPlaybackTime is always NaN. And initialPlaybackTime is correctly set, but ignored by the video player.
app.js is attached to this ticket.
Logs
[INFO] playback time: 2239.325638
[INFO] initial playback time: 10000
[INFO] end playback time: NaN
[INFO] playback time: 4350.692946
[INFO] initial playback time: 10000
[INFO] end playback time: NaN
[INFO] playback time: 6679.456934
[INFO] initial playback time: 10000
[INFO] end playback time: NaN
Invalid, According to the documentation: endPlaybackTime: On iOS, defaults to NaN, which indicates natural end time of the movie. Changing the value to a value less than duration causes the movie to stop playing at the specified point. On iOS, this value is not applicable to streaming media, so NaN is returned if the current media is being streamed. initialPlaybackTime: Defaults to NaN in iOS and 0 in Android, indicating the natural start time of the movie.
Invalid issue.