chore(examples/basic): add startPosition sample (#3718)

* fix(ts): onPlaybackRateChangeData was not correctly typed

* fix: ensure tracks are well displayed in the sample

* fix: fix sample style & avoid changing channel onEnd when looping is enable

* chore: add startPosition in the sample

* chore: update startPosition for easier testing
This commit is contained in:
Olivier Bouillet 2024-04-26 09:43:39 +02:00 committed by GitHub
parent 2cd49b53fd
commit a1090a1639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,6 +133,11 @@ class VideoPlayer extends Component {
description: 'sintel with subtitles',
uri: 'https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
},
{
description: 'sintel starts at 20sec',
uri: 'https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
startPosition: 50000,
},
{
description: 'BigBugBunny sideLoaded subtitles',
// sideloaded subtitles wont work for streaming like HLS on ios