Commit 3636c519 authored by Oleg Korshul's avatar Oleg Korshul

pause/play from reporter

parent 845450a9
......@@ -795,6 +795,8 @@ function CEditorPage(api)
}
_wordControl.reporterTimerAdd = _wordControl.reporterTimerFunc(true);
window.editor.sendFromReporter("{ \"reporter_command\" : \"pause\" }");
}
else
{
......@@ -806,6 +808,8 @@ function CEditorPage(api)
_wordControl.reporterTimerLastStart = new Date().getTime();
_wordControl.reporterTimer = setInterval(_wordControl.reporterTimerFunc, 1000);
window.editor.sendFromReporter("{ \"reporter_command\" : \"play\" }");
}
};
......
......@@ -5997,6 +5997,16 @@ background-repeat: no-repeat;\
_this.WordControl.DemonstrationManager.PointerRemove();
break;
}
case "pause":
{
_this.WordControl.DemonstrationManager.Pause();
break;
}
case "play":
{
_this.WordControl.DemonstrationManager.Play();
break;
}
default:
break;
}
......
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