Send skip-forward, skip-back, and pause to a video element in a browser window created by puppeteer. Videos in child frames is supported.
You'll need to have Google Chrome, Node.js and Git installed to get this working.
git clone https://github.com/charlieknoll/rc-puppet.git
cd rc-puppet
npm install
IMPORTANT: Close all chrome.exe instances, then start chrome with remote debugging on:
c/'Program Files (x86)'/Google/Chrome/Application/chrome.exe --remote-debugging-port=9222
Navigate to your desired page in the chrome browser, start casting, set to full screen, etc.
Open a port on your firewall (private network only) (default: 8085)
Make a note of the server's ip:
ipconfig
Start the server:
node index.js 8085
On another device on your internal network navigate to http://serverip:port (e.g. http://192.168.0.21:8085)
TIP: Try to keep the screen on on the server and keep the mouse hovered over the video to ensure the page receives the keyboard events.
Tap the buttons on the web page to skip back or forward. You can tap any button to cancel a long fast forward or rewind (15m).