mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
add thumbnail to apollo
This commit is contained in:
parent
a2cbe5ae30
commit
ed9c02221c
1 changed files with 8 additions and 0 deletions
|
|
@ -117,6 +117,14 @@ export const xprimeApolloEmbed = makeEmbed({
|
|||
playlist: data.url,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
captions,
|
||||
...(data.thumbnails?.file
|
||||
? {
|
||||
thumbnailTrack: {
|
||||
type: 'vtt',
|
||||
url: data.thumbnails.file,
|
||||
},
|
||||
}
|
||||
: {}),
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue