Why are they using the web target? YouTube has multiple other attack vectors which have no javascript barriers.
Plenty of devices have YouTube players which are not being capable of being updated and which must work, exploit those APIs.
Plenty of devices have YouTube players which are not being capable of being updated and which must work, exploit those APIs.
But to answer your question, no, there aren't any suitable APIs (I've looked into it). They all either require JavaScript (youtube.com and the smart tv app) or require app integrity tokens (Android and iOS). Please let me know if you know something I don't?
Also what kind of environments are executing the JS? If Google begins to employ browser fingerprinting that may become relevant.