Add support for TikTok video Embeds#19345
Merged
Merged
Conversation
Contributor
Author
|
Fixes: #19342 |
Member
|
Did not work for me. Steps:
In console: I confirmed other embeds work by embedding a YouTube video with no problems. |
Contributor
|
@mkaz -- I think this needs the core patch in https://core.trac.wordpress.org/ticket/49083 to work since it leverages the core embed block functionality. |
Contributor
Author
Contributor
|
I’m happy for the core ticket to go in to the WordPress 5.4 or 5.5 release. If committed to 5.4 does that leave enough time for the editor changes to be committed too or do you need a little more time? |
Contributor
Author
|
Hi there, |
jorgefilipecosta
approved these changes
Feb 9, 2020
jorgefilipecosta
left a comment
Member
There was a problem hiding this comment.
Works well in my tests after the patch was committed 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
Fixes #19342
This Pull Request adds TikTok oEmbed support.
For reference, see the related Trac ticket for WP 5.4: https://core.trac.wordpress.org/ticket/49083
How has this been tested?
Copy this test URL into the editor: https://www.tiktok.com/@scout2015/video/6718335390845095173
For reference:
TikTok oEmbed developer documentation: https://developers.tiktok.com/doc/Embed
Screenshots
Types of changes
New feature (non-breaking change which adds functionality)
Introduce a oEmbed block support for a new resource: TikTok.
Checklist: