Releases: sampotts/plyr
Releases · sampotts/plyr
v1.8.3
- 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
- _(Important)_
setup()
now returns the element Plyr was setup on rather than theplyr
object. This meansvar player = plyr.setup()[0];
would now bevar 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
- 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 callingsetup()
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
v1.6.15
v1.6.14
v1.6.13
v1.6.2
v1.6.0
- 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 toclickToPlay
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 insrc
renamed from toscss