Commit 0038e8e4 by Piotr Mitros

Removed instrumentation

parent da032ac6
......@@ -224,8 +224,8 @@ function onPlayerStateChange(event) {
var switched_tab = false; // switch to true when we destroy so we know to call onYouTubePlayerAPIReady()
// clear pings to video status when we switch to a different sequence tab with ajax
function videoDestroy(id) {
postJSON('/modx/video/'+id+'/goto_position',
{'position' : ytplayer.getCurrentTime()});
// postJSON('/modx/video/'+id+'/goto_position',
// {'position' : ytplayer.getCurrentTime()});
load_id = 0;
clearInterval(updateytplayerInfoInterval);
......@@ -332,7 +332,7 @@ function loadNewVideo(id, startSeconds) {
catch(e) {
window['console'].log(JSON.stringify(e));
}
$("#slider").slider("option","value",startSeconds);
//$("#slider").slider("option","value",startSeconds);
//seekTo(startSeconds);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment