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

Videos not marking complete on ended #26

Open
KayConceicao opened this issue Dec 15, 2023 · 1 comment
Open

Videos not marking complete on ended #26

KayConceicao opened this issue Dec 15, 2023 · 1 comment
Labels

Comments

@KayConceicao
Copy link

Subject of the issue/enhancement/features

When a user watches the video to end it doesn't mark complete as per JSON set up.

Your environment

  • version (Framework): 5.25.0
  • which browser and its version: Chrome - latest
  • device(s) + operating system(s): Laptop - windows

Steps to reproduce

Embed a YouTube video from a private YT account and set up to mark as complete when ended. Watch video to end.

Expected behaviour

The video should mark complete once ended.

Actual behaviour

Component only marks complete when transcript is seen.

Screenshots (if you can)

@guywillis guywillis added the bug label Dec 15, 2023
@oliverfoster
Copy link
Member

Are there any console logs/warnings/errors?

Existing issue is marked here

/**
* this seems to have issues in Chrome if the user is logged into YouTube (possibly any Google account) - the API just doesn't broadcast the events
* but instead throws the error:
* Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('http://www.youtube.com').
* This is documented here:
* https://code.google.com/p/gdata-issues/issues/detail?id=5788
* but I haven't managed to get any of the workarounds to work... :-(
*/
onPlayerStateChange(e) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Awaiting Response
Development

No branches or pull requests

3 participants