Title: [Plugin: Speaker Deck Embed] add https support
Last modified: August 20, 2016

---

# [Plugin: Speaker Deck Embed] add https support

 *  Resolved [baxang](https://wordpress.org/support/users/baxang/)
 * (@baxang)
 * [14 years ago](https://wordpress.org/support/topic/plugin-speaker-deck-embed-add-https-support/)
 * Hi,
 * I found your useful plugin and I thank you for it. However I didn’t work for 
   me so I tried to figure it out and found that the link address Speakerdeck provides
   is https, not http. So I tried to fix your code a bit to use a regular expression
   rather than the simple wildcard format as below:
 * `wp_oembed_add_provider( '#http(s)?://speakerdeck.com/u/.*/p/.*#i', 'http://speakerdeck.
   com/oembed.json', true );`
 * I hope someone find this useful.
 * Sanghyun
 * [http://wordpress.org/extend/plugins/speakerdeck-embed/](http://wordpress.org/extend/plugins/speakerdeck-embed/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Simon Wheatley](https://wordpress.org/support/users/simonwheatley/)
 * (@simonwheatley)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-speaker-deck-embed-add-https-support/#post-2798134)
 * I’ve updated [@baxang](https://wordpress.org/support/users/baxang/)’s patch to
   work with the new format Speaker Deck URLs (`https://speakerdeck.com/[username]/[
   presentation]`). The new code is:
 * `wp_oembed_add_provider( '#https?://speakerdeck.com/.*#i', 'https://speakerdeck.
   com/oembed.json', true );`
 * [@mattwiebe](https://wordpress.org/support/users/mattwiebe/) – Here’s a [diff](http://pastebin.com/VSaMFPgT)
   or here’s a [complete new plugin file](http://pastebin.com/Yf6qaErV).
 *  Plugin Author [Matt Wiebe](https://wordpress.org/support/users/mattwiebe/)
 * (@mattwiebe)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-speaker-deck-embed-add-https-support/#post-2798135)
 * Thanks [@baxang](https://wordpress.org/support/users/baxang/) and [@simonwheatley](https://wordpress.org/support/users/simonwheatley/).
   Just pushed 1.1 with the new format.
 * Also: baxang, sorry about missing this for so long. Apparently I wasn’t subscribed
   to me own plugin’s topic. :/
 *  Thread Starter [baxang](https://wordpress.org/support/users/baxang/)
 * (@baxang)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-speaker-deck-embed-add-https-support/#post-2798136)
 * I’m glad to see my suggestion made a small improvement 🙂 Thanks for the work
   guys!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Speaker Deck Embed] add https support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/speakerdeck-embed.svg)
 * [Speaker Deck Embed](https://wordpress.org/plugins/speakerdeck-embed/)
 * [Support Threads](https://wordpress.org/support/plugin/speakerdeck-embed/)
 * [Active Topics](https://wordpress.org/support/plugin/speakerdeck-embed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/speakerdeck-embed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/speakerdeck-embed/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [baxang](https://wordpress.org/support/users/baxang/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-speaker-deck-embed-add-https-support/#post-2798136)
 * Status: resolved