Add piped support

- add playerInit listener
- made popup container generic for possible piped support
- explicitly add css files to web_accessible_resources
This commit is contained in:
Michael C
2023-01-03 17:10:51 -05:00
parent c3d4914f57
commit 6959bdbee1
4 changed files with 39 additions and 13 deletions

View File

@@ -9,6 +9,8 @@ export function getControls(): HTMLElement {
".player-controls-top",
// Invidious/videojs video element's controls element
".vjs-control-bar",
// Piped shaka player
".shaka-bottom-controls"
];
for (const controlsSelector of controlsSelectors) {