aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | MergeSam Potts2020-04-242-604/+548
|/ / / / / / / /
* | | | | | | | Merge pull request #1793 from theprojectsomething/features/postload-captionsSam Potts2020-04-231-1/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Preload TextTracks as per default video element
| * | | | | | | | This commit addresses preloading TextTracks as outlined in feature request #1791Som Meaden2020-04-231-1/+13
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes bring Plyr captions download behaviour in line with that of the default video element in major browsers. Specifically text tracks only download as they are required for display. Previously all text tracks would download when the Plyr instance was instantiated - which could become an issue when e.g. many translations are available. For a track to be downloaded it must either be the default track, the active track when captions are toggled on, or selected from the captions menu.
* | | | | | | | Merge pull request #1759 from theprojectsomething/features/fullscreen-containerSam Potts2020-04-196-6/+48
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | Features/fullscreen container
| * | | | | | | revert dist (brain fart earlier .. deleted instead of reverting)Som Meaden2020-04-0515-0/+49644
| | | | | | | |
| * | | | | | | convert fullscreen children listeners logic to ~ES6Som Meaden2020-04-042-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove gulp serve shortcut
| * | | | | | | revert demoSom Meaden2020-04-045-147/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature demo is available here: https://codepen.io/theprojectsomething/full/bGdyJmv
| * | | | | | | remove distSom Meaden2020-04-0415-49792/+0
| | | | | | | |
| * | | | | | | minor demo fix for fallback mode (inline style was overriding plyr stylesheet)Som Meaden2020-04-041-2/+4
| | | | | | | |
| * | | | | | | This is a PR to allow for contextual content to be included in fullscreen ↵Som Meaden2020-04-0423-67/+390
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
| * | | | | | | include `npm run serve` shortcut for `gulp serve` (useful where gulp isn't ↵Som Meaden2020-04-041-0/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | installed globally)
* | | | | | | Added prettier scriptSam Potts2020-03-297-10/+30
| | | | | | |
* | | | | | | Merge branch 'develop' of github.com:sampotts/plyr into developSam Potts2020-03-2934-1885/+2220
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # package.json # yarn.lock
| * \ \ \ \ \ \ Merge pull request #1686 from lawchihon/masterSam Potts2020-03-291-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Added missing full screen options for type definition
| | * | | | | | | Added missing full screen options for type definitionJohn Law2020-02-121-0/+1
| | | | | | | | |
| * | | | | | | | Merge pull request #1697 from hug963/fix-vimeo-playback-rateSam Potts2020-03-291-0/+3
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix vimeo playback rate
| | * | | | | | | | catch error in setPlaybackRate on VimeoHugues2020-02-201-0/+3
| | | | | | | | | |
| * | | | | | | | | Merge pull request #1724 from Steejo/ads-plugin-fixesSam Potts2020-03-291-12/+21
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Ads plugin fixes to allow multiple VAST requests
| | * | | | | | | | | Ads plugin fixes to allow multiple VAST requestsSteejo2020-03-091-12/+21
| | | | | | | | | | |
| * | | | | | | | | | Merge pull request #1705 from doublex/masterSam Potts2020-03-291-7/+22
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | preview-thumbnails via src:callback()
| | * | | | | | | | | | Fixes2max2020-02-261-4/+4
| | | | | | | | | | | |
| | * | | | | | | | | | Fixesmax2020-02-261-6/+9
| | | | | | | | | | | |
| | * | | | | | | | | | preview-thumbnails via src:callback()max2020-02-251-7/+19
| | | | | | | | | | | |
| * | | | | | | | | | | Merge pull request #1739 from ydylla/ignore-internal-play-promisesSam Potts2020-03-297-34/+66
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore internal play promises
| | * | | | | | | | | | | add promise footnote to togglePlayydylla2020-03-231-24/+24
| | | | | | | | | | | | |
| | * | | | | | | | | | | silence all internal play promisesydylla2020-03-236-10/+42
| | | |/ / / / / / / / / | | |/| | | | | | | | |
| * | | | | | | | | | | Merge pull request #1727 from jnoordsij/fix_shadowrootSam Potts2020-03-292-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | Fix shadowroot
| | * | | | | | | | | | Compare fullscreenElement with shadowroot host if player is in shadow DOMJesper2020-03-101-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Fix prototype used for selector matcher functionJesper2020-03-101-1/+1
| | | | | | | | | | | |
| * | | | | | | | | | | BuildSam Potts2020-03-2717-3286/+2639
| | | | | | | | | | | |
| * | | | | | | | | | | Package upgradesSam Potts2020-03-272-669/+681
| | | | | | | | | | | |
| * | | | | | | | | | | Merge branch 'master' into developSam Potts2020-03-271-1/+27
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / | |/| | | | | | | | | / | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | |
| | * | | | | | | | | Update readme.mdSam Potts2020-03-141-1/+3
| | | | | | | | | | |
| | * | | | | | | | | Update readme.mdSam Potts2020-03-141-1/+1
| | | | | | | | | | |
| | * | | | | | | | | Merge pull request #1729 from opencollective/opencollectiveSam Potts2020-03-141-1/+25
| | |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | |/| | | | | | | | Add financial contributors for Open Collective
| | | * | | | | | | | Add financial contributors for Open Collectivejess2020-03-131-1/+25
| | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, I'm making updates for Open Collective. Either you or another core contributor signed this repository up for Open Collective. This pull request adds financial contributors from your Open Collective https://opencollective.com/plyr ❤️ What it does: - adds a badge to show the latest number of financial contributors - adds a banner displaying contributors to the project on GitHub - adds a banner displaying all individuals contributing financially on Open Collective - adds a section displaying all organizations contributing financially on Open Collective, with their logo and a link to their website P.S: As with any pull request, feel free to comment or suggest changes. Thank you for your great contribution to the Open Source community. You are awesome! 🙌 And welcome to the Open Collective community! 😊 Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other Open Source sustainers!
| * | | | | | | | | Merge pull request #1706 from sampotts/masterSam Potts2020-02-261-4/+3
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge back
| | * | | | | | | | Merge pull request #1701 from mogzol/patch-1Sam Potts2020-02-261-4/+3
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | Use number instead of string in TS quality definitions
| | | * | | | | | | Use number instead of string in TS quality definitionsMorgan Zolob2020-02-241-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using strings for the quality doesn't work, plyr expects numbers, so this fixes the definitions.
| * | | | | | | | | Merge pull request #1704 from hug963/add-missing-ts-typesSam Potts2020-02-261-0/+25
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Add missing Typescripts types and options
| | * | | | | | | | | Add missing Typescripts types and optionsHugues2020-02-251-0/+25
| | | |_|/ / / / / / | | |/| | | | | | |
| * | | | | | | | | Merge pull request #1703 from LeBenLeBen/developSam Potts2020-02-261-1/+1
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Completely hide SVG icons to screen readers
| | * | | | | | | | | Completely hide SVG icons to screen readersBenoît Burgener2020-02-251-1/+1
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SVG icons should be ignored by screen readers since they have complimentary labels (aria-label or plyr__sr-only). The current « presentation » role simply makes the element behave like a « span » which is incorrect, aria-hidden prevents screen readers from taking care of these elements at all.
| * | | | | | | | | Merge pull request #1702 from sampotts/masterSam Potts2020-02-253-2/+14
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| / / / / / / / | | |/ / / / / / / Merge back
| | * / / / / / / Update contributing.mdSam Potts2020-02-251-2/+2
| | |/ / / / / /
| | * | | | | | Merge pull request #1694 from nisarhassan12/masterSam Potts2020-02-193-1/+13
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | simplify contributions by fully automating the dev setup with gitpod
| | | * | | | | | simplify code contributions by fully automating the dev setup with gitpodNisar Hassan Naqvi2020-02-173-1/+13
| | |/ / / / / /
| * | | | | | | Merge pull request #1695 from CzBiX/patch-2Sam Potts2020-02-191-1/+2
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | Fix issue when controls config is string or element
| | * | | | | | Fix issue when controls config is string or elementCzBiX2020-02-171-1/+2
| |/ / / / / /
* | | | | | | Package upgradesSam Potts2020-03-292-640/+691
| | | | | | |