Permalink
Browse files

adds support for vimeo https urls

using two separate lines for http and https to make vimeo provide a https url in the iframe (because we call the https endpoint) 
  • Loading branch information...
stefanfoulis committed Nov 26, 2012
1 parent f5c4ec9 commit 67c79370d5e7400cab4170dd73cf57e97f66fe60
Showing with 1 addition and 0 deletions.
  1. +1 −0 micawber/providers.py
View
@@ -122,6 +122,7 @@ def bootstrap_basic(cache=None):
pr.register('http://\S*.revision3.com/\S*', Provider('http://revision3.com/api/oembed/'))
pr.register('http://www.hulu.com/watch/\S*', Provider('http://www.hulu.com/api/oembed.json'))
pr.register('http://vimeo.com/\S*', Provider('http://vimeo.com/api/oembed.json'))
+ pr.register('https://vimeo.com/\S*', Provider('https://vimeo.com/api/oembed.json'))
pr.register('http://www.polleverywhere.com/(polls|multiple_choice_polls|free_text_polls)/\S*', Provider('http://www.polleverywhere.com/services/oembed/'))
pr.register('http://www.ifixit.com/Guide/View/\S*', Provider('http://www.ifixit.com/Embed'))
pr.register('http://\S*.smugmug.com/\S*', Provider('http://api.smugmug.com/services/oembed/'))

0 comments on commit 67c7937

Please sign in to comment.