Insert Embed Youtube Videos using External Video field in Models section

Since the recent update in Dato we cannot insert our Youtube videos in the embed format as it transforms the URL instantaneously.
Now it shows the pop-up alert and if we delete the parametres after the “?” it changes the url to a non embed format. However, it still works with the urls we inserted few months ago.

How can we fix it?
Thanks beforehand

Hi @guillem.moreso. We fixed the “?autoplay=1” part of the problem, but we cannot do much regarding DatoCMS changing the URL to the canonical one. This is actually the correct behaviour.

To build your iframe you should use the provider_uid attribute of the video field… something like this:

`<iframe src="//{provider_uid}?rel=0" frameborder="0" allowfullscreen></iframe>