Skip to content

Commit

Permalink
remove console lofs
Browse files Browse the repository at this point in the history
  • Loading branch information
maboa committed Oct 18, 2023
1 parent 60bd4d8 commit b72d49c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,6 @@ <h3 class="font-bold">Captions have been edited.</h3>
generateCaptionsFromTranscript(hypertranscript, sourceMedia, track);
const cap2 = caption();
let subs = cap2.init("hypertranscript", "hyperplayer", '37' , '21'); // transcript Id, player Id, max chars, min chars for caption line
console.log(subs.data);
populateCaptionEditor(subs.data);
}

Expand Down Expand Up @@ -760,9 +759,6 @@ <h3 class="font-bold">Captions have been edited.</h3>
document.querySelector('#hyperplayer').textTracks[0].mode = "showing";
}

console.log("subs.data = "+subs.data);
console.dir(subs.data);
console.log(subs);
return subs.data;
}

Expand Down
2 changes: 0 additions & 2 deletions js/caption.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ var caption = function () {
cap.init = function (transcriptId, playerId, maxLength, minLength, label, srclang) {
var transcript = document.getElementById(transcriptId);
var words = transcript.querySelectorAll('[data-m]');
console.log("words");
console.log(words);
var data = {};
data.segments = [];

Expand Down

0 comments on commit b72d49c

Please sign in to comment.