Skip to content

Commit

Permalink
Rely on commandArgs.platform to Detect Titan
Browse files Browse the repository at this point in the history
  • Loading branch information
jaruba committed Jan 9, 2025
1 parent ab4488e commit 3a51927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StremioVideo/selectVideoImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function selectVideoImplementation(commandArgs, options) {
if (commandArgs.platform === 'webOS') {
return withStreamingServer(withHTMLSubtitles(WebOsVideo));
}
if (window.Titanos) {
if (commandArgs.platform === 'TitanOS') {
return withStreamingServer(withHTMLSubtitles(TitanVideo));
}
return withStreamingServer(withHTMLSubtitles(HTMLVideo));
Expand All @@ -51,7 +51,7 @@ function selectVideoImplementation(commandArgs, options) {
if (commandArgs.platform === 'webOS') {
return withVideoParams(withHTMLSubtitles(WebOsVideo));
}
if (window.Titanos) {
if (commandArgs.platform === 'TitanOS') {
return withVideoParams(withHTMLSubtitles(TitanVideo));
}
return withVideoParams(withHTMLSubtitles(HTMLVideo));
Expand Down

0 comments on commit 3a51927

Please sign in to comment.