v3.5.3

sampotts/plyrv3.5.3Apr 12, 2019by sampotts

AI Summary

Improves the `ratio` config option to work for all video types, adds getter/setter methods for the ratio, and fixes timeout clearing logic.

Key Highlights

  • Improved the usage of the `ratio` config option
  • Added new `ratio` getter and setter
  • Fix: Allow absolute paths in preview thumbnails
  • Fix: Properly clear all timeouts on destroy

New Features

  • ratio getter
  • ratio setter

Full Release Notes

-   Improved the usage of the `ratio` config option; it now works as expected and for all video types. The default has not changed, it is to dynamically, where possible (except YouTube where 16:9 is used) determine the ratio from the media source so this is not a breaking change.
-   Added new `ratio` getter and setter
-   Fix: Properly clear all timeouts on destroy
-   Fix: Allow absolute paths in preview thumbnails
-   Improvement: Allow optional hours and ms in VTT parser in preview thumbnails