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

event methods suddenly stopped working #62

Open
thebilljustin opened this issue Sep 16, 2020 · 3 comments
Open

event methods suddenly stopped working #62

thebilljustin opened this issue Sep 16, 2020 · 3 comments

Comments

@thebilljustin
Copy link

Hello, i am developing an app using this package. i tested it yesterday and everything was working fine. when i worked on the app again, the player event method suddenly stopped working. other user defined methods is still working properly but the video defined methods just stopped working

@Gkiokan
Copy link

Gkiokan commented Sep 16, 2020

Nope. This is an issue with chrome. Check your console in the Issues tab.
And also you can check that the events are working in firefox and safari as before.

Chrome has recently an update for strict blocking js scripts.... check this out.
We must just specify the bookie attributes and voila.

image

@Gkiokan
Copy link

Gkiokan commented Sep 16, 2020

@thebilljustin but I've found a easy fix for that.
Just use the nocookie parameter true and you are good.

Here is my working Component

        <youtube :video-id="id" :player-vars="options" :nocookie="true"
                  style="height: 100%; width: 100%; "
                  ref="youtube"
                  @error="error"
                  @playing="playing"
                  @ended="ended"
                  />

@thebilljustin
Copy link
Author

thebilljustin commented Sep 17, 2020 via email

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

No branches or pull requests

2 participants