Skip to content

Instantly share code, notes, and snippets.

@andrezero
andrezero / me-vs-europsport.js
Last active September 4, 2021 23:12
Eurosport Player Keyboard navigation
(() => {
const select = (selector) => () => document.querySelector(selector);
const overlay = select('[class*="overlay-overlay"]');
const controls = select('[class*="styles-centerControls"]');
const pause = select('[class*="playpause"]');
const forward = select('[class*="styles-forward"]');
const rewind = select('[class*="styles-rewind"]');
const live = select('[class*="tyles-liveView"]');
const fullScreen = select(