Before you suggest this (required)
The idea
Hi, thanks for the great project!
Could you please add support for loading an external subtitle track via a URL when playing Live TV streams?
Currently, the player only reads embedded tracks. Many of us use local servers or tools to generate live-updating .vtt files for foreign channels, and it would be incredibly useful to pass that local URL directly to the player.
Since the project uses react-native-video (or ExoPlayer), it should be a straightforward addition using the textTracks prop:
<Video
source={{ uri: streamUrl }}
textTracks={[{
title: "External Subtitle",
language: "ar",
type: "text/vtt",
uri: "http://local-server-ip:8000/sub.vtt" // User-provided URL
}]}
selectedTextTrack={{ type: "language", value: "ar" }}
/>
Adding a simple "Load Subtitle from URL" option in the player UI or channel settings would give users much more flexibility, especially for channels that lack native subtitles.
Thanks for considering this!
Why — the problem it solves
.
How you'd expect it to work
No response
Before you suggest this (required)
I read the User Guide and checked the app's Settings and existing functions — this isn't already possible.
I searched existing issues and this isn't already requested.
The idea
Hi, thanks for the great project!
Could you please add support for loading an external subtitle track via a URL when playing Live TV streams?
Currently, the player only reads embedded tracks. Many of us use local servers or tools to generate live-updating .vtt files for foreign channels, and it would be incredibly useful to pass that local URL directly to the player.
Since the project uses react-native-video (or ExoPlayer), it should be a straightforward addition using the textTracks prop:
<Video
source={{ uri: streamUrl }}
textTracks={[{
title: "External Subtitle",
language: "ar",
type: "text/vtt",
uri: "http://local-server-ip:8000/sub.vtt" // User-provided URL
}]}
selectedTextTrack={{ type: "language", value: "ar" }}
/>
Adding a simple "Load Subtitle from URL" option in the player UI or channel settings would give users much more flexibility, especially for channels that lack native subtitles.
Thanks for considering this!
Why — the problem it solves
.
How you'd expect it to work
No response