Skip to content

Releases: alexandercerutti/sub37

@sub37/webvtt-adapter@1.0.3

17 Feb 12:48
Compare
Choose a tag to compare

What's Changed

Changes:

  • Improved Region's regionanchor and viewportanchor parsing and forced them to be provided as percentages, as specified by the standard;

Bug fix:

  • Fixed wrong styles being mistakenly assigned when a wrong CSS selector was specified (#12);

Full Changelog: https://github.com/alexandercerutti/sub37/compare/@sub37/captions-renderer@v1.0.1...@sub37/webvtt-adapter@1.0.3

@sub37/server@1.1.0

17 Feb 12:49
Compare
Choose a tag to compare

What's Changed

  • Added support to a new property height to the Region protocol in order to let adapters to specify an height;

Full Changelog: https://github.com/alexandercerutti/sub37/compare/@sub37/captions-renderer@v1.0.1...@sub37/server@1.1.0

@sub37/captions-renderer@1.1.0

17 Feb 12:49
Compare
Choose a tag to compare

What's Changed

  • Changed fallback values for getOrigin invokation to be percentages strings;
  • Added fallbacks for getOrigin's originX and originY to be percentages if no unit is specified;
  • Changed region height to respect the adapter region implementation will with the new height property in the Region protocol, when available, and to fallback to the lines property;
  • Added new Renderer boolean property roundRegionHeightLineFit to let captions-renderer to slightly override the adapter height property, in order to show the next full line, if cut;
  • Added new css style variable --sub37-region-area-bg-color, to change color to the area covered by height. It defaults to transparent;
  • Typescript: exported type CaptionsRenderer to reference the component;
  • Tests: Improved tests structure through fixture;

Full Changelog: https://github.com/alexandercerutti/sub37/compare/@sub37/captions-renderer@v1.0.1...@sub37/captions-renderer@1.1.0

@sub37/webvtt-adapter @ v1.0.1

22 Feb 19:35
Compare
Choose a tag to compare

This is the first release of this package. Enjoy 🎉

@sub37/server @ v1.0.1

22 Feb 19:36
Compare
Choose a tag to compare

This is the first release of this package. Enjoy 🎉

@sub37/captions-renderer @ v1.0.1

22 Feb 19:36
Compare
Choose a tag to compare

This is the first release of this package. Enjoy 🎉