add option to pause clips after play

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

View file

@ -110,7 +110,11 @@ function timeupdate(event) {
event.target.pause() event.target.pause()
} }
*/ */
event.target.currentTime = in_ if (config.pause) {
event.target.pause()
} else {
event.target.currentTime = in_
}
} }
} }
} }