Loop video shorter than 60 seconds

This commit is contained in:
Eduard Kuzmenko 2022-02-09 17:37:16 +04:00
parent d05488fc31
commit 983de7c2c3

View File

@ -1335,6 +1335,8 @@ export default class AppMediaViewerBase<
video.muted = true;
video.autoplay = true;
video.loop = true;
} else if(media.duration < 60) {
video.loop = true;
}
// if(!video.parentElement) {