It is strange, isn't it?Actually found it by accident after purchasing a new iPad recently. Mucking around testing things and low and behold boom 4K HDR from Youtube. Every now and than it fails to play it back just defaults to SDR.
Some people have not been able to get it to work so it makes me wonder if it has to do with having a HDR capable device. (As the mobile casting device)