support ios safari fullscreen
This commit is contained in:
parent
cbb643ff0e
commit
d6aa1d6154
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ const VideoPlayer: FC<{
|
|||
}
|
||||
const plyrOptions: Plyr.Options = {
|
||||
ratio: `${width ?? 16}:${height ?? 9}`,
|
||||
fullscreen: { iosNative: true },
|
||||
}
|
||||
if (!isFlv) {
|
||||
// If the video is not in flv format, we can use the native plyr and add sources directly with the video URL
|
||||
|
|
Loading…
Reference in a new issue