Mario Guggenberger

Results 64 comments of Mario Guggenberger

> Typescript version is: Version 1.5.3 Are you absolutely sure? The UI is on TS 3 and I am pretty sure it would not compile with TS 1.5 or be...

Yeah I'd expect that as well but unfortunately it seems to me that TypeScript does not support this kind of type inference with generics yet :/ If you change the...

Here's a simple script to localize (static) labels of UI from the outside, without such a feature actually being implemented in the UI: ```js // German translations var translationMap =...

The UIConfig should take a map of string translations that allows customers to translate the UI whose texts are currently hardcoded in english. It may look like this (providing an...

CEA-608 subtitle positioning was generally designed for a 4:3 display so it's rather difficult to get it render correctly in arbitrary aspect ratios. If we decrease the font size (font...

Yes the current implementation is definitely not ideal... I'll look into improvements, we'll find a solution.

So, I think the overlapping text issue is about to be solved. ### Old ![cea-old2](https://user-images.githubusercontent.com/189372/31681385-eec29474-b32b-11e7-88c0-9c4bfd4ba1b0.gif) ![cea-old2_bg](https://user-images.githubusercontent.com/189372/31681391-f46e3f72-b32b-11e7-9f66-9a4cb01d5754.gif) ### New ![cea-new2](https://user-images.githubusercontent.com/189372/31681413-023be154-b32c-11e7-84ce-dd7608f43bc9.gif) ![cea-new2_bg](https://user-images.githubusercontent.com/189372/31681419-077ab140-b32c-11e7-848c-a60d73ec9517.gif) What do you think? That's about as good as it...

Works correctly for me. Please make sure you don't have any interfering styles, especially since this PR changes the default style so it won't work correctly with an old CSS....

Positions were `undefined` in some cases, causing positioning issues. It is yet to be determined if that is a player or stream issue, but I anyway added a fix into...

A small demo on using Preact for the `Label` component: https://github.com/bitmovin/bitmovin-player-ui/tree/feature/preact-label