add option to pause clips after play

This commit is contained in:
j 2021-10-13 17:12:16 +01:00
commit 402ff40766

View file

@ -110,9 +110,13 @@ function timeupdate(event) {
event.target.pause() event.target.pause()
} }
*/ */
if (config.pause) {
event.target.pause()
} else {
event.target.currentTime = in_ event.target.currentTime = in_
} }
} }
}
} }
function formatInfo(config, ascroll) { function formatInfo(config, ascroll) {