News for hackers. Stuff that matters.
Re:Make Front End Shit Again (2018) by Accacin on Thursday January 20, 2022 @03:45AM (#30006401)
Yeah there's all sorts of nonsense you can do to do autoplay. I kind of remember at one of my old jobs, to get autoplay working on some elearning courses, when the user clicked 'Start', we'd start the audio but not play anything, and then switch out the file that was played when required which would 'autoplay' as the user had already initiated the sound. At least that was the general idea afaik.
Re:Make Front End Shit Again (2018) by kamray23 on Friday January 21, 2022 @05:10AM (#30021500)
Only works well on single-page applications. A much more insidious strategy is to bind to the "Accept cookies" button.