Note, this was written in 2 hours. It is simply a proof of concept. These two pages (admin.php and view.php) allow you to
- Copy config.json.example to config.json, and add your access token from your app settings page
- Host the entire directory in your webserver, or test it with a local php server via php -S localhost:8000
- Access the administrative panel via http://{your_host}/admin.php (or the local php server via http://localhost:8000/admin.php)
- Select a video, enter your start and end time
- Distribute the share link as you see fit, users should only be able to access that share link within the specified date range