[wp-trac] [WordPress Trac] #42246: Videos from YouTube and Vimeo fail to render in video shortcodes

WordPress Trac noreply at wordpress.org
Mon Oct 16 22:27:03 UTC 2017


#42246: Videos from YouTube and Vimeo fail to render in video shortcodes
--------------------------+------------------
 Reporter:  westonruter   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------
Description changed by westonruter:

Old description:

> I am seeing that a YouTube and Vimeo videos embedded in the in the
> `video` shortcode in a post will get an 0⨉0 `iframe` and so the video
> doesn't appear at all, even though I can appear it. I am also seeing the
> same thing in the Video widget for a Vimeo video, though YouTube seems
> fine in that case. I'm testing in Twenty Fifteen.
>
> The source for my post content looks like:
>
> {{{
> Vimeo:
> [video src="https://vimeo.com/108650530"][/video]
>
> YouTube:
> [video src="https://www.youtube.com/watch?v=Nl6U7UotA-M"][/video]
> }}}
>
> See also #42244 and the MediaElement.js upgrade in #39686.

New description:

 I am seeing that a YouTube and Vimeo videos embedded in the in the `video`
 shortcode in a post will get an 0⨉0 `iframe` and so the video doesn't
 appear at all, even though I can appear it. I am also seeing the same
 thing in the Video widget for a Vimeo video, though YouTube seems fine in
 that case. The issue is observed in Twenty Fifteen and Twenty Sixteen,
 whereas the videos appear fine in Twenty Seventeen. Also, the videos all
 appear properly in the themes in Firefox. Chrome specifically is having
 trouble sizing the iframe in the two themes.

 The source for my post content looks like:

 {{{
 Vimeo:
 [video src="https://vimeo.com/108650530"][/video]

 YouTube:
 [video src="https://www.youtube.com/watch?v=Nl6U7UotA-M"][/video]
 }}}

 See also #42244 and the MediaElement.js upgrade in #39686.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42246#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list