aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed redundant wrappers within the adsmanager promises.Arthur Hulsman2018-03-091-3/+3
|
* Ad block detection would not work when calling play() right after creating ↵Arthur Hulsman2018-03-091-36/+31
| | | | the player instance, so the adsManager now also rejects on such a case. Also made sure that calling play() will wait for the adsManager promise to resolve or otherwise return the media.play() method.
* Resizing the ad container while having it on display none will return offset ↵Arthur Hulsman2018-03-071-5/+4
| | | | width and height of 0, which will cause ads not to play when ad sizes are set within the clients DSP. Also making sure that the inner containers of the ad container are full size. The container is now hidden/ displayed using z-index.
* Made sure that cue points for midrolls are not displayed when the ad rule ↵Arthur Hulsman2018-03-071-1/+1
| | | | for a midroll doesn't exceed the total play time of a video.
* Removed a double this.enabled variable and updated a comment in ads.js. Also ↵Arthur Hulsman2018-03-061-8/+5
| | | | made sure the adsmanager promise also can fail, so we can use it to wait for getting the advertisement ready when someone clicks the play button. Otherwise there it can look glitchy when the actual video starts playing and the video ad plays a few seconds later because the vast tag was slow to retrieve. Also fixed a typo.
* TypoSam Potts2018-03-031-1/+1
|
* Ready event fix, YouTube play event fix, docs updateSam Potts2018-03-033-6/+3
|
* Added backwards compatibility for <div> embedsSam Potts2018-02-062-2/+19
|
* Removed fetch dependencySam Potts2018-02-051-3/+3
|
* Merge branch 'beta' into fix/ads-blockedSam Potts2018-01-302-12/+33
|\ | | | | | | | | | | | | | | # Conflicts: # dist/plyr.js # dist/plyr.js.map # src/js/plugins/ads.js # src/js/plyr.js
| * Attempt to fix YouTube message error, added ads references, changes to boolSam Potts2018-01-252-4/+20
| |
| * Restored “Ad” in labelSam Potts2018-01-241-1/+2
| |
* | Fix typo'sferdiemmen2018-01-291-2/+2
| |
* | fix(ads): Fixes media from playing when ads are blockedferdiemmen2018-01-291-1/+7
|/
* Renamed property, UI tweakSam Potts2018-01-231-8/+12
|
* Fix bug where ad would play on every play actionferdiemmen2018-01-221-3/+0
|
* Small tweaksSam Potts2018-01-221-3/+6
|
* Formatting, events and ad countdown addedSam Potts2018-01-221-80/+140
|
* Formatting and “ad” badgeSam Potts2018-01-191-92/+77
|
* Merge branch 'beta-with-ads' of github.com:sampotts/plyr into beta-with-adsSam Potts2018-01-191-266/+254
|\ | | | | | | | | # Conflicts: # src/js/plugins/ads.js
| * Noticed that Plyr stopped working when ads are blocked.Arthur Hulsman2018-01-181-3/+6
| |
| * Updated pause and resume content methods within Ads class.Arthur Hulsman2018-01-181-5/+5
| |
| * Reformatted ads codebase and added/ changed comments. Also removed un-used ↵Arthur Hulsman2018-01-181-164/+119
| | | | | | | | events.
| * Fixed string literal and position issue of the midroll cue inside the time ↵Arthur Hulsman2018-01-171-5/+8
| | | | | | | | line. Added a check for the progress element existence.
| * Removed an un-used variable.Arthur Hulsman2018-01-171-3/+1
| |
| * Added cue markings within the time line for when midrolls will be displayed. ↵Arthur Hulsman2018-01-171-2/+15
| | | | | | | | Removed unusued callback parameter.
| * Added the logging of our main promises to their resolving callback. ↵Arthur Hulsman2018-01-171-0/+4
| | | | | | | | Otherwise they come up as null.
| * Removed logic related to starting the ad by clicking/ tapping the ↵Arthur Hulsman2018-01-171-60/+0
| | | | | | | | advertisement container. Ad is started by plyr play method.
| * Adsmanager is now re/pre-loaded with new ads when the video is done or an ad ↵Arthur Hulsman2018-01-171-116/+237
| | | | | | | | error appears. Will make it possible to request ads when a new video is loaded. Added comments and missing events within the adsmanagerloader method.
| * Moved the ads container to be outside of the video wrapper. This way we can ↵Arthur Hulsman2018-01-171-3/+15
| | | | | | | | easily move the ad in front or behind the video controls based on content resume or pause IMA events.
| * Moved the logic for pausing and playing the video to content pause/ resume ↵Arthur Hulsman2018-01-171-37/+27
| | | | | | | | IMA events to avoid flickering. Also used events for resolving the adsmanager and adsloader promises.
* | Comments and formattingSam Potts2018-01-191-14/+39
|/
* Fix loading/playing of the ads when there is no valid ads.tagUrlferdiemmen2018-01-171-22/+3
|
* Some tweaksferdiemmen2018-01-161-69/+93
|
* fix blocking play() if ads are setferdiemmen2018-01-151-49/+44
|
* Added promises, missing events, new ad tag and additional logging.Arthur Hulsman2018-01-151-68/+213
|
* TweaksSam Potts2018-01-141-5/+5
|
* Code tweaksSam Potts2018-01-141-28/+35
|
* Fix loading google ima sdkferdiemmen2018-01-141-3/+9
|
* Implementing ads pluginferdiemmen2018-01-131-0/+329
|
* Progressively enhance <iframe> embedsSam Potts2018-01-122-29/+30
|
* Remove chaning ability and return promise for play()Sam Potts2017-12-202-1/+9
|
* IE & Edge fixes, Storage & Console classesSam Potts2017-12-081-1/+1
|
* Fix display for current language on changeSam Potts2017-11-251-1/+1
|
* Moved to provider + type to make it cleaner in future, fix for multiple playersSam Potts2017-11-232-5/+5
|
* Updated data attributes to `data-plyr` namespace. Speed menu fixesSam Potts2017-11-232-10/+2
|
* Handle no audio, more docs in code, fix for playing getterSam Potts2017-11-212-5/+11
|
* Vimeo autopause optionSam Potts2017-11-211-0/+5
|
* Merge branch 'develop' of https://github.com/Selz/plyr into developSam Potts2017-11-201-21/+36
|\ | | | | | | | | | | # Conflicts: # dist/plyr.js # dist/plyr.js.map
| * YouTube titleSam Potts2017-11-191-21/+36
| |