Digging in further to your YT example, this particular effect is likely done with scripting. Note that most of the effect is actually accomplished in AfterEffects, and then a resulting still image is passed back into Photoshop.
If you know HTML/CSS/JavaScript/DOM, this is sort of stuff is not insurmountable.
As far as PS goes, the most definitive guide I have found for PS is from Davide Barranca's https://www.htmlpanelsbook.com/ and https://www.ps-scripting.com/ which will show you how to create your own panels and scripts within PS which can pass data to AfterEffects and then back to PS or other CC apps.