mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
add mobile controls
This commit is contained in:
1 parent
aef5083fcb
commit
aab4a1caaf
3 files changed
+5
-2
No files matched your search
@@ -19,6 +19,8 @@ export default class Mobile {
|
||||
$video[key] = option.moreVideoAttr[key];
|
||||
});
|
||||
|
||||
$video.controls = true;
|
||||
|
||||
if (option.muted) {
|
||||
$video.muted = option.muted;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user