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

Don't throw away information about the iframe src #733

Merged
merged 2 commits into from
Oct 25, 2021

Conversation

eoghanmurray
Copy link
Contributor

I didn't realize that the iframe src attribute was being dropped after the record-iframe changes. I also wasn't paying enough attention as would have thought that the function added in #592 would have preserved it by default.

I think as a general rule we shouldn't be dropping any attributes like this that are present in the source.
If this change was already in place, then #592 could have been conceived as a YouTube plugin that works at playback time.
Another thing this PR could enable would be displaying a placeholder box at playback time with the URL displayed within.

Copy link
Contributor

@Juice10 Juice10 left a comment

Choose a reason for hiding this comment

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

LGTM

@Yuyz0112 Yuyz0112 merged commit ad2ca9e into rrweb-io:master Oct 25, 2021
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

3 participants