@stremio/stremio-video 0.0.54 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -38,7 +38,7 @@ function selectVideoImplementation(commandArgs, options) {
|
|
|
38
38
|
if (commandArgs.platform === 'webOS') {
|
|
39
39
|
return withStreamingServer(withHTMLSubtitles(WebOsVideo));
|
|
40
40
|
}
|
|
41
|
-
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV') {
|
|
41
|
+
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV' || commandArgs.platform === 'Vidaa') {
|
|
42
42
|
return withStreamingServer(withHTMLSubtitles(TitanVideo));
|
|
43
43
|
}
|
|
44
44
|
return withStreamingServer(withHTMLSubtitles(HTMLVideo));
|
|
@@ -51,7 +51,7 @@ function selectVideoImplementation(commandArgs, options) {
|
|
|
51
51
|
if (commandArgs.platform === 'webOS') {
|
|
52
52
|
return withVideoParams(withHTMLSubtitles(WebOsVideo));
|
|
53
53
|
}
|
|
54
|
-
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV') {
|
|
54
|
+
if (commandArgs.platform === 'Titan' || commandArgs.platform === 'NetTV' || commandArgs.platform === 'Vidaa') {
|
|
55
55
|
return withVideoParams(withHTMLSubtitles(TitanVideo));
|
|
56
56
|
}
|
|
57
57
|
return withVideoParams(withHTMLSubtitles(HTMLVideo));
|
|
@@ -466,6 +466,9 @@ function TitanVideo(options) {
|
|
|
466
466
|
.find(function(track) {
|
|
467
467
|
return track.id === propValue;
|
|
468
468
|
});
|
|
469
|
+
|
|
470
|
+
renderSubtitle('', 'hide');
|
|
471
|
+
|
|
469
472
|
if (selectedSubtitlesTrack) {
|
|
470
473
|
onPropChanged('selectedSubtitlesTrackId');
|
|
471
474
|
events.emit('subtitlesTrackLoaded', selectedSubtitlesTrack);
|