₱ӾĦȻ

pxhc.neocities.org

9,204 views
160 followers
1,537 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 1 week 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 6 days 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 6 days ago

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

1 like
pxhc's avatar pxhc 6 days 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 6 days 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 6 days 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 51 minutes ago
CreatedFeb 26, 2026
Site Traffic Stats

Tags

ascii microblog indieweb nihilism cyberpunk