From 1632e2f7e0ec9639a440f00c9c5e1bc2a29e5c3e Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Thu, 13 May 2021 17:27:07 +0200 Subject: [PATCH] allow fullscreen --- stream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stream.py b/stream.py index 5314315..458b15d 100755 --- a/stream.py +++ b/stream.py @@ -75,7 +75,7 @@ if icecast_server is not None and stream_server is not None: template_html = None template_js = None -template_embed = tornado.template.Template('') +template_embed = tornado.template.Template('') videojs_version = None castjs_version = None @@ -197,13 +197,13 @@ class MainHandler(tornado.web.RequestHandler): try: if isinstance(width_str, str): width_new = int(width_str) - if width_new > 16: + if width_new >= 16: width = width_new else: raise ValueError("invalid width") if isinstance(height_str, str): height_new = int(height_str) - if height_new > 9: + if height_new >= 9: height = height_new else: raise ValueError("invalid height")