Skip to content

Commit e2f2253

Browse files
committed
Remove Debug Logs
1 parent 4101377 commit e2f2253

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/StremioVideo/selectVideoImplementation.js

-4
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ var withHTMLSubtitles = require('../withHTMLSubtitles');
1111
var withVideoParams = require('../withVideoParams');
1212

1313
function selectVideoImplementation(commandArgs, options) {
14-
15-
console.log('selectVideoImplementation platform', commandArgs.platform);
16-
1714
if (!commandArgs.stream || typeof commandArgs.stream.externalUrl === 'string') {
1815
return null;
1916
}
@@ -56,7 +53,6 @@ function selectVideoImplementation(commandArgs, options) {
5653
return withVideoParams(withHTMLSubtitles(WebOsVideo));
5754
}
5855
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV') {
59-
console.log('selectVideoImplementation using Titan Player');
6056
return withVideoParams(withHTMLSubtitles(TitanVideo));
6157
}
6258
return withVideoParams(withHTMLSubtitles(HTMLVideo));

src/TitanVideo/TitanVideo.js

-13
Original file line numberDiff line numberDiff line change
@@ -176,18 +176,11 @@ function TitanVideo(options) {
176176
return Math.floor(time * 1000);
177177
}
178178
case 'subtitlesTracks': {
179-
console.log('subtitlesTracks 1')
180179
if (stream === null) {
181-
console.log('subtitlesTracks 2')
182180
return [];
183181
}
184182

185-
console.log('subtitlesTracks 3')
186-
console.log(videoElement.textTracks)
187-
console.log(typeof videoElement.textTracks)
188-
189183
if (!videoElement.textTracks || !Array.from(videoElement.textTracks).length) {
190-
console.log('subtitlesTracks 4')
191184
return [];
192185
}
193186

@@ -259,17 +252,11 @@ function TitanVideo(options) {
259252
return styleElement.sheet.cssRules[0].style.textShadow.slice(0, styleElement.sheet.cssRules[0].style.textShadow.indexOf(')') + 1);
260253
}
261254
case 'audioTracks': {
262-
console.log('audioTracks 1')
263255
if (stream === null) {
264-
console.log('audioTracks 2')
265256
return [];
266257
}
267258

268-
console.log('audioTracks 3')
269-
console.log(videoElement.audioTracks)
270-
console.log(typeof videoElement.audioTracks)
271259
if (!videoElement.audioTracks || !Array.from(videoElement.audioTracks).length) {
272-
console.log('audioTracks 4')
273260
return [];
274261
}
275262

0 commit comments

Comments
 (0)