aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plugins/ads.js
Commit message (Collapse)AuthorAgeFilesLines
* Linting, housekeeping, duration fix (fixes #1074)Sam Potts2018-06-291-7/+7
|
* Ads only on HTML5 and .is cleanupSam Potts2018-06-211-1/+3
|
* 120 line width, package upgradeSam Potts2018-06-171-1/+5
|
* Merge branch 'develop' of github.com:sampotts/plyr into developSam Potts2018-06-131-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | # 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
* | Utils broken down into seperate files and exportsSam Potts2018-06-131-17/+21
|/
* v3.3.5Sam Potts2018-05-061-1/+1
|
* Small bug fixesSam Potts2018-05-061-1/+4
|
* v3.3.0Sam Potts2018-05-061-3/+6
|
* Muted and autoplay fixes, small bug fixesSam Potts2018-03-301-15/+23
|
* Fixes for fast forward and issues with event.preventDefault()Sam Potts2018-03-271-1/+2
|
* 3.0.0-beta.20Sam Potts2018-03-131-2/+2
|
* Update adsSam Potts2018-03-131-18/+7
|
* Fix for null manager race conditionSam Potts2018-03-111-39/+41
|
* Normalised event names and removed unusedSam Potts2018-03-111-18/+20
|
* Add optional argument to Ads.trigger (currently only used for adblocker error)Albin Larsson2018-03-101-4/+5
|
* Event listener fixes, loadScript promise, ads tweaksSam Potts2018-03-111-48/+61
|
* 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-031-1/+1
|
* Merge branch 'beta' into fix/ads-blockedSam Potts2018-01-301-10/+31
|\ | | | | | | | | | | | | | | # 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-251-2/+18
| |
| * 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
|