Sign inSign up

agmangas/auto-video-player

By agmangas

•Updated over 7 years ago

Simple HTML5 kiosk fullscreen video player

Image
0

1.5K

agmangas/auto-video-player repository overview

⁠Simple Kiosk Video Player

This repo contains a super simple HTML5 fullscreen video player that is being used on a RPi-based kiosk. The list of videos is dynamically retrieved from the server using the autoindex feature of Nginx.

⁠Deployment steps on chilipie-kiosk

Create the server container:

docker run -d --restart always --name kiosk_video -v /home/pi/Videos/:/usr/share/nginx/html/videos -p 80:80 agmangas/auto-video-player:latest-arm32v7

Disable Chrome autoplay policy on:

chrome://flags/#autoplay-policy

Copy the copy-video.py script to /home/pi. This script will automatically look for an MP4 video in a USB flash drive. The first video to be found will be copied to /home/pi/Videos.

Add the following to /home/pi/.xsession (before Chromium starts):

echo "raspberry" | sudo -S /home/pi/copy-video.py > /home/pi/copy-video.log

Tag summary

Content type

Image

Digest

Size

44.7 MB

Last updated

over 7 years ago

docker pull agmangas/auto-video-player