diff --git a/app/contact/views.py b/app/contact/views.py index 91a0cd2..beb08cb 100644 --- a/app/contact/views.py +++ b/app/contact/views.py @@ -11,7 +11,7 @@ def index(request): form = forms.ContactForm(request.POST) if form.is_valid(): message = 'From: %s\n\n%s' % (form.cleaned_data['email'], form.cleaned_data['message']) - subject = 'Phantas.ma/polis contact message' + subject = 'njp.ma contact message' from_ = settings.CONTACT_FROM_EMAIL to = [settings.CONTACT_TO_EMAIL] msg = EmailMessage(subject, message, from_, to, reply_to=[form.cleaned_data['email']]) diff --git a/app/static/js/film.js b/app/static/js/film.js index eef6f54..d1f0058 100644 --- a/app/static/js/film.js +++ b/app/static/js/film.js @@ -31,7 +31,7 @@ document.querySelector('a#play-fullscreen').addEventListener('click', event => { video.classList.add('player') video.classList.add('fullscreen') //setVideoSrc(video, 'https://pad.ma/' + film.id + '/480p.webm') - video.src = `${film.prefix}stream/${film.id}.mp4` + video.src = `${film.prefix}/stream/${film.id}.mp4` video.controls = true video.controlsList = 'nodownload' document.querySelector('main').appendChild(video) diff --git a/app/templates/fallback.html b/app/templates/fallback.html index e30c7aa..c8817ae 100644 --- a/app/templates/fallback.html +++ b/app/templates/fallback.html @@ -67,12 +67,12 @@ -