|
@@ -23,8 +23,8 @@ mount_prefix = None
|
23
|
23
|
dl_prefix = None
|
24
|
24
|
|
25
|
25
|
# embedded
|
26
|
|
-embedded_url = '<{type} controls height="166px" ' +\
|
27
|
|
- 'src="{url}" type="{mtype}"></{type}>'
|
|
26
|
+embedded_url = '<{ttype} controls height="166px" ' +\
|
|
27
|
+ 'src="{url}" type="{mtype}"></{ttype}>'
|
28
|
28
|
|
29
|
29
|
|
30
|
30
|
# helper functions
|
|
@@ -91,7 +91,7 @@ def response(resp):
|
91
|
91
|
|
92
|
92
|
if mtype in ['audio', 'video']:
|
93
|
93
|
item['embedded'] = embedded_url.format(
|
94
|
|
- type=type,
|
|
94
|
+ ttype=mtype,
|
95
|
95
|
url=quote(url.encode('utf8'), '/:'),
|
96
|
96
|
mtype=result['mtype'])
|
97
|
97
|
|