add playsInline option

This commit is contained in:
zhw2590582 committed 2022-03-16 22:02:28 +08:00
1 parent b284381534
commit 4f10486987
57 files changed
+277 -219

No files matched your search

+1 -2
View File
@@ -22,13 +22,12 @@ var art = new Artplayer({
miniProgressBar: true,
mutex: true,
backdrop: true,
playsInline: true,
theme: '#23ade5',
lang: navigator.language.toLowerCase(),
whitelist: ['*'],
moreVideoAttr: {
crossOrigin: 'anonymous',
playsInline: true,
'webkit-playsinline': true,
'x5-video-player-type': 'h5',
'x5-video-player-fullscreen': false,
'x5-video-orientation': 'portraint',