-local caspar_input = VideoInput.new("unix:///tmp/caspar.sock", Nageru.VIDEO_FORMAT_BGRA)
-caspar_input:change_rate(2.0)
+local cef_input = HTMLInput.new("file:///home/sesse/dev/ultimatescore/score.html")
+cef_input:set_url("file:///home/sesse/dev/ultimatescore/score.html");
+cef_input:execute_javascript_async("play()")
+
+function reload_cef()
+ cef_input:reload()
+ cef_input:execute_javascript_async("play()")
+end