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

feat: Remove autoplay attribute from audio/video tags #59

Merged
merged 1 commit into from Feb 22, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Feb 22, 2023

These can lead to weird results when replaying this later, so we just want to omit these.

ref: getsentry/sentry-javascript#6602 (comment)

These can lead to weird results when replaying this later, so we just want to omit these.
@mydea mydea requested review from billyvg and Lms24 February 22, 2023 15:04
@mydea mydea self-assigned this Feb 22, 2023
@@ -7,7 +7,7 @@
<title>video</title>
</head>
<body>
<video controls>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we expect a snapshot file diff?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because we are removing the autoplay attribute :D the snapshot changes without the change (which is expected), so IMHO the fact that this stays static is basically the test for this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right :)

@mydea mydea merged commit 1cb2ec9 into sentry-v1 Feb 22, 2023
@mydea mydea deleted the fn/strip-autoplay branch February 22, 2023 15:17
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.

None yet

2 participants