Jump to content

Recommended Posts

Posted (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.

post-96743-0-52219600-1564571683_thumb.png

Edited by Moods
Posted

No support around that could give me a helping hand ? :)

Posted (edited)

Really, no help at all :( Guess its back to Plex for the time being.

Edited by Moods
Posted

Hi @@Moods yes I agree we need to improve the positioning. Thanks for the feedback.

  • Like 1
  • 4 months later...
Posted

Hi all,

 

I still have the same issue with version 4.3.1.0 on Firefox: :/

 

5e06bfb010dc0_Sanstitre.png

Posted

Firefox doesn't offer a way to control subtitle position, but chrome does and we are utilizing that to position them.

  • 10 months later...
Posted (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 by Nisalon
Posted
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.

Posted

In that case, can it be implemented (maybe a setting, which by default has the current behavior, and when changed, does this) ?

Thanks

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...