Skip to content

Releases: sampotts/plyr

v3.6.1

28 Apr 13:19
Compare
Choose a tag to compare
  • You can now easily change colors using CSS Custom Properties. See the README.
  • Bug fix for Vimeo fullscreen.
  • Various typos (thanks @likev)
  • Preload TextTracks as per default video element (thanks @theprojectsomething)
  • Features/fullscreen container (thanks @theprojectsomething)
  • Ignore internal play promises (thanks @ydylla)
  • Ads plugin fixes to allow multiple VAST requests (thanks @Steejo)
  • Fix shadowroot (thanks @jnoordsij)
  • Add financial contributors for Open Collective (thanks @monkeywithacupcake)
  • Update the gitpod setup description to be more precise. (thanks @nisarhassan12)
  • Completely hide SVG icons to screen readers (thanks @LeBenLeBen)
  • Preview thumbnails via src:callback() (thanks @doublex)
  • Add missing Typescripts types and options (thanks @hug963)
  • Use number instead of string in TS quality definitions (thanks @mogzol)
  • Fix Vimeo playback rate (thanks @hug963)
  • Fix issue when controls config is string or element (thanks @CzBiX)
  • Simplify contributions by fully automating the dev setup with gitpod (thanks @nisarhassan12)
  • Safari bug fix for regression in previous release

v3.5.10

14 Feb 17:38
Compare
Choose a tag to compare
  • iOS volume display fix

v3.5.9

14 Feb 17:01
Compare
Choose a tag to compare
  • Fix for regression with volume control width
  • Ensure poster image is not downloaded again for HTML5 videos

v3.5.8

10 Feb 21:06
Compare
Choose a tag to compare
  • Added flex-direction property to fix some issues introduced in v3.5.7 when using custom CSS
  • Cleaned up the organisation of some of the SCSS files (should not effect CSS output)
  • Added referrerPolicy option for Vimeo to prevent an issue present in the demo site
  • Remove all Vimeo controls for Pro & Premium accounts
  • Improve thumbnail size calculations when size is set per css (thanks @ydylla)
  • Add previewThumbnails source setter (thanks @ydylla)
  • More speed setting logic improvements

v3.5.7

09 Feb 22:02
Compare
Choose a tag to compare
  • Typescript typings (thanks @ondratra)
  • togglePlay now also returns a Promise (thanks @azizhk)
  • Documentation improvements and typo fixes (thanks @ffpetrovic, @skerbis, @ayunami2000, @pjbaert, @MaxGiting, @0xflotus and @thatrobotdev)
  • Accessibility tweak for the play button (thanks @lunika)
  • Fix for ads configuration (thanks @SoftCreatR)
  • Fix handling listener return value (thanks @taion)
  • Added localisation key for PIP (picture-in-picture) (thanks @lmislm)
  • Preserve viewBox attribute in SVG sprite symbols (thanks @bseib)
  • Fix being unable to unmute autoplayed video on iOS (thanks @sumanbh)
  • Fixed Plyr container not resizing responsively (thanks @shravan2x)
  • Change vimeo demo video (thanks @thatrobotdev)
  • Fix for Uncaught RangeError: Maximum call stack size exceeded (thanks @laukstein)
  • Improve fullscreen experience on some devices (thanks @savroff)
  • Improvements to buffering state for embedded players (thanks @doostinharrell)
  • Prevents IE11 with resetOnEnd option set to true to play video again (thanks @felipe K. De Boni)
  • Fix for multiple poster image downloads (use the native poster only for HTML5 videos)
  • Various presentational fixes
  • Removed logic to hide/show volume controls based on audio track detection due to it's problematic nature. If you want to hide volume control, use the controls option to do so.
  • Fix preview thumbnail scrubbing not working on mobile touch devices (thanks @ydylla)
  • Add download attribute to download button (thanks @Code1110)
  • Trap keyboard focus only when fullscreen (thanks @k-jensen)
  • Improvements to speed options - you can now specify all options in the UI (YouTube and Vimeo only accept 0.5-2) (thanks @ydylla)
  • Improve/fix quality change state restoring (thanks @ydylla)

Note: This update contains CSS changes.

v3.5.4

25 Apr 02:15
Compare
Choose a tag to compare
  • Added: Set download URL via new setter
  • Improvement: The order of the controls option now effects the order in the DOM - i.e. you can re-order the controls - Note: this may break any custom CSS you have setup. Please see the changes in the PR to the default SASS
  • Fixed issue with empty controls and preview thumbs
  • Fixed issue with setGutter call (from Sentry)
  • Fixed issue with initial selected speed not working
  • Added notes on autoplay config option and browser compatibility
  • Fixed issue with ads volume not matching current content volume
  • Fixed race condition where ads were loading during source change
  • Improvement: Automatic aspect ratio for YouTube is now supported, meaning all aspect ratios are set based on media content - Note: we're now using a different API to get YouTube video metadata so you may need to adjust any CSPs you have setup
  • Fix for menu in the Shadow DOM (thanks @emielbeinema)

v3.5.3

12 Apr 08:45
Compare
Choose a tag to compare
  • 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

v3.5.1

23 Feb 02:15
Compare
Choose a tag to compare
  • Fixed build issues with babel and browserslist

v3.5.0

18 Feb 14:26
Compare
Choose a tag to compare
  • Preview seek/scrubbing thumbnails (thanks @jamesoflol)
  • Fixes for proxy listeners (thanks @gurupras)
  • Fix for buffer progress transition on WebKit (thanks @samuelgozi)
  • Fix for error when mime type not specified (fixes #1274)
  • Support YouTube noCookie (thanks Omar Khatib)
  • Add Angular plugin reference (thanks @smnbbrv)
  • Use Math.trunc instead of parseInt (thanks @taion)
  • Many fixes for fullscreen in embedded players with non 16:9 screens or videos
  • Added 'force' fallback option for fullscreen
  • RangeTouch is now bundled with Plyr as a dependency to fix the scrubber on touch devices

v3.4.5

24 Oct 12:05
Compare
Choose a tag to compare
  • Added download button option to download either current source or a custom URL you specify in options
  • Prevent immediate hiding of controls on mobile (thanks @jamesoflol)
  • Don't hide controls on focusout event (fixes #1122) (thanks @jamesoflol)
  • Fix HTML5 quality settings being incorrectly set in local storage (thanks @TechGuard)