mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 05:32:01 +00:00
support ios safari fullscreen
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user