Opened 6 years ago
#44705 new defect (bug)
Edit embed contents without saving post breaks previews
Reported by: | 7studio | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.7 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Description
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:
- Create a new post.
- Click on "Add Media" button.
- Choose "Insert from URL" interface.
- Paste a valid YouTube URL: https://www.youtube.com/watch?v=KA_CLal14u4
- See the YouTube
<iframe>
with a600px
width. - Click on "Insert into post" button.
- Edit the YouTube video.
- 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.
.
Note: See
TracTickets for help on using
tickets.