[wp-trac] [WordPress Trac] #16996: oEmbed: Allow custom arguments to be specified
WordPress Trac
noreply at wordpress.org
Thu Oct 25 14:44:41 UTC 2012
#16996: oEmbed: Allow custom arguments to be specified
-------------------------------------+---------------------
Reporter: newmediarts | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.5
Component: Embeds | Version: 3.1
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing |
-------------------------------------+---------------------
Changes (by cliffpaulick):
* cc: tko@… (added)
Comment:
Non uber-dev here... trying to follow along...
I use SmugMug for embedding videos without "branding" (e.g. the bottom-
right corner SmugMug smiley face, the YouTube logo, Vimeo text, etc.).
Here's the iframe code they generate for that: {{{<iframe frameborder="0"
scrolling="no" width="640" height="360"
src="http://api.smugmug.com/services/embed/1344454513_PQSXrW6?width=640&height=360&nologo"></iframe>}}}
See the height and width and nologo parts of the URI?
If I type in
{{{http://media.tourkick.com/Tours/20110615-4116-S-Atlanta-
Ave/17612601_LV3TVq}}}
it's just plain text, and if I type in
{{{[embed]http://media.tourkick.com/Tours/20110615-4116-S-Atlanta-
Ave/17612601_LV3TVq[/embed]}}}
it just turns into a link (WP 3.4 / 3.5.x beta) even though SmugMug is
listed at
http://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F
So, what am I missing with SmugMug embedding (does it not do video, does
it only do photo, does it do both), and how does the {{{&nologo}}} get in
the mix with oEmbed (will I need a custom function/plugin or should I just
use their generated iframe code instead of relying on oEmbed)?
Thanks for the help understanding all this oEmbed stuff.
For reference: http://wiki.smugmug.net/display/API/oEmbed (it's over my
head)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16996#comment:24>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list