call pause() on video in cleanup
This commit is contained in:
parent
78d85eba9f
commit
91047e7511
|
@ -53,11 +53,11 @@
|
|||
<video src="<%= video.getLayerVideo(linkData.tcIn, linkData.tcOut) %>" width="320" controls="controls" autoplay="autoplay"></video>
|
||||
|
||||
<div class="annotationWrapper">
|
||||
<!--
|
||||
|
||||
<div class="trackButtons" data-selected="transcript">
|
||||
<span class="trackButton" data-track="transcript">Transcript</span>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="annotationText">
|
||||
|
||||
</div>
|
||||
|
|
4
test.js
4
test.js
|
@ -147,7 +147,9 @@ function setupPadmaLink(video, data) {
|
|||
//FIXME: actually handle the cleanups.
|
||||
// parameter is a padmaVideo object.
|
||||
function cleanupVideo(video) {
|
||||
clearInterval(video.interval);
|
||||
$('video').pause();
|
||||
// clearInterval(video.interval);
|
||||
$('.padmaViewer').remove();
|
||||
|
||||
padmaContainer.data("currentVideo", false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user