Hi,
I’ve just created a panel_custom to play mp4 files I have on the raspberrypi:
panel_custom:
- name: cameras
sidebar_title: Cameras
sidebar_icon: mdi:work
url_path: cameras
webcomponent_path: /home/pi/cameras.html
cameras.html I have:
<!DOCTYPE html>
<html>
<body>
<video width="400" controls>
<source src="/home/pi/camera1.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
</body>
</html>
But when I click on the panel I just get a blank page, does anyone have any idea how can I sort this?
Thanks.
Regards,