Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | This is a PR to allow for contextual content to be included in fullscreen ↵ | Som Meaden | 2020-04-04 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | (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. | ||||
* | Removed redundant keys property | Sam Potts | 2020-02-12 | 1 | -4/+1 |
| | |||||
* | Set referrerPolicy in the demo | Sam Potts | 2020-02-10 | 1 | -0/+4 |
| | |||||
* | Demo clean up | Sam Potts | 2019-06-02 | 1 | -189/+54 |
| | |||||
* | Fixed cite display | Sam Potts | 2019-06-02 | 1 | -2/+4 |
| | |||||
* | Packages for demo separated | Sam Potts | 2019-06-02 | 1 | -3/+7 |
| | |||||
* | Linting changes | Sam Potts | 2019-06-01 | 1 | -0/+1 |
| | |||||
* | Update build process | Sam Potts | 2019-02-19 | 1 | -10/+3 |
| | |||||
* | Added RangeTouch, updated Shr lib in demo | Sam Potts | 2019-02-19 | 1 | -2/+2 |
| | |||||
* | Ads bug fixes | Sam Potts | 2019-02-01 | 1 | -2/+9 |
| | |||||
* | Paths | Sam Potts | 2019-01-27 | 1 | -1/+1 |
| | |||||
* | Added ES builds | Sam Potts | 2019-01-27 | 1 | -0/+1 |
| | |||||
* | Tweaks | Sam Potts | 2019-01-26 | 1 | -3/+0 |
| | |||||
* | Merge branch 'develop' into issues/1316-allow-to-customize-vimeo-url-params | Sam Potts | 2019-01-26 | 1 | -23/+0 |
|\ | |||||
| * | Merge branch 'master' into develop | Sam Potts | 2019-01-26 | 1 | -23/+0 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # changelog.md # demo/dist/demo.js.map # demo/dist/demo.min.js # demo/dist/demo.min.js.map # demo/index.html # 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 # package.json # readme.md # yarn.lock | ||||
| | * | Fix analytics | Sam Potts | 2019-01-17 | 1 | -9/+0 |
| | | | |||||
| | * | Fix GA | Sam Potts | 2019-01-17 | 1 | -3/+1 |
| | | | |||||
| | * | v3.4.8 | Sam Potts | 2019-01-17 | 1 | -18/+6 |
| | | | | | | | | | | | | - Calling customized controls function with proper arguments (thanks @a60814billy) | ||||
| * | | Clean up | Sam Potts | 2019-01-26 | 1 | -3/+1 |
| | | | |||||
| * | | Plugin tweaks for ads and previews | Sam Potts | 2019-01-26 | 1 | -1/+3 |
| | | | |||||
* | | | Adds options for vimeo plugin #1316 | Christian Gambardella | 2019-01-24 | 1 | -0/+3 |
|/ / | | | | | | | This adds replaces hard coded vimeo options with options that can be passed to the Plyr instance when initializing. | ||||
* / | Enable thumbs in demo | Sam Potts | 2019-01-08 | 1 | -0/+7 |
|/ | |||||
* | Fix IE11 issue in demo | Sam Potts | 2018-08-13 | 1 | -2/+3 |
| | |||||
* | Ads on dev or prod only | Sam Potts | 2018-08-01 | 1 | -61/+14 |
| | |||||
* | Demo config | Sam Potts | 2018-08-01 | 1 | -2/+1 |
| | |||||
* | Linting | Sam Potts | 2018-08-01 | 1 | -49/+20 |
| | |||||
* | Click to play fix, poster fix, iOS controls fixes | Sam Potts | 2018-07-30 | 1 | -3/+4 |
| | |||||
* | Keyboard and focus improvements | Sam Potts | 2018-07-15 | 1 | -22/+63 |
| | |||||
* | Linting, housekeeping, duration fix (fixes #1074) | Sam Potts | 2018-06-29 | 1 | -0/+1 |
| | |||||
* | v3.3.14 | Sam Potts | 2018-06-18 | 1 | -9/+17 |
| | |||||
* | Restore default | Sam Potts | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Fix Sprite issue | Sam Potts | 2018-06-09 | 1 | -1/+1 |
| | |||||
* | Use div for poster, Vimeo fixes, Tooltip fixes | Sam Potts | 2018-05-08 | 1 | -0/+33 |
| | |||||
* | ARIA and Vimeo fixes | Sam Potts | 2018-04-18 | 1 | -1/+0 |
| | |||||
* | More bug fixes | Sam Potts | 2018-04-17 | 1 | -2/+1 |
| | |||||
* | Fix for `playing` false positive (fixes #898) | Sam Potts | 2018-04-17 | 1 | -0/+1 |
| | |||||
* | Styling fixes | Sam Potts | 2018-04-03 | 1 | -1/+1 |
| | |||||
* | HTML5 quality selection | Sam Potts | 2018-04-02 | 1 | -4/+22 |
| | |||||
* | Controls docs, package upgrades | Sam Potts | 2018-03-30 | 1 | -0/+1 |
| | |||||
* | Fix regression | Sam Potts | 2018-03-29 | 1 | -4/+1 |
| | |||||
* | Bug fixes | Sam Potts | 2018-03-28 | 1 | -1/+1 |
| | |||||
* | v3.0.6 | Sam Potts | 2018-03-28 | 1 | -1/+4 |
| | |||||
* | Fix for seeking issue | Sam Potts | 2018-03-27 | 1 | -1/+1 |
| | |||||
* | Fixes for fast forward and issues with event.preventDefault() | Sam Potts | 2018-03-27 | 1 | -0/+16 |
| | |||||
* | Sentry in live only | Sam Potts | 2018-03-18 | 1 | -215/+217 |
| | |||||
* | Added Sentry | Sam Potts | 2018-03-18 | 1 | -192/+204 |
| | |||||
* | Added buffered getter | Sam Potts | 2018-03-17 | 1 | -0/+1 |
| | |||||
* | Update ads | Sam Potts | 2018-03-13 | 1 | -1/+0 |
| | |||||
* | Event listener fixes, loadScript promise, ads tweaks | Sam Potts | 2018-03-11 | 1 | -0/+1 |
| | |||||
* | Manually merged PRs | Sam Potts | 2018-03-10 | 1 | -2/+2 |
| |