mirror of
https://github.com/p-stream/providers.git
synced 2026-05-17 22:12:05 +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,
|
playlist: data.url,
|
||||||
flags: [flags.CORS_ALLOWED],
|
flags: [flags.CORS_ALLOWED],
|
||||||
captions,
|
captions,
|
||||||
|
...(data.thumbnails?.file
|
||||||
|
? {
|
||||||
|
thumbnailTrack: {
|
||||||
|
type: 'vtt',
|
||||||
|
url: data.thumbnails.file,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
: {}),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue