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

YouTube-Player progress bar affected by Matomo #15721

Closed
tom275 opened this issue Mar 23, 2020 · 5 comments
Closed

YouTube-Player progress bar affected by Matomo #15721

tom275 opened this issue Mar 23, 2020 · 5 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@tom275
Copy link

tom275 commented Mar 23, 2020

The progress bar of the YouTube player is not working when Matomo options are set and tracking is on.

Then the event onStateChange is not working anymore. Possibly Matomo does not add its event listeners, instead it sets only its own and thus cancelling others.

Attach you can find a minimal demo page to show the effects.

Best regards,
Tom
debug.zip

@sgiehl
Copy link
Member

sgiehl commented Mar 23, 2020

I guess you are using the MediaAnalytics plugin?

@tom275
Copy link
Author

tom275 commented Mar 23, 2020

Yes, that's right!

@sgiehl
Copy link
Member

sgiehl commented Mar 23, 2020

ping @tsteur

@tsteur
Copy link
Member

tsteur commented Mar 23, 2020

@tom275 Cheers for mentioning this. I can reproduce this. Could you email our support about this through shop at innocraft.com ? That would be great.

@tsteur tsteur closed this as completed Mar 23, 2020
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Mar 23, 2020
@tsteur
Copy link
Member

tsteur commented Mar 23, 2020

Just BTW Looks like plyr is setting events as well instead of adding the event listeners see https://github.com/sampotts/plyr/blob/master/dist/plyr.js#L6154-L6263 . We've just tried it by adding the event listeners and it doesn't seem to make a difference. There may be issues that Youtube might not be able to handle multiple events or so. To be seen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants