This commit is contained in:
deathbybandaid 2021-02-04 10:15:39 -05:00
parent ae9272b990
commit 2792decf31
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<h4 style="text-align: center;">fHDHR Channel Watch</h4> <h4 style="text-align: center;">fHDHR Channel Watch</h4>
<video width='50%' height='40%' autoplay controls> <video width='50%' height='40%' autoplay controls>
<source src="{{ watch_url }}" type="video/webm"> Your browser does not support the video tag. <source src="{{ watch_url }}"> Your browser does not support the video tag.
</video> </video>

View File

@ -116,7 +116,7 @@ class WebWatch_Tuner():
tuner.close() tuner.close()
abort(response) abort(response)
return Response(stream.get(), mimetype="video/webm") return Response(stream.get())
if redirect_url: if redirect_url:
return redirect("%s?retmessage=%s" % (redirect_url, urllib.parse.quote("%s Success" % method))) return redirect("%s?retmessage=%s" % (redirect_url, urllib.parse.quote("%s Success" % method)))