1082 Commits

Author SHA1 Message Date
James
d97257a5a9 Preview seek: Edge+IE11 fixes
- Fixed bug: Edge seek errors: Replaced array spread with Array.from()
- Fixed IE11 bug: seek time was offset to the left. Required an extra container div to facilitate this
2018-12-15 11:32:50 +11:00
James
279f051905 Preview seek: image preloading + tweaks/fixes
- Preloads neighbouring images after showing current image
- Re-fixed bug: if you mousedown but don't move mouse, it shows a stale image in the scrubbing container
- Fixed bug: mobile device correctly detect touch
2018-12-14 12:50:29 +11:00
Omar Khatib
88ffd0f138 remove comment 2018-12-13 17:31:15 +01:00
Omar Khatib
11618353ea support Youtube noCookie Mode 2018-12-13 17:30:10 +01:00
James
e948bfd585 Preview seek: jpeg sprites + much more
- Allow jpeg sprites - much snappier and more accurate
- Fixed bug: right clicking the seek bar sticks on mousedown
- Fixed bug: moving the mouse really quickly results in not updating the thumb
- Fixed bug: if you mousedown but don't move mouse, it shows a stale image in the scrubbing container
- Fixed bug: very first image shows as 0px
- Fixed bug: stretches images when video isn't same aspect as player
2018-12-13 20:39:39 +11:00
Sam Potts
2bbebd811b
Merge pull request #1267 from gurupras/issue-858
Ensure custom handlers are called on container clicks that trigger togglePlay or restart
2018-12-08 16:58:51 +11:00
Guru Prasad Srinivasa
3fb85664d2 Updated restart logic to call play instead of togglePlay 2018-12-08 00:57:47 -05:00
Sam Potts
b9ea9fba9a Merge branch 'develop' of https://github.com/sampotts/plyr into develop 2018-12-08 16:50:48 +11:00
Sam Potts
a0303969c2 Fix for error when mime type not specified (fixes #1274) 2018-12-08 16:50:44 +11:00
Samuel Elgozi
df5b7a008d
Fix: buffer progress bar transition on webkit
The transition was set on the wrong pseudo element for WebKit browsers.
2018-11-22 19:35:01 +02:00
Guru Prasad Srinivasa
80813b0406 Replaced calls to player.restart() and player.togglePlay() with proxy(...) to ensure that custom handlers are called 2018-11-19 23:06:23 -05:00
Raccoon
0e181133c1 Calling customized controls function with proper arguments 2018-11-12 15:37:46 +08:00
James
8f27611911 Preview seek/scrubbing thumbnails 2018-11-12 15:55:26 +11:00
Sam Potts
2c8a337f26 v3.4.7
-   Fix for Vimeo fullscreen with non native aspect ratios (fixes #854)
2018-11-08 23:34:10 +11:00
Sam Potts
a19ad69038 Fix for Vimeo fullscreen with non 16:9 aspect ratios 2018-11-08 23:19:11 +11:00
Sam Potts
e2fc20ca76 Styling tweaks 2018-11-08 23:18:04 +11:00
Sam Potts
37c3f7109d Additional listener for checking for audio tracks 2018-11-08 23:17:44 +11:00
Sam Potts
e8da4326b6 Prevent scroll on focus 2018-11-03 21:17:46 +11:00
Sam Potts
67f908aa8d Load media after UI is built 2018-11-03 21:17:32 +11:00
Sam Potts
65eb5c1b8b Fix support check 2018-11-03 21:16:40 +11:00
Sam Potts
1a9b860e68 v3.4.6
-   Added picture-in-picture support for Chrome 70+
-   Fixed issue with versioning the SVG sprite in the gulp build script
2018-10-25 09:44:40 +11:00
Sam Potts
fe26d383f1 Added support for picture-in-picture in Chrome 2018-10-25 09:17:15 +11:00
Sam Potts
df4bc268dc Merge branch 'master' into develop 2018-10-25 00:14:14 +11:00
Sam Potts
e49da6c13f v3.4.5 2018-10-24 23:04:18 +11:00
Sam Potts
67b7262764 Revert PR #1211 2018-10-24 23:00:54 +11:00
Sam Potts
b6175b1ca9
Merge branch 'develop' into fix-html5-quality-settings 2018-10-24 22:39:10 +11:00
Sam Potts
aa20ebaa9c
Merge pull request #1211 from melbahja/develop
duration after changing video quality
2018-10-24 22:37:49 +11:00
Sam Potts
5d5a6eabaa Merge branch 'develop' of github.com:sampotts/plyr into develop 2018-10-24 22:31:47 +11:00
Sam Potts
03c9b53232 Allow custom download URL (for streaming, etc) 2018-10-24 22:31:35 +11:00
Sam Potts
c232eb2478 Fix SVG issue for older browsers (fixes #1191) 2018-10-24 22:30:41 +11:00
James
69d0d6d7ee Prevent immediate hiding of controls on mobile 2018-10-23 10:08:46 +11:00
Mohamed Elbahja
06db3f702d
Update plyr.js 2018-10-13 13:23:42 +01:00
Mohamed Elbahja
a2a82a96a6 fix: continue with the current duration after changing video quality 2018-10-13 12:59:59 +01:00
Robin van Nunen
a86bbae851 Only save quality setting when it's updated by the user. Fixes bug in html5 player where it would override the settings if the current video does not support the given quality. 2018-09-29 21:23:10 +02:00
Sam Potts
fac134dd95 Added download button 2018-09-28 00:42:42 +10:00
Sam Potts
515ae32160 Moved hardcoded resources to i18n 2018-09-28 00:30:27 +10:00
Sam Potts
df8f040795 Remove link styles from anchor controls 2018-09-28 00:29:59 +10:00
Sam Potts
64a23992f0 SVG cleanup 2018-09-28 00:29:42 +10:00
James
8bdd90a2a8 Don't hide controls on focusout event
It was immediately hiding controls on some touch-enabled devices. It will now also wait 4s to close after tabbing out, instead of immediately.
2018-09-26 14:48:10 +10:00
Sam Potts
5536e97482 Typo 2018-09-25 23:48:33 +10:00
Sam Potts
de47071256 v3.4.4
-   Fixed issue with double binding for `click` and `touchstart` for `clickToPlay` option
-   Improved "faux" fullscreen on iPhone X/XS phones with notch
-   Babel 7 upgrade (which reduced the polyfilled build by ~10kb!)
2018-09-25 23:36:50 +10:00
Sam Potts
87072cb690 Clean up 2018-09-25 23:29:43 +10:00
Sam Potts
d9565e9250 Improved fullscreen on iPhone X etc 2018-09-25 23:29:32 +10:00
Sam Potts
f80b568e67 Reverted large pause button 2018-09-25 23:07:48 +10:00
Sam Potts
3f48df8f10 Remove babel-polyfill in favour of core-js 2018-09-25 22:25:35 +10:00
Sam Potts
62d80e6b76 Fix touch vs click issue 2018-09-25 20:43:09 +10:00
Sam Potts
7dc4d9cd22 v3.4.3 2018-08-14 12:16:34 +10:00
Sam Potts
922456c46c Fix for nodeList as buttons 2018-08-14 12:13:00 +10:00
Sam Potts
eaeccd66ae v3.4.2 2018-08-14 11:17:33 +10:00
Sam Potts
7a43649c13 Fix play/pause button state 2018-08-14 11:17:27 +10:00