aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Respect call order and prioritize public API calls for setting poster, in ↵Albin Larsson2018-06-154-30/+42
| | | | order to avoid race conditions
* Add 'ready' promiseAlbin Larsson2018-06-151-0/+6
|
* Copy poster when creating new media element for YouTube and Vimeo (needed ↵Albin Larsson2018-06-152-2/+10
| | | | for #1018)
* Filter out null / undefined in elements.setAttributesAlbin Larsson2018-06-151-3/+5
|
* Merge pull request #1034 from friday/remove-array-newline-ruleSam Potts2018-06-1512-135/+30
|\ | | | | Suggestion: Remove array newline rule
| * Remove line breaks in arraysAlbin Larsson2018-06-1312-135/+30
| |
* | Add 'passive' flag to internal captions methods to avoid overriding user ↵Albin Larsson2018-06-152-56/+103
| | | | | | | | preferences, support multiple browser languages (get first match) and improve comments
* | Fix menu transitionend event listenerAlbin Larsson2018-06-152-8/+10
| |
* | Wrap caption toggle event listener callback to avoid sending eventAlbin Larsson2018-06-151-1/+1
| |
* | Move internal event listeners for captions with direct handling in the ↵Albin Larsson2018-06-142-20/+19
| | | | | | | | captions object
* | Move toggleCaption internals to captions objectAlbin Larsson2018-06-142-21/+25
|/
* Fix condition in events.toggleListener to allow non-elementsAlbin Larsson2018-06-131-1/+1
|
* Merge pull request #1030 from friday/event-improvementsSam Potts2018-06-135-33/+19
|\ | | | | Minor event changes
| * Also remove 'once' event listeners when destroying (they may still be waiting)Albin Larsson2018-06-124-6/+6
| |
| * Use toggleListener in trapFocusAlbin Larsson2018-06-121-6/+2
| |
| * Removed support for multiple elements in toggleListenerAlbin Larsson2018-06-122-22/+12
| |
| * typoAlbin Larsson2018-06-121-1/+1
| |
* | Logic cleanupSam Potts2018-06-131-10/+8
| |
* | Force string on formatSam Potts2018-06-131-1/+1
|/
* Merge branch 'develop' of github.com:sampotts/plyr into developSam Potts2018-06-1311-245/+190
|\ | | | | | | | | | | | | | | | | | | | | | | # 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
| * Merge pull request #1029 from cky917/developSam Potts2018-06-137-53/+72
| |\ | | | | | | remove event listeners in destroy()
| | * remove event listeners in destroy, add once methodcky2018-06-127-53/+72
| | |
| * | fix: html5.cancelRequest not remove source tag correctlyBoHong Li2018-06-121-1/+1
| |/
| * Merge pull request #1027 from friday/qualitySam Potts2018-06-124-134/+56
| |\ | | | | | | Minor code improvements for quality switching
| | * Move uniqueness filter from getQualityOptions to setQualityMenuAlbin Larsson2018-06-122-6/+4
| | |
| | * Trigger qualityrequested event unconditionally when trying to set it (needed ↵Albin Larsson2018-06-123-14/+4
| | | | | | | | | | | | for streaming libraries to be able to listen)
| | * Remove todo comment about Vimeo support for setting quality (they don't ↵Albin Larsson2018-06-121-1/+0
| | | | | | | | | | | | support it)
| | * Filter out unsupported mimetypes in getSources() instead of the quality setterAlbin Larsson2018-06-121-9/+9
| | |
| | * Simplify logic in youtube.mapQualityUnit (not that it matters much now)Albin Larsson2018-06-121-45/+19
| | |
| | * Replace quality setter conditions with Array.find()Albin Larsson2018-06-111-21/+13
| | |
| | * Assure type safety in getSources() and getQualityOptions() (always return ↵Albin Larsson2018-06-111-42/+11
| | | | | | | | | | | | arrays), and remove external conditions and type conversion no longer needed
* | | Utils broken down into seperate files and exportsSam Potts2018-06-1332-1463/+1530
|/ /
* | v3.3.12Sam Potts2018-06-113-3/+3
| |
* | Merge branch 'master' into developSam Potts2018-06-113-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | # Conflicts: # dist/plyr.js.map # dist/plyr.min.js # dist/plyr.min.js.map # dist/plyr.polyfilled.js.map # dist/plyr.polyfilled.min.js # dist/plyr.polyfilled.min.js.map
| * v3.3.11Sam Potts2018-06-113-3/+3
| |
* | Fix synthetic event bubble/proxy loses detailAlbin Larsson2018-06-111-1/+1
| |
* | Remove wrapper function around utils.is.element in Plyr.setup() (no lnger ↵Albin Larsson2018-06-111-1/+1
| | | | | | | | needed)
* | Avoid using this to refer to utils or utils.is, since that means methods ↵Albin Larsson2018-06-111-17/+17
| | | | | | | | can't be used statically
* | Move utils.is.getConstructor() to utils.getConstructor()Albin Larsson2018-06-111-9/+10
| |
* | Merge pull request #1015 from friday/captions-fixes-againSam Potts2018-06-118-198/+212
|\ \ | | | | | | Captions rewrite (use index internally to support missing or duplicate languages)
| * | Fix #1017, fix #980, fix #1014: Captions rewrite (use index internally)Albin Larsson2018-06-104-136/+157
| | |
| * | controls.createMenuItem: Change input to object (too many params made it ↵Albin Larsson2018-06-101-13/+21
| | | | | | | | | | | | hard to read)
| * | Avoid condition in getTracksAlbin Larsson2018-06-101-7/+4
| | |
| * | Change debug warn 'Unsupported language option' to log 'Language option ↵Albin Larsson2018-06-101-1/+1
| | | | | | | | | | | | doesn't yet exist' since it doesn't have to be an error
| * | Fix #1003: Formatted captions issueAlbin Larsson2018-06-103-2/+3
| | |
| * | Merge captions setText and setCue into updateCues (fixes #998 and vimeo ↵Albin Larsson2018-06-084-57/+44
| | | | | | | | | | | | cuechange event)
* | | Merge pull request #1020 from friday/1016Sam Potts2018-06-111-0/+8
|\ \ \ | | | | | | | | Vimeo: Update playback state and assure events are triggered on load
| * | | Vimeo: Assure state is updated with autoplay (fixes #1016)Albin Larsson2018-06-111-0/+8
| | | |
* | | | Fix problem with YouTube and Vimeo seeking while playingAlbin Larsson2018-06-112-4/+11
|/ / /
* / / Fix Sprite issueSam Potts2018-06-091-13/+11
|/ /