#31637 closed defect (bug) (fixed)
Detected media should be auto-inserted when Pressing a service/domain-specific page
| Reported by: | stephdau | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Press This | Version: | 4.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description (last modified by )
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">
Attachments (2)
Change History (6)
#1
@
11 years ago
- Description modified (diff)
- Summary Auto-insert detected media when Pressing a service/domain-specific page → Detected media should be auto-inserted when Pressing a service/domain-specific page
- Type enhancement → defect (bug)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Even simpler way to define domain/service-specific pages.