mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
build docs
This commit is contained in:
1 parent
5898dad3d7
commit
827be6ee02
110 files changed
+1769
-1805
No files matched your search
@@ -216,7 +216,7 @@ var art = new Artplayer({
|
||||
art.on('ready', () => {
|
||||
art.seek = 10;
|
||||
setTimeout(() => {
|
||||
art.switchUrl('/assets/sample/video.mp4?t=0', '新视频名字');
|
||||
art.switchUrl('/assets/sample/video.mp4?t=0', 'New Video Name');
|
||||
}, 3000);
|
||||
});
|
||||
```
|
||||
@@ -390,7 +390,7 @@ var art = new Artplayer({
|
||||
controls: [
|
||||
{
|
||||
position: 'right',
|
||||
html: '全屏开关',
|
||||
html: 'Fullscreen Switch',
|
||||
click: function () {
|
||||
art.fullscreen = !art.fullscreen;
|
||||
},
|
||||
@@ -737,7 +737,7 @@ var art = new Artplayer({
|
||||
|
||||
art.on('ready', () => {
|
||||
console.info(art.title);
|
||||
art.title = '新标题';
|
||||
art.title = 'New Title';
|
||||
console.info(art.title);
|
||||
});
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user