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

JS: Update timeupdate event making it more defensive to prevent errors #4782

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PMK
Copy link

@PMK PMK commented Jul 6, 2024

Hi,

This will fix errors in timeupdate event when you're using an iframe to embed a video and append playsinline=1 and controls=0 in the url.
It can be the case that the element with id=link-yt-watch (and the other three) does not exist.

Screenshot 2024-07-06 at 13 35 20

@PMK PMK requested a review from a team as a code owner July 6, 2024 19:44
@PMK PMK requested review from syeopite and removed request for a team July 6, 2024 19:44
@SamantazFox SamantazFox added the need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something label Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-testing This feature needs to be deployed and tested to see if it's working, and doesn't break something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants