Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Titan Player #95

Merged
merged 15 commits into from
Jan 15, 2025
7 changes: 7 additions & 0 deletions src/StremioVideo/selectVideoImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ var ChromecastSenderVideo = require('../ChromecastSenderVideo');
var ShellVideo = require('../ShellVideo');
var HTMLVideo = require('../HTMLVideo');
var TizenVideo = require('../TizenVideo');
var TitanVideo = require('../TitanVideo');
var WebOsVideo = require('../WebOsVideo');
var IFrameVideo = require('../IFrameVideo');
var YouTubeVideo = require('../YouTubeVideo');
Expand Down Expand Up @@ -37,6 +38,9 @@ function selectVideoImplementation(commandArgs, options) {
if (commandArgs.platform === 'webOS') {
return withStreamingServer(withHTMLSubtitles(WebOsVideo));
}
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV') {
return withStreamingServer(withHTMLSubtitles(TitanVideo));
}
return withStreamingServer(withHTMLSubtitles(HTMLVideo));
}

Expand All @@ -47,6 +51,9 @@ function selectVideoImplementation(commandArgs, options) {
if (commandArgs.platform === 'webOS') {
return withVideoParams(withHTMLSubtitles(WebOsVideo));
}
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV') {
return withVideoParams(withHTMLSubtitles(TitanVideo));
}
return withVideoParams(withHTMLSubtitles(HTMLVideo));
}

Expand Down
Loading
Loading