196196 this . transcriptDivLocation = null ;
197197 }
198198 if ( $ ( media ) . data ( 'include-transcript' ) !== undefined && $ ( media ) . data ( 'include-transcript' ) === false ) {
199- console . log ( 'YOU WANT TO HIDE TRANSCRIPT BUTTON' ) ;
200199 this . hideTranscriptButton = true ;
201200 }
202201 else {
203- console . log ( 'YOU DO NOT WANT TO HIDE TRANSCRIPT BUTTON' ) ;
204202 this . hideTranscriptButton = null ;
205203 }
206204
@@ -220,10 +218,6 @@ console.log('YOU DO NOT WANT TO HIDE TRANSCRIPT BUTTON');
220218 this . transcriptType = 'popup' ;
221219 }
222220 }
223- console . log ( 'transcriptType: ' + this . transcriptType ) ;
224- console . log ( 'transcriptDivLocation: ' + this . transcriptDivLocation ) ;
225- console . log ( 'hideTranscriptButton: ' + this . hideTranscriptButton ) ;
226-
227221
228222 // In "Lyrics Mode", line breaks in WebVTT caption files are supported in the transcript
229223 // If false (default), line breaks are are removed from transcripts in order to provide a more seamless reading experience
@@ -10291,12 +10285,8 @@ if (thisObj.useTtml && (trackSrc.endsWith('.xml') || trackText.startsWith('<?xml
1029110285 if ( ! this . transcriptType ) {
1029210286 // previously set transcriptType to null since there are no <track> elements
1029310287 // check again to see if captions have been collected from other sources (e.g., YouTube)
10294- console . log ( "there is no transcriptType yet" ) ;
10295- console . log ( 'captions length: ' + this . captions . length ) ;
10296- console . log ( 'usingYouTubeCaptions: ' + this . usingYouTubeCaptions ) ;
1029710288
1029810289 if ( this . captions . length && ( ! ( this . usingYouTubeCaptions || this . usingVimeoCaptions ) ) ) {
10299- console . log ( 'captions are possible!' ) ;
1030010290 // captions are possible! Use the default type (popup)
1030110291 // if other types ('external' and 'manual') were desired, transcriptType would not be null here
1030210292 this . transcriptType = 'popup' ;
0 commit comments