[wp-trac] [WordPress Trac] #44705: Edit embed contents without saving post breaks previews
WordPress Trac
noreply at wordpress.org
Thu Aug 2 14:50:19 UTC 2018
#44705: Edit embed contents without saving post breaks previews
--------------------------+-----------------------------
Reporter: 7studio | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.9.7
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
It seems that when we insert embed content and edit it just after without
saving the post, the embed preview isn't displayed.
**To Reproduce**
Steps to reproduce the behaviour:
1. Create a new post.
2. Click on "Add Media" button.
3. Choose "Insert from URL" interface.
4. Paste a valid YouTube URL: https://www.youtube.com/watch?v=KA_CLal14u4
5. See the YouTube `<iframe>` with a `600px` width.
6. Click on "Insert into post" button.
7. Edit the YouTube video.
8. See nothing.
**Expected behaviour**
The embed content should be displayed.
**Reason found**
None. The problem is present in all browsers.
The Google Chrome console logs `Cross-Origin Read Blocking (CORB) blocked
cross-origin response https://www.youtube.com/watch?v=KA_CLal14u4 with
MIME type text/html. See
https://www.chromestatus.com/feature/5629709824032768 for more details.`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44705>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list