How can I change type attribute from text/javascript to text/plain?

Funny, I wondered the same a while ago. Turns out you can’t, as long as you are using webflow’s video element. Have a look at my question:

To be 100% GDPR compliant, you have 2 choices:

So for now, we can only use video’s with custom iframes, if we don’t want YT to set cookies (by default).

or not using videos at all.