How to disable floating video players

cantara256

New Member
How do I get rid of floating video players? The ones that start at the top of the page and then switch to a floating pop-up on the side the moment you scroll down.

Thanks you!
 

Blaz

Moderator & Translator
Staff member
Moderator
On first link I do not even see a video without AdGuard, rule for 2nd (please note if the video already started you cannot pause it when the popup player is hidden, you have to scroll up again and click Pause):

msnbc.com##.videoPlayer.isStuck
 

cantara256

New Member
On first link I do not even see a video without AdGuard, rule for 2nd (please note if the video already started you cannot pause it when the popup player is hidden, you have to scroll up again and click Pause):

msnbc.com##.videoPlayer.isStuck
Your MSNBC rule worked, thank you!

Odd you don't see a video on The Hill, it's always there. Most pages on The Hill do this... It's the same behavior as MSNBC, video at the top that detaches and floats to the side.

The page element for The Hill is p10; this rule (which AdGuard created by trying right click on page -> Adguard AdBlocker -> Block Ads on this site... and selecting the floating video) disables the video completely, so it doesn't even show up at the top of the page but shows a big blank square:

thehill.com###p10

How do I modify that rule to allow the element at the top of the page but prevent it floating to the side, like your MSNBC rule does?
 

Blaz

Moderator & Translator
Staff member
Moderator
Please use this rule:
Code:
thehill.com##.desktop-floating-player
They decided to not show the video to my usual IP address, had to use an US VPN.
 

cantara256

New Member
Please use this rule:
Code:
thehill.com##.desktop-floating-player
They decided to not show the video to my usual IP address, had to use an US VPN.
That worked like a charm! How did you find out the element to block? I had a hard time figuring that out using Chrome's inspector dev tool, and I'd like to learn how to do this for other sites.
 

Blaz

Moderator & Translator
Staff member
Moderator
Right click on the video -> inspect element. Scrolled up and down a bit to see the difference of the video element in inspector.
 

cantara256

New Member
FYI looks submitting a report via @VasqueZ's link (https://reports.adguard.com/en/new_issue.html) worked, they added a couple rules for The Hill. I'll just do that from now on, their rules are a little better as it completely eliminates the floating window; having only the "desktop-floating-player" rule (which they include) keeps some part of the floating window since you can still see the "x" to close it.

Anyway thank you all!
 

Blaz

Moderator & Translator
Staff member
Moderator
I did not see an X to close it, else would have posted rule for it too
 
Top