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:
parent
2cd49b53fd
commit
a1090a1639
@ -133,6 +133,11 @@ class VideoPlayer extends Component {
|
|||||||
description: 'sintel with subtitles',
|
description: 'sintel with subtitles',
|
||||||
uri: 'https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8',
|
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',
|
description: 'BigBugBunny sideLoaded subtitles',
|
||||||
// sideloaded subtitles wont work for streaming like HLS on ios
|
// sideloaded subtitles wont work for streaming like HLS on ios
|
||||||
|
Loading…
Reference in New Issue
Block a user