Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/docs/assets/example/index.js b/docs/assets/example/index.js index 538f2a64b..f32282a84 100644 --- a/docs/assets/example/index.js +++ b/docs/assets/example/index.js @@ -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', diff --git a/docs/assets/js/mobile.js b/docs/assets/js/mobile.js index 584cd0a22..1b5ebcca6 100644 --- a/docs/assets/js/mobile.js +++ b/docs/assets/js/mobile.js @@ -2,7 +2,7 @@ var vConsole = new VConsole(); var art = new Artplayer({ container: '.artplayer-app', - url: 'https://artplayer.org/assets/sample/video.mp4', + url: '/assets/sample/video.mp4', title: 'One More Time One More Chance', poster: '/assets/sample/poster.jpg', autoSize: true, @@ -13,8 +13,6 @@ var art = new Artplayer({ fullscreenWeb: true, miniProgressBar: true, moreVideoAttr: { - playsInline: true, - 'webkit-playsinline': true, 'x5-video-player-type': 'h5', 'x5-video-player-fullscreen': false, 'x5-video-orientation': 'portraint', diff --git a/docs/assets/ts/artplayer.d.ts b/docs/assets/ts/artplayer.d.ts index 195591d89..d33a68dae 100644 --- a/docs/assets/ts/artplayer.d.ts +++ b/docs/assets/ts/artplayer.d.ts @@ -319,6 +319,11 @@ type Option = { */ useSSR?: boolean; + /** + * Whether use playsInline in mobile + */ + playsInline?: boolean; + /** * Custom plugin list */ diff --git a/docs/document/404.html b/docs/document/404.html index 3aaaa432a..f2700fae2 100644 --- a/docs/document/404.html +++ b/docs/document/404.html @@ -5,13 +5,13 @@
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.