Moods 0 Posted July 31, 2019 Posted July 31, 2019 (edited) So I dunno when it started, but its recent, subtitles are placed too low, pretty much at the very bottom of the screen in both Chrome and Firefox, in Emby Theater, on Chromecast and on my Smart TV this is not an issue. So I am not sure what happend on the browser version. Anyone experienced this? I cant seem to find anywhere to adjust subtitle positioning. I have attached a PNG file to show my issue. Edited July 31, 2019 by Moods
Moods 0 Posted August 1, 2019 Author Posted August 1, 2019 No support around that could give me a helping hand ?
Moods 0 Posted August 3, 2019 Author Posted August 3, 2019 (edited) Really, no help at all Guess its back to Plex for the time being. Edited August 3, 2019 by Moods
Luke 39685 Posted August 8, 2019 Posted August 8, 2019 Hi @@Moods yes I agree we need to improve the positioning. Thanks for the feedback. 1
MisterCyp 0 Posted December 28, 2019 Posted December 28, 2019 Hi all, I still have the same issue with version 4.3.1.0 on Firefox: :/
Luke 39685 Posted December 28, 2019 Posted December 28, 2019 Firefox doesn't offer a way to control subtitle position, but chrome does and we are utilizing that to position them.
Nisalon 0 Posted October 30, 2020 Posted October 30, 2020 (edited) On 12/28/2019 at 4:13 AM, Luke said: Firefox doesn't offer a way to control subtitle position, but chrome does and we are utilizing that to position them. Actually there is a way to do it @Luke (and I would love to have this done as I'm a Firefox user and using Emby in Firefox mainly). If you run that when the video starts, subtitles will be at the desired vertical position. It works well in all the cases I tested (including multiple subtitles with timestamps overlapping) let subtitlePosition = 80; // The number corresponding to the position. 0 for top, 100 for bottom. Should be probably linked to a setting let videoElmt = document.getElementsByTagName('video')[0]; for(let i=0;i<videoElmt.textTracks[0].cues.length;i++){ videoElmt.textTracks[0].cues[i].snapToLines = false; videoElmt.textTracks[0].cues[i].line = subtitlePosition; } You can find more info there https://www.w3.org/TR/webvtt1/#cues Thanks Edited October 30, 2020 by Nisalon
Luke 39685 Posted November 2, 2020 Posted November 2, 2020 On 10/29/2020 at 10:29 PM, Nisalon said: Actually there is a way to do it @Luke (and I would love to have this done as I'm a Firefox user and using Emby in Firefox mainly). If you run that when the video starts, subtitles will be at the desired vertical position. It works well in all the cases I tested (including multiple subtitles with timestamps overlapping) let subtitlePosition = 80; // The number corresponding to the position. 0 for top, 100 for bottom. Should be probably linked to a setting let videoElmt = document.getElementsByTagName('video')[0]; for(let i=0;i<videoElmt.textTracks[0].cues.length;i++){ videoElmt.textTracks[0].cues[i].snapToLines = false; videoElmt.textTracks[0].cues[i].line = subtitlePosition; } You can find more info there https://www.w3.org/TR/webvtt1/#cues Thanks hi @Nisalon yes that is possible, although that would end up overriding data that is already in the subtitles, whereas the current techniques do not do that. But yes that is doable. Thanks.
Nisalon 0 Posted November 5, 2020 Posted November 5, 2020 In that case, can it be implemented (maybe a setting, which by default has the current behavior, and when changed, does this) ? Thanks
Luke 39685 Posted November 13, 2020 Posted November 13, 2020 On 11/5/2020 at 3:44 PM, Nisalon said: In that case, can it be implemented (maybe a setting, which by default has the current behavior, and when changed, does this) ? Thanks Yes it's possible for the future, thanks for the feedback.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now