You can even do QR code reading via a web-page, and "add-to-homepage" if you wanted to put it onto an iPad.
Obviously the OP project is better thought out, but it's quite good to learn different bits and pieces and strategies about deep linking and internal media.
https://blog.fuzzymistborn.com/homeassistant-and-catt-cast-a...
You can cast YouTube URLs directly, as well as general media files over the local network.
My theory is QR-codes up to a camera: http://192.168.1.123/randomvid.php?topic=XYZ => shuf | head -1 | catt --target=$MY_TV
You can even do QR code reading via a web-page, and "add-to-homepage" if you wanted to put it onto an iPad.
Obviously the OP project is better thought out, but it's quite good to learn different bits and pieces and strategies about deep linking and internal media.