Remove debug traces
authorymh <ymh.work@gmail.com>
Tue, 22 Oct 2024 09:53:43 +0200
changeset 1079 d4f0681c4ff1
parent 1078 c28fb800e252
child 1080 2b513bcb710a
Remove debug traces
src/widgets/Highlighter.js
src/widgets/SpelSyncHtml.js
src/widgets/videojs_plugins/Dailymotion.js
--- a/src/widgets/Highlighter.js	Tue Oct 22 07:19:03 2024 +0200
+++ b/src/widgets/Highlighter.js	Tue Oct 22 09:53:43 2024 +0200
@@ -9,7 +9,6 @@
       super(player, config);
       var _this = this;
       this.throttledRefresh = _.throttle(function () {
-        console.log("highlighter Refresh");
         _this.update();
       }, 800);
     }
@@ -36,7 +35,6 @@
           );
         }
       );
-      console.log(_this.$.find(".currentAnnotation"));
       return false;
     }
 
--- a/src/widgets/SpelSyncHtml.js	Tue Oct 22 07:19:03 2024 +0200
+++ b/src/widgets/SpelSyncHtml.js	Tue Oct 22 09:53:43 2024 +0200
@@ -2,7 +2,6 @@
     return class extends ns.Widgets.Widget {
         constructor(player, config) {
             super(player, config);
-    console.log("Calling IriSP.Widget's constructor from IriSP.HelloWorldWidget");
 };
 
 static defaults = {
--- a/src/widgets/videojs_plugins/Dailymotion.js	Tue Oct 22 07:19:03 2024 +0200
+++ b/src/widgets/videojs_plugins/Dailymotion.js	Tue Oct 22 09:53:43 2024 +0200
@@ -11,7 +11,6 @@
     super(options, ready);
 
     this.setSrc(this.options_.source);
-    console.log(this.options_.source)
 
     // Set the vjs-dailymotion class to the player
     // Parent is not set yet so we have to wait a tick
@@ -111,7 +110,6 @@
   }
 
   async initDMPlayer() {
-    console.log("INIT DM Player", this._getPlayerConfig());
     if (this.dmPlayer) {
       return;
     }
@@ -135,7 +133,6 @@
     //var vm = this;
     this.isApiReady = true;
     this.dmPlayer.enable_playback_controls = false;
-    console.log("AUTONEXT", this.dmPlayer.enable_playback_controls);
 
     for (const ev in eventMapping) {
       this.dmPlayer.on(ev, (s) => {