Mercurial > public > sg101
view oembed/urls.py @ 907:344f7914d421
Add scheme=https to oembed request.
YouTube added this so you could get HTML that used https to embed the video.
It seems that Vimeo also supports it.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 15 Mar 2015 21:48:33 -0500 |
parents | ee87ea74d46b |
children | 5ba2508939f7 |
line wrap: on
line source
""" URLs for the oembed application. """ from django.conf.urls import patterns, url urlpatterns = patterns('oembed.views', url(r'^fetch/$', 'fetch_media', name='oembed-fetch_media'), url(r'^fetch_saved/$', 'fetch_saved_media', name='oembed-fetch_saved_media'), )