mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 05:26:15 -08:00
update style
This commit is contained in:
1 parent
e420005bcd
commit
e319afd422
7 files changed
+29
-8
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ export default class Player {
|
||||
init() {
|
||||
const { option } = this.art;
|
||||
const { $video } = this.art.refs;
|
||||
$video.controls = true;
|
||||
$video.controls = false;
|
||||
$video.poster = option.poster;
|
||||
$video.volume = clamp(option.volume, 0, 1);
|
||||
$video.autoplay = option.autoplay;
|
||||
|
||||
Reference in new issue
Block a user