Loop video shorter than 60 seconds
This commit is contained in:
parent
d05488fc31
commit
983de7c2c3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user