aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plugins/ads.js
Commit message (Collapse)AuthorAgeFilesLines
...
* 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