Media on RPI dashboard dont work

I have discovered that the template vid_screen_1 wont work on dashboard showen on RPI. The timer shows and work fine. The problem arrive as soon as there is a media on the dashboard.
But on every other devices I tried it works fine. Is there some settings I need to enable/disable in the PI settings. I have a tv screen connected to HDMI but it wont work without that either.

[{"id":"ba32ad90.09ccd","type":"ui_template","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","group":"1add6f18.191f41","name":"Vid_screen_1","order":1,"width":15,"height":12,"format":"<div>\n     <video id=\"video1\" width=\"100%\" heigth=\"100%\"></video>\n</div>\n\n<script> \n    (function(scope) {\n        // Watch for messages being send to this template node\n        scope.$watch('msg', function (msg) {      \n            if (msg) {\n\n                var video1 = document.getElementById('video1');\n                video1.src = msg.payload;\n                video1.play();\n            }       \n         }); \n    })(scope); \n</script>\n\n\n\n","storeOutMessages":false,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","x":1840,"y":840,"wires":[[]]},{"id":"2caf0d1f0b97a4b1","type":"function","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"","func":"msg.payload = \"https://storage.cloud.google.com/worst_nightmare/video.mp4\"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1640,"y":840,"wires":[["ba32ad90.09ccd"]]},{"id":"01ad5907991b1ba7","type":"inject","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":1280,"y":920,"wires":[["f26fa01f208e28e9"]]},{"id":"b0355433ac6aab0e","type":"ui_ui_control","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"","events":"all","x":2080,"y":920,"wires":[[]]},{"id":"72fb907857f77a07","type":"inject","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"date","x":1780,"y":960,"wires":[["887fc2f01806d95b"]]},{"id":"f26fa01f208e28e9","type":"change","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"Show video","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"group\":{\"hide\":[\"Escaperoom_Viborg_Group_2\"],\"show\":[\"Escaperoom_Viborg_Start_video\"]}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1470,"y":920,"wires":[["b0355433ac6aab0e","8d28d70c6c7097b2","2caf0d1f0b97a4b1"]]},{"id":"8d28d70c6c7097b2","type":"delay","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"Show timer after 30 sec","pauseType":"delay","timeout":"30","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"x":1710,"y":920,"wires":[["887fc2f01806d95b"]]},{"id":"887fc2f01806d95b","type":"change","z":"5b3651b.92335b","g":"20f8b98d7a9f1a4d","name":"Show Timer","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"group\":{\"show\":[\"Escaperoom_Viborg_Group_2\"],\"hide\":[\"Escaperoom_Viborg_Start_video\"]}}","tot":"json"}],"action":"","property":"","from":"","to":"","reg":false,"x":1910,"y":920,"wires":[["b0355433ac6aab0e"]]},{"id":"1add6f18.191f41","type":"ui_group","name":"Start video","tab":"bff636ce.5bde08","order":9,"disp":false,"width":15,"collapse":false},{"id":"bff636ce.5bde08","type":"ui_tab","name":"Escaperoom Viborg","icon":"dashboard","order":2,"disabled":false,"hidden":false}]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.