Skip to content

Send skip-forward, skip-back, and pause to a video element in a browser window created by puppeteer.

Notifications You must be signed in to change notification settings

charlieknoll/rc-puppet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rc-puppet

Send skip-forward, skip-back, and pause to a video element in a browser window created by puppeteer. Videos in child frames is supported.

Installation

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.

Usage

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).

Screenshot

About

Send skip-forward, skip-back, and pause to a video element in a browser window created by puppeteer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published