mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 10:41:20 -08:00
add subtitle
This commit is contained in:
1 parent
3e0c286c09
commit
5205847e1f
15 files changed
+375
-103
No files matched your search
+2
-3
@@ -2,7 +2,7 @@
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<title>Artplayer</title>
|
||||
<title>ArtPlayer</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0,minimal-ui">
|
||||
@@ -28,8 +28,7 @@
|
||||
var player = new Artplayer({
|
||||
container: document.querySelector('.artplayer-app'),
|
||||
url: './video/frag_bunny.mp4',
|
||||
poster: './img/poster.png',
|
||||
autoplay: true
|
||||
poster: './img/poster.png'
|
||||
});
|
||||
|
||||
console.dir(Artplayer);
|
||||
|
||||
Reference in new issue
Block a user