add playsInline option

This commit is contained in:
zhw2590582 committed 2022-03-16 22:02:28 +08:00
1 parent b284381534
commit 4f10486987
57 files changed
+277 -219

No files matched your search

@@ -32,6 +32,11 @@ export default function attrInit(art) {
$video.autoplay = option.autoplay;
}
if (option.playsInline) {
$video.playsInline = true;
$video['webkit-playsinline'] = true;
}
if (option.theme) {
art.theme = option.theme;
}