mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
add playsInline option
This commit is contained in:
1 parent
b284381534
commit
4f10486987
57 files changed
+277
-219
No files matched your search
@@ -496,6 +496,23 @@ SSR is the abbreviation of Server Side Render. The content on the page is genera
|
||||
|
||||
:::
|
||||
|
||||
## playsInline
|
||||
|
||||
- Type: `Boolean`
|
||||
- Default: `true`
|
||||
|
||||
Whether use playsInline in mobile
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
```js
|
||||
var art = new Artplayer({
|
||||
container: $container,
|
||||
url: '/assets/sample/video.mp4',
|
||||
playsInline: true,
|
||||
});
|
||||
```
|
||||
|
||||
## layers
|
||||
|
||||
- Type: `Array`
|
||||
|
||||
Reference in new issue
Block a user