Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/mouseenter mouseleave handlers on i os upd 10 2019 #3

Open
wants to merge 30 commits into
base: master-hearst
Choose a base branch
from

Conversation

Viktor286hearts
Copy link

@Viktor286hearts Viktor286hearts commented Oct 2, 2019

Update for custom fix/mouseenter-mouseleave-handlers-on-iOS.
This branch started from original fix/mouseenter-mouseleave-handlers-on-iOS and rebased onto master (with tag 1.6.3).

1 addition -- dist/videojs.ima.min.js added as an amendment to dist manual update (temp) commit

Tim Bielawski and others added 30 commits January 29, 2019 10:18
onLoad: This is the default behaviour, ad requests are done when the player is ready

onPlay: New behaviour, Ad requests are only made once playback is initiated. This is necessary as some ad networks consider ad requests to be plays
Readme Update: updates the Readme to highlight an example using es6 i…
Ad play/pause control changes when adContainer is clicked.
Fix: Ad click through would trigger the AdsOnPaused method without pausing the ad playback
fix: fixed error in videojs.ima.min.js
feat: adds a request mode for ad requests
Updates readme for accurate locale codes
@@ -701,8 +701,10 @@ AdUi.prototype.createAdContainer = function () {
this.assignControlAttributes(this.adContainerDiv, 'ima-ad-container');
this.adContainerDiv.style.position = 'absolute';
this.adContainerDiv.style.zIndex = 1111;
this.adContainerDiv.addEventListener('mouseenter', this.showAdControls.bind(this), false);
this.adContainerDiv.addEventListener('mouseleave', this.hideAdControls.bind(this), false);
if (!videojs.browser.IS_IOS) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason for this check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants