chore: add custom titles, description and chapters
This commit is contained in:
@@ -13,11 +13,26 @@ export default function App() {
|
||||
uri: 'https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
|
||||
// uri: 'https://sample.vodobox.net/skate_phantom_flex_4k/skate_phantom_flex_4k.m3u8',
|
||||
// type: 'm3u8',
|
||||
title: 'Custom Title',
|
||||
subtitle: 'Custom Subtitle',
|
||||
description: 'Custom Description',
|
||||
}}
|
||||
style={[styles.fullScreen, StyleSheet.absoluteFillObject]}
|
||||
controls
|
||||
fullscreen
|
||||
resizeMode={'contain'}
|
||||
chapters={[
|
||||
{
|
||||
title: 'Chapter 1',
|
||||
startTime: 0.0,
|
||||
endTime: 20.0,
|
||||
},
|
||||
{
|
||||
title: 'Chapter 2',
|
||||
startTime: 20.0,
|
||||
endTime: 40.0,
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
Reference in New Issue
Block a user