Skip to content

Video and carousel errors#19

Draft
tmrr13 wants to merge 1 commit intomasterfrom
cursor/video-and-carousel-errors-8d5f
Draft

Video and carousel errors#19
tmrr13 wants to merge 1 commit intomasterfrom
cursor/video-and-carousel-errors-8d5f

Conversation

@tmrr13
Copy link
Copy Markdown
Owner

@tmrr13 tmrr13 commented Jan 26, 2026

Refactor calendar rendering, video playback, and carousel initialization to fix runtime errors and improve script robustness.

The NotSupportedError for videos occurred when play() was called on elements without supported sources. The TypeError in peopleCarouselInit was due to querySelectorAll being called on a null element. This PR addresses these by adding checks for element existence, ensuring playable video sources, catching NotSupportedError during video playback, and ensuring scripts run after the DOM is ready.


Open in Cursor Open in Web

Co-authored-by: goodslyfox <goodslyfox@gmail.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Jan 26, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants