mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 20:21:20 -08:00
Update index.js
This commit is contained in:
1 parent
30a0dff4e8
commit
5defc28505
1 file changed
+6
@@ -24,8 +24,14 @@ var art = new Artplayer({
|
|||||||
backdrop: true,
|
backdrop: true,
|
||||||
theme: '#23ade5',
|
theme: '#23ade5',
|
||||||
lang: navigator.language.toLowerCase(),
|
lang: navigator.language.toLowerCase(),
|
||||||
|
whitelist: ['*'],
|
||||||
moreVideoAttr: {
|
moreVideoAttr: {
|
||||||
crossOrigin: 'anonymous',
|
crossOrigin: 'anonymous',
|
||||||
|
playsInline: true,
|
||||||
|
'webkit-playsinline': true,
|
||||||
|
'x5-video-player-type': 'h5',
|
||||||
|
'x5-video-player-fullscreen': false,
|
||||||
|
'x5-video-orientation': 'portraint',
|
||||||
},
|
},
|
||||||
settings: [
|
settings: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user