script.min.js
312 Bytes
define(["jquery"],function(e){return{init:function(){var n=e(location).attr("href");e("document").ready(function(){if(n.includes("/mod/page/view.php")){var i=document.querySelector("iframe"),t=new Vimeo.Player(i);console.log(t),e("#mynotepencil").click(function(){t.getCurrentTime().then(function(e){})})}})}}});