mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
update docs
This commit is contained in:
1 parent
33bb679046
commit
fd51264bb8
46 files changed
+141
-141
No files matched your search
@@ -16,7 +16,7 @@ import TabItem from '@theme/TabItem';
|
||||
npm install artplayer
|
||||
```
|
||||
|
||||
```js
|
||||
```js showLineNumbers
|
||||
import Artplayer from 'artplayer';
|
||||
|
||||
const art = new Artplayer({
|
||||
@@ -32,7 +32,7 @@ const art = new Artplayer({
|
||||
yarn add artplayer
|
||||
```
|
||||
|
||||
```js
|
||||
```js showLineNumbers
|
||||
import Artplayer from 'artplayer';
|
||||
|
||||
const art = new Artplayer({
|
||||
@@ -55,7 +55,7 @@ const art = new Artplayer({
|
||||
<script src="https://unpkg.com/artplayer/dist/artplayer.js"></script>
|
||||
```
|
||||
|
||||
```js
|
||||
```js showLineNumbers
|
||||
const art = new window.Artplayer({
|
||||
container: '.artplayer-app',
|
||||
url: '/assets/sample/video.mp4',
|
||||
|
||||
@@ -16,7 +16,7 @@ import TabItem from '@theme/TabItem';
|
||||
npm install artplayer
|
||||
```
|
||||
|
||||
```js
|
||||
```js showLineNumbers
|
||||
import Artplayer from 'artplayer';
|
||||
|
||||
const art = new Artplayer({
|
||||
@@ -32,7 +32,7 @@ const art = new Artplayer({
|
||||
yarn add artplayer
|
||||
```
|
||||
|
||||
```js
|
||||
```js showLineNumbers
|
||||
import Artplayer from 'artplayer';
|
||||
|
||||
const art = new Artplayer({
|
||||
@@ -55,7 +55,7 @@ const art = new Artplayer({
|
||||
<script src="https://unpkg.com/artplayer/dist/artplayer.js"></script>
|
||||
```
|
||||
|
||||
```js
|
||||
```js showLineNumbers
|
||||
const art = new window.Artplayer({
|
||||
container: '.artplayer-app',
|
||||
url: '/assets/sample/video.mp4',
|
||||
|
||||
Reference in new issue
Block a user