Albin Larsson
|
812e07b734
|
Replace browser language detection in defaults.js with explicit 'auto' option
|
2018-05-28 07:43:37 +02:00 |
|
Albin Larsson
|
c9298fde76
|
Fix typo
|
2018-05-28 07:08:38 +02:00 |
|
Albin Larsson
|
0109454a34
|
Ensure language is set in case the track is added after initialization, and trigger languagechange event when language is initially set
|
2018-05-28 06:08:03 +02:00 |
|
Albin Larsson
|
813f703211
|
Add option to watch caption track changes and update language options
|
2018-05-28 06:08:03 +02:00 |
|
Albin Larsson
|
7aad747c25
|
Optimize captions code reused and ensure captionsenabled/captionsdisabled
will be sent on initial setup
|
2018-05-28 05:44:54 +02:00 |
|
Albin Larsson
|
6391ced99f
|
If storage is disabled, disable get as well, not just set
|
2018-05-28 01:58:06 +02:00 |
|
Albin Larsson
|
fac8a185ba
|
Simplify currentTime setter and bail when media hasn't loaded
|
2018-05-28 00:57:07 +02:00 |
|
Albin Larsson
|
c69aa8a42b
|
Avoid duration getter returning NaN before element has loaded
|
2018-05-28 00:57:01 +02:00 |
|
Albin Larsson
|
f34bf22125
|
Restore utils.is.cue()
|
2018-05-27 20:28:48 +02:00 |
|
Albin Larsson
|
121093ae71
|
Prevent durationchange events from showing time when invertTime is false
|
2018-05-19 04:27:45 +02:00 |
|
Albin Larsson
|
aa8fc313a9
|
Fix #966: Add 'seeked' event listener to update progress (seeking doesn't have the correct time)
|
2018-05-19 04:23:22 +02:00 |
|
Albin Larsson
|
723298a07b
|
Fix #921: Trigger seeked event in youtube plugin if either playing or paused
|
2018-05-19 04:18:27 +02:00 |
|
Albin Larsson
|
f8c89e3e95
|
Fix #876: YouTube and Vimeo autoplays on seek
|
2018-05-19 04:18:27 +02:00 |
|
Albin Larsson
|
333435a9c2
|
Fix playback state (paused) and events (play/pause)
|
2018-05-19 04:18:27 +02:00 |
|
Albin Larsson
|
37c5fbfe16
|
toggleControls() rewrite
|
2018-05-18 16:19:38 +02:00 |
|
Albin Larsson
|
d7356726a1
|
Remove ui.checkFailed() and error class
|
2018-05-16 23:21:06 +02:00 |
|
Albin Larsson
|
4db6bf7a2e
|
Make utils.toggleClass() compatible with Element.classList.toggle (rename toggle argument to 'force' and make it optional)
|
2018-05-16 23:21:06 +02:00 |
|
Albin Larsson
|
28826f6402
|
Add 'video only' caveat to toggleControls() doc (current behavior)
|
2018-05-16 23:21:06 +02:00 |
|
Albin Larsson
|
c845558d96
|
Youtube poster: Set css backgroundSize to 'cover' for padded youtube thumbnails
|
2018-05-15 16:41:51 +02:00 |
|
Albin Larsson
|
16c3a7d9e5
|
Rewrite ui.setPoster to check that images arent broken or youtube fallback images. Only show poster element when valid
|
2018-05-15 16:21:36 +02:00 |
|
Albin Larsson
|
90d5b48845
|
Add async method to utils for loading/checking images
|
2018-05-15 13:27:55 +02:00 |
|
Albin Larsson
|
d1acc4abb3
|
Add event before seeking via mouse interaction to set alternative 'value' for the input matching the tooltip time
|
2018-05-14 19:50:08 +02:00 |
|
Albin Larsson
|
7ca2169790
|
Expose defaults (enable overriding)
|
2018-05-14 06:49:04 +02:00 |
|
Albin Larsson
|
054f522aa9
|
Enable importing Plyr in node.js without errors (resulting in an empty object)
|
2018-05-14 05:35:13 +02:00 |
|
Albin Larsson
|
f2fc3f5ea5
|
Fix the seek tooltip time difference from seek time
|
2018-05-12 00:10:39 +02:00 |
|
Albin Larsson
|
069065ea3a
|
Fix #946 - poster getting click events
|
2018-05-08 16:50:40 +02:00 |
|
Albin Larsson
|
1672e78041
|
Fix poster being stretched
|
2018-05-08 16:49:32 +02:00 |
|
Albin Larsson
|
9e19b526b9
|
Only add hideControls class if config.hideControls is truthy
|
2018-04-26 17:51:14 +02:00 |
|
Albin Larsson
|
042b1a8294
|
Fullscreen aria-pressed event listened fix for Chrome
|
2018-04-17 20:28:47 +02:00 |
|
Albin Larsson
|
6d79b8cd4c
|
Don't require captions toggle button to be enabled in order to show captions
|
2018-04-17 18:59:19 +02:00 |
|
Albin Larsson
|
3082d0d128
|
Fixes #873 Can't leave fullscreen in Chrome (using button)
|
2018-04-05 20:29:01 +02:00 |
|
Albin Larsson
|
ed9e0c13d7
|
Fix #867: Add custom property fallback
|
2018-04-05 00:33:09 +02:00 |
|
Albin Larsson
|
10be94fa99
|
Fix 'null' being appended after the video if controls is empty array
|
2018-04-04 21:33:14 +02:00 |
|
Albin Larsson
|
536c65e82c
|
Fix loading data-plyr-config when initiating Plyr without any options
|
2018-04-04 03:16:25 +02:00 |
|
Albin Larsson
|
ef27ba16f4
|
Add optional argument to Ads.trigger (currently only used for adblocker error)
|
2018-03-10 16:20:33 +01:00 |
|
Albin Larsson
|
98adb8e784
|
Fix harmless but annoying IE error 'IndexSizeError'
|
2018-02-06 02:39:01 +01:00 |
|
Albin Larsson
|
a59dcb2f53
|
Gulp js build: create both minified and non-minified outputs
|
2018-02-06 01:57:27 +01:00 |
|
Albin Larsson
|
ce1d5a60d6
|
Remove eslint-rule 'no-shadow' (common variable names should be able to exist in different scopes)
|
2018-02-05 23:22:20 +01:00 |
|
Albin Larsson
|
58d942e737
|
Fix gulp build for user who doesn't have aws.json
|
2018-01-08 02:01:39 +01:00 |
|
Albin Larsson
|
1e7a60ee5c
|
Add .editorconfig file
|
2017-11-04 14:16:00 +01:00 |
|
Albin Larsson
|
0715d3ae67
|
Restore up/down arrow behavior from v2 (10 steps between min and max instead of one)
|
2017-10-25 14:25:10 +02:00 |
|
Albin Larsson
|
542095f5eb
|
Add instanceof wrapper that avoids TypeError when second argument is undefined
|
2017-10-25 14:10:38 +02:00 |
|
Albin Larsson
|
ebd13c63e8
|
Avoid multiple errors when initiating plyr without 'settings' in controls
|
2017-09-27 05:09:56 +02:00 |
|
Albin Larsson
|
ec091266aa
|
Prevent buttons from submitting form
|
2017-09-27 02:34:23 +02:00 |
|
Albin Larsson
|
c84f666b55
|
Fix 'TypeError: Cannot read property 'kind' of null' in captions feature detection if video lacks captions
|
2017-09-27 00:24:54 +02:00 |
|