₱×ĦȻ

pxhc.yorniq.xyz

33,668 views
348 followers
2,102 updates
0 tips
video {display: none; visibility: hidden;} label[for="video-toggle"] {display: none; visibility: hidden;} #video {display: none; visibility: hidden;} input type="checkbox" id="video-toggle" style="display: none; visibility: hidden;" the element is hidden and not displayed inside a hidden and not displayed element activated by a hidden and not displayed element called by a hidden and not displayed element...
6 likes
pxhc's avatar pxhc 2 months ago

can still be accidentally played on mobile without tapping any of the places that would change display and visbility somehow... I give up.

3 likes
underwhite's avatar underwhite 2 months ago

aw man, I hate code that doesn't work no matter what.. I also had 10 seizures trying to read ts..

1 like
brachypelmide's avatar brachypelmide 2 months ago

try setting pointer-events: none on the video while it's disabled

1 like
pxhc's avatar pxhc 2 months ago

I'm not able to reliably reproduce it so it's going to be hard to find out if it really worked, but good idea for another level of redundancy, I hope it works lol

1 like
pxhc's avatar pxhc 2 months ago

I decided to adapt the site for mobile and changed the layout. I removed all the redundancy and so far so good. I noticed while using a site to emulate mobile screens that it was playing because that site wasn't blocking autoplay, but the display none is directly on the video and it shouldn't play until displayed. Perhaps it wasn't faulty code but a real mobile browser bug.

1 like
brachypelmide's avatar brachypelmide 2 months ago

if you're using firefox you can also just press ctrl+shift+m to toggle the variable resolution viewport! it's not perfect but it does the job for me in most cases.

2 likes

Website Stats

Last updated 1 day ago
CreatedFeb 26, 2026
Site Traffic Stats

Tags

ascii microblog indieweb nihilism cyberpunk