trophygeek / universalvideomaximizer

Chrome extension that finds and enlarges the main video filling browser window.
Creative Commons Attribution Share Alike 4.0 International
31 stars 2 forks source link

[Bug] BBC's webcomponent based video doesn't work. #34

Open trophygeek opened 11 months ago

trophygeek commented 11 months ago

The <video> is nested two shadowDom levels deep and are hidden from crawling the page.

Site URL: https://www.bbc.com/news/av/uk-wales-59729022

Some Research

let test = document.createTreeWalker(document.getElementById('toucan-bbcMediaPlayer0').shadowRoot)

Work around:

trophygeek commented 1 month ago

This is fixed in the next release. Root cause was putting a video inside a shadowdom.