add option to pause clips after play
This commit is contained in:
parent
40b2e06c83
commit
402ff40766
1 changed files with 5 additions and 1 deletions
|
@ -110,10 +110,14 @@ function timeupdate(event) {
|
|||
event.target.pause()
|
||||
}
|
||||
*/
|
||||
if (config.pause) {
|
||||
event.target.pause()
|
||||
} else {
|
||||
event.target.currentTime = in_
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function formatInfo(config, ascroll) {
|
||||
var h1 = document.createElement('h1')
|
||||
|
|
Loading…
Reference in a new issue