WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 2 years ago

#12686 closed enhancement (maybelater)

Make embed API easier to use with plugins

Reported by: Viper007Bond Owned by: Viper007Bond
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Embeds Keywords:
Focuses: Cc:

Description

It's a bit of a pain to do a URL to embed currently (say you want to make a custom shortcode).

I'll be creating some wrapper functions to make this easier to do.

Change History (5)

comment:1 @nacin5 years ago

  • Milestone changed from Unassigned to Future Release

comment:2 @r-a-y4 years ago

  • Cc r-a-y@… added

I've also been attempting something as well (most notably with BuddyPress).

Viper, let me know where you're at with this.

comment:3 @r-a-y4 years ago

Related: #17857

comment:4 @Mamaduka3 years ago

  • Cc georgemamadashvili@… added

comment:5 @Viper007Bond2 years ago

  • Milestone Future Release deleted
  • Resolution set to maybelater
  • Status changed from new to closed

Going to close this in favor of making separate tickets down the road when I get more time.

Making new shortcodes that use oEmbed and/or the embed API is pretty easy:

http://www.viper007bond.com/2010/06/23/creating-simple-oembed-based-wordpress-shortcodes/

Using the embed API in comments, widgets, etc. is a lot more complicated and stuff like that deserves it's own specific tickets.

Note: See TracTickets for help on using tickets.