add mobile controls

This commit is contained in:
Harvey Zack committed 2022-11-08 20:27:37 +08:00
1 parent aef5083fcb
commit aab4a1caaf
3 files changed
+5 -2

No files matched your search

+2
View File
@@ -19,6 +19,8 @@ export default class Mobile {
$video[key] = option.moreVideoAttr[key];
});
$video.controls = true;
if (option.muted) {
$video.muted = option.muted;
}