53 Commits

Author SHA1 Message Date
Albin Larsson
6bff6b317d Remove line breaks in arrays 2018-06-13 23:27:35 +02:00
Sam Potts
aae1092bac Merge branch 'develop' of github.com:sampotts/plyr into develop
# 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
2018-06-13 00:41:30 +10:00
Sam Potts
392dfd024c Utils broken down into seperate files and exports 2018-06-13 00:02:55 +10:00
Sam Potts
450958c290
Merge pull request #981 from friday/hls-captions
Improve captions handling for streaming
2018-05-30 21:44:42 +10:00
Albin Larsson
9d798893b5 Call duration update method manually if user config has duration 2018-05-29 16:06:07 +02:00
Albin Larsson
c9298fde76 Fix typo 2018-05-28 07:08:38 +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
Sam Potts
55bbf64f2b
Merge pull request #963 from friday/verify-poster
Make sure poster element isn't shown if the image isn't loaded
2018-05-19 11:27:52 +10:00
Sam Potts
3bba65f2c2
Merge pull request #967 from friday/883
toggleControls rewrite
2018-05-19 11:27:19 +10:00
Sam Potts
51814249af Reduce circular dependencies 2018-05-19 11:24:56 +10: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
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
Sam Potts
1655150092 v3.3.5 2018-05-06 01:32:51 +10:00
Sam Potts
9ebc2719d3 v3.3.0 2018-05-06 00:49:12 +10:00
Sam Potts
a812650fea v3.2.4 2018-04-27 00:47:51 +10:00
Sam Potts
3395e8df90 HTML5 quality selection 2018-04-02 22:40:03 +10:00
Sam Potts
d593005b32 Muted and autoplay fixes, small bug fixes 2018-03-30 23:09:17 +11:00
Sam Potts
9c1bc6ab08 Fixes for fast forward and issues with event.preventDefault() 2018-03-27 10:36:08 +11:00
Sam Potts
5db73b1327 Added buffered getter 2018-03-17 23:27:40 +11:00
Sam Potts
5cb1628cd8 Vimeo fix 2018-03-15 10:29:05 +11:00
Sam Potts
e206edc1f6 Event listener fixes, loadScript promise, ads tweaks 2018-03-11 02:03:35 +11:00
Sam Potts
317b08c703 Ready event fix, YouTube play event fix, docs update 2018-03-03 23:06:12 +11:00
Sam Potts
f1895a4cce Pause button fix, polyfilled build, unminified builds 2018-02-17 19:34:15 +11:00
Sam Potts
6a9be8d16b Fix for custom controls 2018-02-13 00:01:19 +11:00
Sam Potts
73a39769d4 Fullscreen API changes, color settings tweaks 2018-02-11 15:09:34 +11:00
Sam Potts
b298587c0b Bug fix 2018-01-22 23:20:03 +11:00
Sam Potts
5671235fd9 Formatting, events and ad countdown added 2018-01-22 23:15:10 +11:00
Sam Potts
5f96ec6ac2 Minor logic tweak 2018-01-14 22:54:03 +11:00
Sam Potts
3f2ac3fca0 Package tweaks 2018-01-08 19:42:21 +11:00
Sam
92cb9e22e2 Started on error handling 2018-01-04 13:43:56 +11:00
Sam Potts
6864149989 Converted to SASS/SCSS 2017-12-20 15:14:05 +00:00
Sam Potts
c8990bd379 IE & Edge fixes, Storage & Console classes 2017-12-08 10:05:38 +00:00
Sam Potts
921cefd212 Moved to provider + type to make it cleaner in future, fix for multiple players 2017-11-23 17:35:35 +11:00
Sam Potts
de6f0f1b77 Updated data attributes to data-plyr namespace. Speed menu fixes 2017-11-23 12:57:43 +11:00
Sam Potts
7382553a78 Work on touch controls 2017-11-22 00:04:11 +11:00
Sam Potts
4b82e89845 Fix for playing getter as currentTime check is flaky 2017-11-21 21:14:44 +11:00
Sam Potts
d3b31e595a Handle no audio, more docs in code, fix for playing getter 2017-11-21 20:14:57 +11:00
Sam Potts
edfc6cd475 Play button as toggle button, tooltip changes, docs updated, fullscreen fix 2017-11-21 13:12:36 +11:00
Sam Potts
da1e987444 WIP on docs example 2017-11-20 21:23:49 +11:00
Sam Potts
feae00224e Added ended and playing getters 2017-11-20 10:48:28 +11:00
Sam Potts
6984d6fb16 Controls cleanup, work on captions bug, click to invert time 2017-11-18 19:30:26 +11:00
Sam Potts
d7a1c44281 Using fetch instead of xhr, grabbing title for YouTube 2017-11-16 11:38:06 +01:00
Sam Potts
4879bea4a0 Moved console methods out of the root of the object 2017-11-09 20:01:13 +11:00
Sam Potts
f878581c8f UI bugs 2017-11-09 19:40:45 +11:00
Sam Potts
bb66be98da Volume fixes and other tidy up work 2017-11-08 23:46:20 +11:00
Sam Potts
c948e95ade Looping, increase/decrease volume fix 2017-11-08 00:37:14 +11:00
Sam Potts
0068710740 Started on documentation and aspect ratio option 2017-11-06 19:38:31 +11:00
Sam Potts
60084a17f8 YouTube volume fix 2017-11-05 18:40:41 +11:00