mirror of
https://github.com/fergalmoran/dss.git
synced 2026-01-03 23:44:02 +00:00
Fixed iframe url
This commit is contained in:
@@ -22,7 +22,7 @@ def mix(request, **args):
|
||||
"title": mix.title,
|
||||
"image_url": image,
|
||||
"audio_url": audio_url,
|
||||
"mix_url": 'http://%smix/%s' % (Site.objects.get_current().domain, mix_url)
|
||||
"mix_url": 'http://%s%s' % (Site.objects.get_current().domain, mix_url)
|
||||
}
|
||||
response = render_to_response(
|
||||
'inc/embed/mix.html',
|
||||
|
||||
@@ -26,7 +26,7 @@ def get_template_ex(request, template_name):
|
||||
@not_minified_response
|
||||
def get_embed_codes_dialog(request, slug):
|
||||
payload = {
|
||||
'embed_code': 'http://%s/embed/%s' % (Site.objects.get_current().domain, slug)
|
||||
'embed_code': 'http://%s/mix/embed/%s' % (Site.objects.get_current().domain, slug)
|
||||
}
|
||||
return render_to_response(
|
||||
'views/dlg/EmbedCodes.html',
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script src="{{ STATIC_URL }}js/libs/jquery.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/libs/mediaelement/mediaelement-and-player.js"></script>
|
||||
<link rel="stylesheet" href="{{ STATIC_URL }}css/bootstrap.css"/>
|
||||
|
||||
Reference in New Issue
Block a user