Support » Plugin: Speaker Deck Embed » [Plugin: Speaker Deck Embed] add https support

  • Resolved baxang



    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)?://*/p/.*#i', '', true );

    I hope someone find this useful.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Simon Wheatley


    I’ve updated @baxang’s patch to work with the new format Speaker Deck URLs ([username]/[presentation]). The new code is:

    wp_oembed_add_provider( '#https?://*#i', '', true );

    @mattwiebe – Here’s a diff or here’s a complete new plugin file.

    Plugin Author Matt Wiebe


    Thanks @baxang and @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


    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.