From c0909095e31b2901092f9ca875d7d5536ebc90fd Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 26 May 2016 22:32:18 +0100 Subject: [PATCH] Added `disableContextMenu` option to hide the right click context menu (fixes #248 and #225) --- changelog.md | 45 ++++++++++++++++++++++++--------------------- dist/plyr.js | 4 ++-- package.json | 2 +- readme.md | 16 +++++++++++----- src/js/plyr.js | 10 ++++++++-- 5 files changed, 46 insertions(+), 31 deletions(-) diff --git a/changelog.md b/changelog.md index 39dcecd7..9180fb4b 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,10 @@ # Changelog +# v1.6.17 +- Added `disableContextMenu` option to hide the right click context menu (fixes #248 and #225) + # v1.6.16 -- Always hide standard controls (Fixes #225) +- Always hide standard controls (fixes #225) - Fix for Tooltips overflowing (fixes #230) ## v1.6.15 @@ -89,18 +92,18 @@ - Docs fixes inc controls HTML (fixes #180) ## v1.5.17 -- Expose YouTube and Vimeo API (docs update required) (Fixes #176) +- Expose YouTube and Vimeo API (docs update required) (fixes #176) - Auto set title based on YouTube getVideoData() title property - Bug fix for Vimeo API change (Uncaught TypeError: Cannot read property 'value' of undefined) due to a change their end ## v1.5.16 -- Cancel requests on source change (Fixes #174) +- Cancel requests on source change (fixes #174) ## v1.5.15 -- Fix for CustomEvent polyfill and related bug (See #172) +- Fix for CustomEvent polyfill and related bug (see #172) ## v1.5.14 -- Volume storage fix (Fixes #171) +- Volume storage fix (fixes #171) ## v1.5.13 - Fix for manual caption rendering @@ -203,11 +206,11 @@ ## v1.2.3 - Fix for YouTube on iPhone or unsupported browsers (fallback to YouTube native) - Docs tidy up -- Fullscreen for Safari fix (Fixes #96) +- Fullscreen for Safari fix (fixes #96) ## v1.2.2 -- Fix for :focus keyboard vs mouse (Fixes #61) -- Fix for caption positioning in full screen (Fixes #92) +- Fix for :focus keyboard vs mouse (fixes #61) +- Fix for caption positioning in full screen (fixes #92) ## v1.2.1 - Tooltip bug fix @@ -234,7 +237,7 @@ - Bug fix for 1.1.8 ## v1.1.8 -- setVolume API method improvements (Fixes #83) +- setVolume API method improvements (fixes #83) ## v1.1.7 - Restore classname on destroy() @@ -243,7 +246,7 @@ - New API methods (fixes #77), Fix for non strict mode (fixes #78) ## v1.1.5 -- Fix for incorrect `isFullscreen()` return value in Mozilla (Fixes #38) +- Fix for incorrect `isFullscreen()` return value in Mozilla (fixes #38) ## v1.1.4 - Minor bug fixes @@ -267,17 +270,17 @@ - Display duration on `metadataloaded` ## v1.0.30 -- Fixed bug with media longer than 60 minutes (Fixes #69) +- Fixed bug with media longer than 60 minutes (fixes #69) ## v1.0.29 -- Added option to hide controls on fullscreen (default `true`) while palying, after 1s. Pause, mouse hover on progress, or focus on a child control re-shows the controls. On touch a tap of the video (which plays/pauses the video by default) is required. (Fixes #47) +- Added option to hide controls on fullscreen (default `true`) while palying, after 1s. Pause, mouse hover on progress, or focus on a child control re-shows the controls. On touch a tap of the video (which plays/pauses the video by default) is required. (fixes #47) - Fixed a bug with caption toggle in 1.0.28 ## v1.0.28 - Added API support for browsers that don't have full plyr support (pretty much <=IE9 and `