so, I just updated to 8.7.8, and the fixed 3021452 issue is persisting for me. I see a title is provided for my example youtube video.
VIDEO: https://www.youtube.com/watch?v=6X8f9CLBoB8
EMBED JSON URL: https://www.youtube.com/oembed?format=json&url=https%3A%2F%2Fwww.youtube...
EMBED JSON:
{
"provider_url": "https://www.youtube.com/",
"author_name": "The Four on KTVU",
"height": 270,
"thumbnail_height": 360,
"provider_name": "YouTube",
"author_url": "https://www.youtube.com/channel/UCHTnUyoYpA4txfWEVoY1Ysg",
"width": 480,
"version": "1.0",
"html": "<iframe width=\"480\" height=\"270\" src=\"https://www.youtube.com/embed/6X8f9CLBoB8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>",
"thumbnail_width": 480,
"thumbnail_url": "https://i.ytimg.com/vi/6X8f9CLBoB8/hqdefault.jpg",
"type": "video",
"title": "New Sensor Network Reveals Telltale Patterns in Neighborhood Air Quality"
}
GENERATED IFRAME IN RENDERED DRUPAL 8.7.8 PAGE:
<div class="embed-media embed-media--video-youtube">
<iframe src="https://www.youtube.com/embed/6X8f9CLBoB8?feature=oembed" allowfullscreen="allowfullscreen" width=" 480" height="270" frameborder="0"></iframe>
</div>
I've even tried deleting the iframe and re-creating it. No luck. The title just doesn't get appended to an attribute in the <iframe>
tag.
My CKEditor Media Embed module is configured to use Provider Url: //noembed.com/embed?url={url}&callback={callback}
, which does show an iframe without a title, but does include the title data in the json:
GENERATED IFRAME URL: https://noembed.com/embed?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%...
EMBED JSON:
{
"html": "\n<iframe width=\" 480\" height=\"270\" src=\"https://www.youtube.com/embed/6X8f9CLBoB8?feature=oembed\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe>\n",
"version": "1.0",
"height": 270,
"thumbnail_url": "https://i.ytimg.com/vi/6X8f9CLBoB8/hqdefault.jpg",
"thumbnail_width": 480,
"title": "New Sensor Network Reveals Telltale Patterns in Neighborhood Air Quality",
"author_name": "The Four on KTVU",
"url": "https://www.youtube.com/watch?v=6X8f9CLBoB8",
"width": 480,
"provider_name": "YouTube",
"thumbnail_height": 360,
"provider_url": "https://www.youtube.com/",
"type": "video",
"author_url": "https://www.youtube.com/channel/UCHTnUyoYpA4txfWEVoY1Ysg"
}
If I am missing something about how the 13282573 fix is supposed to work, can someone please walk me through it?
P.S. My Basic HTML editor has the title attribute enabled for iframes, so I doubt its being filtered out (and wouldn't expect it to be anyways):
P.S.S. For what it is worth, I have also tested using iframe.ly as the source and also am not getting a title in that case.
<iframe src align frameborder height width scrolling type title bgcolor allowtransparency>