[wp-trac] [WordPress Trac] #31637: Detected media should be auto-inserted when Pressing a service/domain-specific page (was: Auto-insert detected media when Pressing a service/domain-specific page)
WordPress Trac
noreply at wordpress.org
Sat Mar 14 04:32:51 UTC 2015
#31637: Detected media should be auto-inserted when Pressing a service/domain-
specific page
--------------------------+--------------------
Reporter: stephdau | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Press This | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Changes (by DrewAPicture):
* type: enhancement => defect (bug)
Old description:
> If a user is "pressing" a page from a service we know and support, it's
> been suggested that we should auto-embed said media on pageload.
>
> Attached is a patch that does this (for embeds, for now, not images) for
> pages like:
> * http://www.youtube.com/watch?v=XFFdoH_AeQE (or
> http://www.youtube.com/watch?whatever=blah&v=XFFdoH_AeQE, etc)
> * https://vimeo.com/118458120 (or
> https://vimeo.com/channels/staffpicks/118458120, etc)
> * https://soundcloud.com/frankiebones/live-output-brooklyn-ny-
> may-23-2014
> * and so on
>
> Note the update to `WP_Press_This::get_canonical_link()` to support them
> if from root, instead of fully qualified.
> EG: Vimeo: `<link rel="canonical" href="/118458120">`
New description:
If a user is "pressing" a page from a service we know and support, we
should auto-embed said media on pageload.
Attached is a patch that does this (for embeds, for now, not images) for
pages like:
* http://www.youtube.com/watch?v=XFFdoH_AeQE (or
http://www.youtube.com/watch?whatever=blah&v=XFFdoH_AeQE, etc)
* https://vimeo.com/118458120 (or
https://vimeo.com/channels/staffpicks/118458120, etc)
* https://soundcloud.com/frankiebones/live-output-brooklyn-ny-may-23-2014
* and so on
Note the update to `WP_Press_This::get_canonical_link()` to support them
if from root, instead of fully qualified.
EG: Vimeo: `<link rel="canonical" href="/118458120">`
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31637#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list