483 Commits

Author SHA1 Message Date
Arthur Hulsman
3583165b30 Removed logic related to starting the ad by clicking/ tapping the advertisement container. Ad is started by plyr play method. 2018-01-17 14:09:11 +01:00
Arthur Hulsman
d822f0c6bf Adsmanager is now re/pre-loaded with new ads when the video is done or an ad error appears. Will make it possible to request ads when a new video is loaded. Added comments and missing events within the adsmanagerloader method. 2018-01-17 13:58:39 +01:00
Arthur Hulsman
9e52296dc6 Moved the ads container to be outside of the video wrapper. This way we can easily move the ad in front or behind the video controls based on content resume or pause IMA events. 2018-01-17 12:19:32 +01:00
Arthur Hulsman
12a7a4142c Moved the logic for pausing and playing the video to content pause/ resume IMA events to avoid flickering. Also used events for resolving the adsmanager and adsloader promises. 2018-01-17 11:32:13 +01:00
ferdiemmen
8348f79742 Fix loading/playing of the ads when there is no valid ads.tagUrl 2018-01-17 08:31:36 +01:00
ferdiemmen
ec73d34bd3 Some tweaks 2018-01-16 23:06:40 +01:00
ferdiemmen
1cef48d4f8 fix blocking play() if ads are set 2018-01-15 23:30:54 +01:00
Arthur Hulsman
4b0005c28e Added promises, missing events, new ad tag and additional logging. 2018-01-15 14:47:34 +01:00
Sam Potts
8064405dbc Tweaks 2018-01-14 23:33:18 +11:00
Sam Potts
22e8892993 Code tweaks 2018-01-14 23:15:33 +11:00
Sam Potts
cfc86bcb7c Merge branch 'beta' into beta-with-ads
# Conflicts:
#	demo/dist/demo.js
#	demo/dist/demo.js.map
#	dist/plyr.js
#	dist/plyr.js.map
2018-01-14 22:55:44 +11:00
Sam Potts
5f96ec6ac2 Minor logic tweak 2018-01-14 22:54:03 +11:00
ferdiemmen
bbdf225d7b Fix loading google ima sdk 2018-01-14 08:21:35 +01:00
ferdiemmen
025fc1090b Implementing ads plugin 2018-01-13 23:02:59 +01:00
Sam Potts
d9ec1d1b8e Progressively enhance <iframe> embeds 2018-01-12 19:35:46 +11:00
Sam Potts
6fd7b26bb2 Beta version up on https://plyr.io/beta and CDN 2018-01-09 20:25:46 +11:00
Sam Potts
1df79cf7f8 Publishing to /beta 2018-01-09 19:35:17 +11:00
Sam Potts
8786377a75 Use CSS custom property for webkit range fill 2018-01-08 20:53:18 +11:00
Sam Potts
3f2ac3fca0 Package tweaks 2018-01-08 19:42:21 +11:00
Sam Potts
dd190155c4 Empty storage fix 2018-01-07 23:16:55 +11:00
Sam
92cb9e22e2 Started on error handling 2018-01-04 13:43:56 +11:00
Sam
6b9106ddb1 Fix for promise issue on Chrome, loading fix 2017-12-27 21:40:35 +00:00
Sam Potts
965fc0b2f5 Docs, restored loadSprite and supported static methods 2017-12-23 18:42:52 +00:00
Sam Potts
7d4bf91a35 Small fixes 2017-12-20 21:45:06 +00:00
Sam Potts
9e0c406a4a Remove chaning ability and return promise for play() 2017-12-20 20:47:02 +00:00
Sam Potts
6864149989 Converted to SASS/SCSS 2017-12-20 15:14:05 +00:00
Sam Potts
aab53fa91f Minor tweaks 2017-12-18 16:57:23 +00:00
Sam Potts
82f81f4f73 More Edge fixes and small UI bugs 2017-12-08 15:54:08 +00:00
Sam Potts
c8990bd379 IE & Edge fixes, Storage & Console classes 2017-12-08 10:05:38 +00:00
Sam Potts
fd77831303 Fix display for current language on change 2017-11-25 01:19:16 +11:00
Sam Potts
fda1977119 Fix for keyboard increase/decrease volume 2017-11-24 08:47:11 +11:00
Sam Potts
f7bf0961cf Fix overflow issue on small players with menu open 2017-11-23 22:32:07 +11:00
Sam Potts
61325bbad1 Vimeo captions fix 2017-11-23 20:50:07 +11: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
f33bc5a5c6 Minor tweaks 2017-11-21 14:05:55 +11:00
Sam Potts
f518ec108b Vimeo autopause option 2017-11-21 13:33:51 +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
2d4a166218 Merge branch 'develop' of https://github.com/Selz/plyr into develop
# Conflicts:
#	dist/plyr.js
#	dist/plyr.js.map
2017-11-20 10:48:53 +11:00
Sam Potts
feae00224e Added ended and playing getters 2017-11-20 10:48:28 +11:00
Sam Potts
0dc9681ae8 YouTube title 2017-11-19 23:35:07 +11:00
Sam Potts
4b62a5c74d Captions fix 2017-11-19 17:54:38 +11:00
Sam Potts
3f744ef63a Formatting 2017-11-18 19:36:36 +11:00
Sam Potts
5a244b7fed Merge branch 'develop' of https://github.com/Selz/plyr into develop
# Conflicts:
#	dist/plyr.js
#	dist/plyr.js.map
#	src/js/controls.js
2017-11-18 19:33:01 +11:00
Sam Potts
4dca4bf93c Minor fixes 2017-11-18 19:31:45 +11:00
Sam Potts
6984d6fb16 Controls cleanup, work on captions bug, click to invert time 2017-11-18 19:30:26 +11:00