Commit Graph

  • 8f359adf9c Fix captions.toggle order Albin Larsson 2018-06-16 01:23:47 +02:00
  • 1f09493ba2 Captions: Handle uppercase input (like before) Albin Larsson 2018-06-16 01:07:16 +02:00
  • 115f352ade Respect call order and prioritize public API calls for setting poster, in order to avoid race conditions Albin Larsson 2018-06-15 23:56:47 +02:00
  • 2af60c5c0d Add 'ready' promise Albin Larsson 2018-06-15 23:01:33 +02:00
  • aab2817ddc Copy poster when creating new media element for YouTube and Vimeo (needed for #1018) Albin Larsson 2018-06-15 22:57:16 +02:00
  • f1c4752036 Filter out null / undefined in elements.setAttributes Albin Larsson 2018-06-15 22:52:19 +02:00
  • 88735e3146 Replace switch in controls.updateSetting with condition Albin Larsson 2018-06-15 12:48:37 +02:00
  • c373ed72d7 Replace switch in YouTube error handler with object literal Albin Larsson 2018-06-15 14:20:10 +02:00
  • 213cfe8c84 Replace switch in media.js with simpler conditions Albin Larsson 2018-06-15 12:42:50 +02:00
  • 87ea5e14b4 Replace provider switch plyr.js with conditions Albin Larsson 2018-06-15 12:56:58 +02:00
  • 2aa967aba9 Replace switch in source.js with destructuring Albin Larsson 2018-06-15 12:33:30 +02:00
  • d522e40594 Merge pull request #1034 from friday/remove-array-newline-rule Sam Potts 2018-06-15 15:34:29 +10:00
  • 3cd2b9a6c3 Merge pull request #1036 from friday/captions-passive-toggle Sam Potts 2018-06-15 15:33:39 +10:00
  • 19e412a73a Add 'passive' flag to internal captions methods to avoid overriding user preferences, support multiple browser languages (get first match) and improve comments Albin Larsson 2018-06-15 06:06:16 +02:00
  • cf5f77c709 Fix menu transitionend event listener Albin Larsson 2018-06-15 05:51:23 +02:00
  • 4811e3333f Merge pull request #1035 from sampotts/friday-contrib-2 Sam Potts 2018-06-15 11:04:33 +10:00
  • 8257857075 Wrap caption toggle event listener callback to avoid sending event Albin Larsson 2018-06-15 02:44:00 +02:00
  • e3e4e60fdb Contributions improvements friday 2018-06-14 19:50:59 +02:00
  • 6ce9a94932 Move internal event listeners for captions with direct handling in the captions object Albin Larsson 2018-06-14 16:10:36 +02:00
  • fa5d0ad316 Move toggleCaption internals to captions object Albin Larsson 2018-06-14 15:58:35 +02:00
  • 6bff6b317d Remove line breaks in arrays Albin Larsson 2018-06-13 22:18:57 +02:00
  • 99ac8d4c52 Remove array-newline rule Albin Larsson 2018-06-13 22:07:32 +02:00
  • 019e1f80ca Merge pull request #1032 from friday/event-2 Sam Potts 2018-06-13 23:16:46 +10:00
  • 2fe98f3721 Fix condition in events.toggleListener to allow non-elements Albin Larsson 2018-06-13 14:29:55 +02:00
  • 5c08363400 Merge pull request #1030 from friday/event-improvements Sam Potts 2018-06-13 10:52:17 +10:00
  • 927326f715 Also remove 'once' event listeners when destroying (they may still be waiting) Albin Larsson 2018-06-12 19:43:08 +02:00
  • 53933dff7e Use toggleListener in trapFocus Albin Larsson 2018-06-12 19:39:26 +02:00
  • f15c1344b0 Removed support for multiple elements in toggleListener Albin Larsson 2018-06-12 19:10:00 +02:00
  • fb48b330cc typo Albin Larsson 2018-06-12 17:41:17 +02:00
  • 5dddf8b0ec Logic cleanup Sam Potts 2018-06-13 00:56:31 +10:00
  • 0ecf7e3854 Force string on format Sam Potts 2018-06-13 00:48:42 +10:00
  • aae1092bac Merge branch 'develop' of github.com:sampotts/plyr into develop Sam Potts 2018-06-13 00:41:30 +10:00
  • 7158e507ad Merge pull request #1029 from cky917/develop Sam Potts 2018-06-13 00:05:31 +10:00
  • 70f3390ffe Merge pull request #1028 from a60814billy/fix/cancel-request-not-remove-source-tag-correctly Sam Potts 2018-06-13 00:03:24 +10:00
  • 392dfd024c Utils broken down into seperate files and exports Sam Potts 2018-06-13 00:02:55 +10:00
  • 87170ab460 remove event listeners in destroy, add once method cky 2018-06-12 20:55:31 +08:00
  • ee4c044d27 fix: html5.cancelRequest not remove source tag correctly BoHong Li 2018-06-12 11:35:31 +08:00
  • 0b09b8ee6f Merge pull request #1027 from friday/quality Sam Potts 2018-06-12 11:13:34 +10:00
  • db95b3234f Move uniqueness filter from getQualityOptions to setQualityMenu Albin Larsson 2018-06-11 17:00:34 +02:00
  • 6d2dad5810 Trigger qualityrequested event unconditionally when trying to set it (needed for streaming libraries to be able to listen) Albin Larsson 2018-06-11 20:41:53 +02:00
  • 81ee3f759c Remove todo comment about Vimeo support for setting quality (they don't support it) Albin Larsson 2018-06-11 08:56:13 +02:00
  • ed606c28ab Filter out unsupported mimetypes in getSources() instead of the quality setter Albin Larsson 2018-06-11 06:34:02 +02:00
  • f15e07f7f5 Simplify logic in youtube.mapQualityUnit (not that it matters much now) Albin Larsson 2018-06-11 20:21:37 +02:00
  • cd14c3086d Merge pull request #1025 from azu/patch-1 Sam Potts 2018-06-11 20:16:18 +10:00
  • 41184b82ee Fix markdown in README azu 2018-06-11 19:12:35 +09:00
  • 6a6f3914c0 Merge branch 'develop' into a11y-improvements Sam Potts 2018-06-11 17:13:09 +10:00
  • 840e31a693 v3.3.12 v3.3.12 Sam Potts 2018-06-11 17:10:37 +10:00
  • 1bc452c349 Merge Sam Potts 2018-06-11 16:54:35 +10:00
  • 3fad6ed42c Merge branch 'develop' into a11y-improvements Sam Potts 2018-06-11 16:54:20 +10:00
  • 38f954ef17 Merge branch 'master' into develop Sam Potts 2018-06-11 16:48:54 +10:00
  • abd1182303 Merge Sam Potts 2018-06-11 16:45:40 +10:00
  • efe70ab48e v3.3.11 v3.3.11 Sam Potts 2018-06-11 16:39:35 +10:00
  • 62c263bda3 Replace quality setter conditions with Array.find() Albin Larsson 2018-06-11 04:22:40 +02:00
  • 4c1337b4c5 Assure type safety in getSources() and getQualityOptions() (always return arrays), and remove external conditions and type conversion no longer needed Albin Larsson 2018-06-11 03:21:18 +02:00
  • 38f10d4cc6 WIP Sam Potts 2018-06-11 16:19:11 +10:00
  • 1ad76800b0 Merge pull request #1024 from friday/event-bubble-detail Sam Potts 2018-06-11 16:13:02 +10:00
  • cc97d7be6a Fix synthetic event bubble/proxy loses detail Albin Larsson 2018-06-11 08:00:46 +02:00
  • f951cb372c Merge pull request #1023 from friday/make-utils-static Sam Potts 2018-06-11 14:41:06 +10:00
  • 37a3ab202a Remove wrapper function around utils.is.element in Plyr.setup() (no lnger needed) Albin Larsson 2018-06-11 05:42:11 +02:00
  • b148adc0af Avoid using this to refer to utils or utils.is, since that means methods can't be used statically Albin Larsson 2018-06-11 05:19:39 +02:00
  • 16828e975a Move utils.is.getConstructor() to utils.getConstructor() Albin Larsson 2018-06-11 05:12:34 +02:00
  • 7d26f41d64 Merge pull request #1015 from friday/captions-fixes-again Sam Potts 2018-06-11 13:21:05 +10:00
  • f37f465ce4 Merge pull request #1020 from friday/1016 Sam Potts 2018-06-11 11:48:03 +10:00
  • b199215525 Merge pull request #1021 from friday/vimeo-seek-while-playing Sam Potts 2018-06-11 11:47:34 +10:00
  • 94699f3255 Fix problem with YouTube and Vimeo seeking while playing Albin Larsson 2018-06-11 02:05:26 +02:00
  • d3e98eb27e Vimeo: Assure state is updated with autoplay (fixes #1016) Albin Larsson 2018-06-10 23:59:59 +02:00
  • 41012a9843 Typo Albin Larsson 2018-06-10 22:00:15 +02:00
  • c83487a293 Fix #1017, fix #980, fix #1014: Captions rewrite (use index internally) Albin Larsson 2018-06-08 14:49:35 +02:00
  • 1fab4919c0 controls.createMenuItem: Change input to object (too many params made it hard to read) Albin Larsson 2018-06-09 14:14:34 +02:00
  • 9dc0f28800 Avoid condition in getTracks Albin Larsson 2018-06-08 21:16:17 +02:00
  • b57784d1a5 Change debug warn 'Unsupported language option' to log 'Language option doesn't yet exist' since it doesn't have to be an error Albin Larsson 2018-06-08 13:45:20 +02:00
  • a80b31bf98 Fix #1003: Formatted captions issue Albin Larsson 2018-06-08 13:31:29 +02:00
  • 7c6d4666e9 Merge branch 'develop' into a11y-improvements Sam Potts 2018-06-09 17:03:16 +10:00
  • 76bb299c68 Restore default Sam Potts 2018-06-09 12:05:37 +10:00
  • 0c03accd41 Fix Sprite issue Sam Potts 2018-06-09 12:04:53 +10:00
  • b12eeb0eb7 Merge captions setText and setCue into updateCues (fixes #998 and vimeo cuechange event) Albin Larsson 2018-06-04 14:22:09 +02:00
  • 8e634862ff Merge pull request #1007 from cky917/master Sam Potts 2018-06-08 10:54:16 +10:00
  • 1e1874d86b Merge pull request #1009 from friday/contributing Sam Potts 2018-06-08 10:52:37 +10:00
  • 16624b90d3 Clarifications due to recent non-constructive comments in #1001 Albin Larsson 2018-06-07 14:30:05 +02:00
  • ed14b656a8 Add contributing document Albin Larsson 2018-06-07 11:47:51 +02:00
  • 1d0cf16254 Readme: Replace streaming section with codepen templates for all supported formats and libraries (and updated code) Albin Larsson 2018-06-07 11:47:34 +02:00
  • 84424f7f67 fix: when the seek input is focused and the video is playing, the space key can't make the video pause, because after 'keyup', it always make the video play cky 2018-06-06 19:27:07 +08:00
  • c95d9923f7 fix: https://github.com/sampotts/plyr/issues/1006 cky 2018-06-06 16:57:24 +08:00
  • 05b85da3f4 Update controls.md (fixes #996) Sam Potts 2018-06-02 19:48:48 +10:00
  • a4caba120c Merge branch 'master' of github.com:sampotts/plyr v3.3.10 Sam Potts 2018-05-31 23:43:40 +10:00
  • 969a877a34 v3.3.10 Sam Potts 2018-05-31 23:41:48 +10:00
  • fb22a90d33 Merge pull request #993 from sampotts/develop Sam Potts 2018-05-31 23:39:51 +10:00
  • 108bd3dfa0 Fixed incorrect BEM formatting, fixed buffer alignment Sam Potts 2018-05-31 23:33:59 +10:00
  • 5a445ae647 Merge pull request #988 from kim-company/translate-qualities Sam Potts 2018-05-31 22:43:31 +10:00
  • 56668f58b6 Rename qualityName to label Philip Giuliani 2018-05-31 14:40:56 +02:00
  • eec96e5879 Merge pull request #990 from friday/travis Sam Potts 2018-05-31 18:33:00 +10:00
  • c6c9d877e4 Merge pull request #992 from philipgiuliani/quality-resume-time Sam Potts 2018-05-31 18:32:10 +10:00
  • 61f4b998e1 Wait for the metadata to be loaded before setting the currentTime Philip Giuliani 2018-05-31 10:17:21 +02:00
  • 25a319d884 Merge pull request #989 from friday/pr-template Sam Potts 2018-05-31 08:34:02 +10:00
  • 4bf678fe6c Proposed changes to PR template (develop as base branch, exclude build and typo fix) Albin Larsson 2018-05-30 19:52:15 +02:00
  • 359acd6bb9 Lint and build in travis Albin Larsson 2018-05-30 18:58:32 +02:00
  • 2fce385691 Add npm scripts for linting and building Albin Larsson 2018-05-30 18:58:09 +02:00
  • a82c61c539 Gulp: Add option to build only Albin Larsson 2018-05-30 18:49:48 +02:00
  • a8fa125a96 Refactor getDeep method Philip Giuliani 2018-05-30 17:30:10 +02:00
  • 6435ced707 Return undefined when the key is not present. Philip Giuliani 2018-05-30 17:10:38 +02:00