[wp-trac] [WordPress Trac] #32353: Extend oEmbed parameters support in media modal

WordPress Trac noreply at wordpress.org
Sat Oct 17 17:13:33 UTC 2015


#32353: Extend oEmbed parameters support in media modal
-------------------------+------------------------------
 Reporter:  ramiy        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Embeds       |     Version:  4.3
 Severity:  normal       |  Resolution:
 Keywords:  close        |     Focuses:  administration
-------------------------+------------------------------

Comment (by swissspidy):

 > I don't want universal attributes. I want specific attributes. And each
 provider has it's own attributes.

 That's why it doesn't make much sense to add this as part of core.
 Currently, you can edit width and height, two parameters officially
 allowed by the [http://oembed.com/ oEmbed specification].

 All other params, like the one described for YouTube, are proprietary.
 Supporting these would lead to a couple of problems:

 * Bad UX: The user sees different input fields when editing different URLs
 and has no idea why.
 * Overly complex code: We'd need to determine, document and test all the
 params supported by the different providers
 * Backwards compatibility: We don't know if these params will be supported
 all the time

 I like the previous suggestions on the ticket, testing this as part of
 Shortcake would be very interesting. Besides that, this can be enabled
 through the mentioned filters.

 +1 to closing this.

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


More information about the wp-trac mailing list