diff --git a/pandora/item/urls.py b/pandora/item/urls.py index 7fee470..bb6e223 100644 --- a/pandora/item/urls.py +++ b/pandora/item/urls.py @@ -6,8 +6,12 @@ from django.conf.urls.defaults import * urlpatterns = patterns("item.views", (r'^(?P[A-Z0-9].*)/frame/(?P\d+)/(?P[0-9\.,]+).jpg$', 'frame'), - (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*.[webm|ogv|mp4])$', 'video'), - (r'^(?P[A-Z0-9].*)/(?P.*.[webm|ogv|mp4])$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*\.webm)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*\.ogv)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P[a-f0-9]+)/(?P.*\.mp4)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P.*\.webm)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P.*\.ogv)$', 'video'), + (r'^(?P[A-Z0-9].*)/(?P.*\.mp4)$', 'video'), (r'^(?P[A-Z0-9].*)/poster\.(?P\d+)\.jpg$', 'poster'), (r'^(?P[A-Z0-9].*)/poster\.(?Plarge)\.jpg$', 'poster'), (r'^(?P[A-Z0-9].*)/poster\.jpg$', 'poster'),