Skip to content

Add WordPress.TV embed handler#3542

Merged
westonruter merged 3 commits intodevelopfrom
fix/3508-strip-wordpress-iframe-script
Oct 18, 2019
Merged

Add WordPress.TV embed handler#3542
westonruter merged 3 commits intodevelopfrom
fix/3508-strip-wordpress-iframe-script

Conversation

@schlessera
Copy link
Copy Markdown
Collaborator

@schlessera schlessera commented Oct 16, 2019

Summary

Adds an embed handler that strips the <script> tag from a WordPress.TV video embed.

This is a WIP, I'm creating the PR to extract it out of #3342.

Fixes #3508

Checklist

  • My pull request is addressing an open issue (please create one otherwise).
  • My code is tested and passes existing tests.
  • My code follows the Engineering Guidelines (updates are often made to the guidelines, check it out periodically).

@googlebot googlebot added the cla: yes Signed the Google CLA label Oct 16, 2019
@schlessera schlessera requested review from kienstra, pierlon and westonruter and removed request for pierlon October 18, 2019 20:00
@schlessera schlessera marked this pull request as ready for review October 18, 2019 20:00
@westonruter westonruter changed the title [WIP] Add WordPress.TV embed handler Add WordPress.TV embed handler Oct 18, 2019
@westonruter westonruter added this to the v1.4 milestone Oct 18, 2019
Copy link
Copy Markdown
Contributor

@kienstra kienstra left a comment

Choose a reason for hiding this comment

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

Looks good!

Hi @schlessera,
This looks good. Embeds work as expected for the Embed and WordPress.tv blocks:

embeds-work-as-expected

(Using this example URL: https://wordpress.tv/2019/07/04/matt-mullenweg-matt-on-wordpress/)

@westonruter westonruter merged commit df61359 into develop Oct 18, 2019
@westonruter westonruter deleted the fix/3508-strip-wordpress-iframe-script branch October 18, 2019 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Signed the Google CLA Embeds

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WordPress TV embed includes custom script

4 participants