[wp-trac] [WordPress Trac] #30602: Add provider_name as CSS class when using oEmbed

WordPress Trac noreply at wordpress.org
Thu Dec 4 23:14:20 UTC 2014


#30602: Add provider_name as CSS class when using oEmbed
-----------------------------+-----------------------------
 Reporter:  cliffpaulick     |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Embeds           |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Idea: add oEmbed's provider_name as a CSS class

 '''Example:'''

 oEmbed Link:
 [http://vimeo.com/7100569]

 Response:
 http://vimeo.com/api/oembed.xml?url=http%3A//vimeo.com/7100569

 Current Result:
 {{{
 <iframe src="//player.vimeo.com/video/7100569" width="500" height="281"
 frameborder="0" title="Brad!" webkitallowfullscreen=""
 mozallowfullscreen="" allowfullscreen=""></iframe>
 }}}

 '''Proposed Result:'''
 {{{
 <iframe class="vimeo" src="//player.vimeo.com/video/7100569" width="500"
 height="281" frameborder="0" title="Brad!" webkitallowfullscreen=""
 mozallowfullscreen="" allowfullscreen=""></iframe>
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30602>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list