[wp-trac] [WordPress Trac] #32714: oEmbed of YouTube links via mobile phones don't render.
WordPress Trac
noreply at wordpress.org
Thu Jun 18 22:59:54 UTC 2015
#32714: oEmbed of YouTube links via mobile phones don't render.
--------------------------------+-----------------------------
Reporter: undergroundnetwork | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.2.2
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
When a user is using a mobile phone to post to Wordpress, and they copy
and paste a YouTube URL, YouTube changes the URLs of it's videos when
accessed on a mobile phone by adding an m. before the URL, like:
https://m.youtube.com/watch?v=yfUflij74P4
This results in Wordpress not recognizing that it is a YouTube URL and
oEmbed does not render as a result.
This causes problems when using Press This as Press This grabs the URL
which has an m. in it. This is a problem when a user has copied a YouTube
URL on their phone (via the URL address bar, or the share menu on most
phones) and they try to paste it into an article, because, again, YouTube
puts that m. in the URL.
In order to make this work, perhaps a filter that removes the m. from
YouTube URLs would help and the URLs could then render.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32714>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list