{"id":2797480,"date":"2012-06-07T10:14:34","date_gmt":"2012-06-07T10:14:34","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-speaker-deck-embed-add-https-support\/"},"modified":"2016-08-20T12:46:40","modified_gmt":"2016-08-20T12:46:40","slug":"plugin-speaker-deck-embed-add-https-support","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-speaker-deck-embed-add-https-support\/","title":{"rendered":"[Plugin: Speaker Deck Embed] add https support"},"content":{"rendered":"<p>Hi,<\/p>\n<p>I found your useful plugin and I thank you for it. However I didn&#8217;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:<\/p>\n<p><code>wp_oembed_add_provider( &#039;#http(s)?:\/\/speakerdeck.com\/u\/.*\/p\/.*#i&#039;, &#039;http:\/\/speakerdeck.com\/oembed.json&#039;, true );<\/code><\/p>\n<p>I hope someone find this useful.<\/p>\n<p>Sanghyun<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/speakerdeck-embed\/<\/p>\n","protected":false},"template":"","class_list":["post-2797480","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2797480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2797480\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2797480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}