Skip to content

Releases: sampotts/plyr

v1.8.3

25 Jun 13:41
Compare
Choose a tag to compare
  • Disabled iPad support for YouTube and Vimeo due to iOS limitations with iFrame playback
  • Fixed IE11 icon loading (fixes #269)
  • Updated screenshot (fixes #281)
  • Added WordPress plugin (fixes #239)
  • Added Neos plugin
  • Added HLS, Shaka and dash.js examples (see #235 for more)
  • Improvements for controls hiding and showing on touch devices

v1.8.0

09 Jun 08:50
Compare
Choose a tag to compare
  • _(Important)_ setup() now returns the element Plyr was setup on rather than the plyr object. This means var player = plyr.setup()[0]; would now be var player = plyr.setup()[0].plyr;. This improves support for React and other virtual dom frameworks as mentioned in #254
  • Fixed using a relative URL for iconUrl in IE (fixes #269)

v1.7.0

07 Jun 11:35
Compare
Choose a tag to compare
  • SASS cleanup (fixes #265)
  • Docs tidy up to help quick start (fixes #253)
  • Fix for issues with data attribute options passing (fixes #257)
  • Removed the requirement for a wrapper div to setup Plyr and removed the dependency on the plyr classname as a JS hook. By default it will now look for <video>, <audio> and [data-type] elements. If you are just calling setup() with a <div class="plyr"> you may want to give it a good test after upgrading. You can probably remove the wrapper div. The reason behind this is to make setup easier for newcomers and prevent the styling being used on unsupported players (because the plyr classname was used as a CSS and JS hook - which isn't ideal)
  • Renamed the 'docs' folder to demo to avoid confusion. The readme is the docs after all.

v1.6.16

23 May 21:34
Compare
Choose a tag to compare
  • Always hide standard controls (Fixes #225)
  • Fix for Tooltips overflowing (fixes #230)

v1.6.15

23 May 20:13
Compare
Choose a tag to compare
  • Restore scroll position when exiting full screen (fixes #236)

v1.6.14

23 May 18:17
Compare
Choose a tag to compare
  • SVG sprite loading automatically for an easier setup
  • Touch devices now show controls on touch rather than pausing playback

v1.6.13

19 May 02:07
Compare
Choose a tag to compare
  • Decreased sensitivity and inverted scroll on volume slider (scroll up to increase, down to decrease)

v1.6.2

01 May 02:52
Compare
Choose a tag to compare
  • Fix for tooltip displaying when duration is not set (fixes #177)
  • showPosterOnEnd option to show poster when HTML5 video ended (fixes #59)
  • Error handler for YouTube (fixes #189)
  • Initial SoundCloud support (fixes #194)
  • Other minor bug fixes

v1.6.0

28 Apr 12:26
Compare
Choose a tag to compare
  • New, cleaner, UI:
    • Controls are now overlaid, maintaining the video's ratio and making sizing easier
    • A large play button can now be overlaid over videos
    • Default number of control buttons reduced
    • New play, pause, rewind and fast forward icons
    • Flexbox all the things!
  • Tidied up the LESS (and SCSS) as part of the above, variables and mixins in seprate files amking customization and upgrades easier
  • Toggle mute bug fix; if a player was muted previously and the user refreshed, unmuting would have meant volume was still zero (effectively muted), now the config default value is used. Not ideal but good for now
  • New iconUrl option allowing specifying a same origin SVG sprite location. Loading this way means you don't need the AJAX sprite loading JavaScript
  • click option renamed to clickToPlay to make it a bit more self explanatory. Unfortunately cross origin SVG sprites is not supported in any browser yet :-(
  • hideControls is now a global option, rather than being exclusive to fullscreen. Controls are now hidden after 2 seconds of no mouse movement. Controls are always shown when media is paused or stopped. This is defaulted to true.
  • sass folder in src renamed from to scss

v1.5.21

27 Mar 07:35
Compare
Choose a tag to compare
  • Bug fix for embeds: play not being defined (fixes #185 and #186)