Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #1963 from gurupras/dblclick-fullscreen-custom-listener | Sam Potts | 2020-10-19 | 1 | -1/+1 |
|\ | | | | | Invoke custom listener on double-clicking on video (fullscreen) | ||||
| * | Invoke custom listener on triggering fullscreen via double-click | Guru Prasad Srinivasa | 2020-09-23 | 1 | -1/+1 |
| | | |||||
* | | chore: update packages and linting | Sam Potts | 2020-08-30 | 1 | -5/+5 |
|/ | |||||
* | force fullscreen events to trigger on plyr element (media element in iOS) ↵ | Som Meaden | 2020-05-05 | 1 | -1/+3 |
| | | | | and not fullscreen container | ||||
* | Fix linting issues | Sam Potts | 2020-04-24 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' into css-variables | Sam Potts | 2020-04-24 | 1 | -2/+7 |
|\ | | | | | | | | | | | | | | | | | # Conflicts: # src/js/captions.js # src/js/config/defaults.js # src/js/fullscreen.js # src/js/listeners.js # src/js/plyr.js | ||||
| * | This is a PR to allow for contextual content to be included in fullscreen ↵ | Som Meaden | 2020-04-04 | 1 | -2/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (or fallback) mode. This means arbitrary elements (extensions to the basic player UI) can be overlaid and remain visible when the player switches to fullscreen. Example use-cases include: - display of video title or other metadata (see the included demo) - alternative access to menu items, such as a searchable captions list (in cases where many hundreds of languages are available) - custom share dialogs - integrated playlists with 'playing next' overlays This approach / PR is just an example of how this feature could work and aims to keep Plyr complexity to a minimum (while enabling some fairly interesting integrations). It utilises a single config option, and does away with the need for injecting bespoke APIs or elements into the player context on a per-project basis. Or trying to mess with what is a pretty slick, but tightly coupled system. For the user: A new `fullscreen.container` attribute is used to provide a container selector. The container must be an ancestor of the player, otherwise it's ignored. When toggling fullscreen mode, this container is now used in place of the player. Hovering over any children of the container is the same as hovering over the controls. The exception is where the player and the child share a common ancestor (that's not the fullscreen container) ... sounds complex but it's not. You can also gain pretty fine control this way with pointer events. Under the hood: it adds a `utils/elements/closest` helper method to find the right ancestor. If found this is returned as the fullscreen target in place of the player container. Fullscreen is instantiated slightly earlier in the setup so this container is available for the `listeners.controls` call. In here we add some more 'mouseenter/mouseleave' listeners to any direct descendants of the container, that aren't also ancestors of the player. And that's it. No extra classes, nothing else. There are some style changes to the demo (top margin on the player) but these would be project specific. Thanks for reading. | ||||
* | | Converted to 2 space indentation | Sam Potts | 2020-04-11 | 1 | -240/+237 |
|/ | |||||
* | Merge branch 'develop' of github.com:sampotts/plyr into develop | Sam Potts | 2020-03-29 | 1 | -2/+3 |
|\ | | | | | | | | | | | # Conflicts: # package.json # yarn.lock | ||||
| * | Merge pull request #1739 from ydylla/ignore-internal-play-promises | Sam Potts | 2020-03-29 | 1 | -1/+2 |
| |\ | | | | | | | Ignore internal play promises | ||||
| | * | silence all internal play promises | ydylla | 2020-03-23 | 1 | -1/+2 |
| |/ |/| | |||||
| * | Compare fullscreenElement with shadowroot host if player is in shadow DOM | Jesper | 2020-03-10 | 1 | -1/+1 |
|/ | |||||
* | Focus trap improvements | Sam Potts | 2020-02-09 | 1 | -74/+99 |
| | |||||
* | Manually port over change from PR #1616 | Sam Potts | 2020-01-13 | 1 | -1/+1 |
| | |||||
* | File rename and clean up | Sam Potts | 2019-06-21 | 1 | -1/+0 |
| | |||||
* | Repaint clean up | Sam Potts | 2019-06-03 | 1 | -3/+0 |
| | |||||
* | Fullscreen fixes | Sam Potts | 2019-01-14 | 1 | -4/+22 |
| | |||||
* | Improved fullscreen on iPhone X etc | Sam Potts | 2018-09-25 | 1 | -0/+33 |
| | |||||
* | Remove 'video is playing' requirement for iosNative fullscreen | James | 2018-08-03 | 1 | -3/+1 |
| | |||||
* | Formatting fix | Sam Potts | 2018-06-17 | 1 | -2/+2 |
| | |||||
* | Merge branch 'develop' into a11y-improvements | Sam Potts | 2018-06-17 | 1 | -24/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # dist/plyr.js # dist/plyr.js.map # dist/plyr.min.js # dist/plyr.min.js.map # dist/plyr.polyfilled.js # dist/plyr.polyfilled.js.map # dist/plyr.polyfilled.min.js # dist/plyr.polyfilled.min.js.map # src/js/controls.js # src/js/fullscreen.js # src/js/plyr.js # src/js/ui.js # src/js/utils.js | ||||
| * | 120 line width, package upgrade | Sam Potts | 2018-06-17 | 1 | -6/+18 |
| | | |||||
| * | Remove line breaks in arrays | Albin Larsson | 2018-06-13 | 1 | -5/+1 |
| | | |||||
| * | Merge branch 'develop' of github.com:sampotts/plyr into develop | Sam Potts | 2018-06-13 | 1 | -4/+4 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # src/js/captions.js # src/js/controls.js # src/js/fullscreen.js # src/js/html5.js # src/js/listeners.js # src/js/plugins/youtube.js # src/js/plyr.js # src/js/utils.js | ||||
| | * | remove event listeners in destroy, add once method | cky | 2018-06-12 | 1 | -2/+2 |
| | | | |||||
| * | | Utils broken down into seperate files and exports | Sam Potts | 2018-06-13 | 1 | -17/+18 |
| |/ | |||||
* / | WIP | Sam Potts | 2018-05-28 | 1 | -1/+1 |
|/ | |||||
* | Remove references to window.Plyr | Sam Potts | 2018-05-10 | 1 | -1/+1 |
| | |||||
* | v3.2.4 | Sam Potts | 2018-04-27 | 1 | -1/+1 |
| | |||||
* | Fix for iOS 9 throwing error for `name` property in fullscreen API (fixes #908) | Sam Potts | 2018-04-25 | 1 | -5/+5 |
| | |||||
* | Fullscreen aria-pressed event listened fix for Chrome | Albin Larsson | 2018-04-17 | 1 | -1/+1 |
| | |||||
* | Fixes #873 Can't leave fullscreen in Chrome (using button) | Albin Larsson | 2018-04-05 | 1 | -1/+1 |
| | |||||
* | YouTube speed menu fix | Sam Potts | 2018-04-03 | 1 | -4/+6 |
| | |||||
* | v3.0.5 | Sam Potts | 2018-03-27 | 1 | -4/+0 |
| | |||||
* | Allow fullscreen in iframe | Sam Potts | 2018-03-27 | 1 | -3/+6 |
| | |||||
* | Fixes for fast forward and issues with event.preventDefault() | Sam Potts | 2018-03-27 | 1 | -1/+5 |
| | |||||
* | Fix for Firefox fullscreen oddness (Fixes #821) | Sam Potts | 2018-03-22 | 1 | -8/+12 |
| | |||||
* | Fix for custom controls | Sam Potts | 2018-02-13 | 1 | -0/+3 |
| | |||||
* | Fullscreen API changes, color settings tweaks | Sam Potts | 2018-02-11 | 1 | -82/+156 |
| | |||||
* | Converted to SASS/SCSS | Sam Potts | 2017-12-20 | 1 | -1/+7 |
| | |||||
* | IE & Edge fixes, Storage & Console classes | Sam Potts | 2017-12-08 | 1 | -2/+2 |
| | |||||
* | Moved to provider + type to make it cleaner in future, fix for multiple players | Sam Potts | 2017-11-23 | 1 | -1/+1 |
| | |||||
* | Updated data attributes to `data-plyr` namespace. Speed menu fixes | Sam Potts | 2017-11-23 | 1 | -11/+3 |
| | |||||
* | Captions fix | Sam Potts | 2017-11-19 | 1 | -2/+2 |
| | |||||
* | Moved console methods out of the root of the object | Sam Potts | 2017-11-09 | 1 | -2/+2 |
| | |||||
* | ES6-ified | Sam Potts | 2017-11-04 | 1 | -0/+129 |