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.
Dato doesn’t expect a specific link format to the video, the direct URL should be enough.
The vimeo video has to be “embedable”, perhaps the fact that it is private is not allowing dato to embed the video into an iframe.
Could you try with a different public vimeo video and see if you have the same behaviour?
Cool i try that. I thought i had the other day, and it still failed.
I think the error toast is a bit aggressive, as it take the cursor away from the input field when your typing. Means its impossoble to type a url. Ideally the component should just flash red, rather than disabling input.
I use private Vimeo video’s restricted to certain domains, all tough we have a custom domain added to our Datocms dashboard which is whitelisted. The CMS won’t accept our private video.
I tried adding datocms.com as whitelisted domain but it doesn’t solve the problem. Any ideas?
I’m running into the same issue; why not make both YouTube links available w/ and w/o the “embed”? (For reference, I’m adding the “/embed” but gets transformed to the “/watch” url). However I guess I can use the suggested solution to re-build the url using the providerUid but it makes it THAT much complicated when adding videos from multiple sources.
Now your video seems public to me, so it works as expected, I’m not sure how it behaves when unlisted. If you want you can try yourself and see how it goes. Unfortunately if Vimeo doesn’t return the information that we need, probably it’s better to use a simple text field and do what you need on your end.