Quick question, do the OEmbed Picker Property Editor works with Courier? Wanted to use it but the client is using Courier on the site so checking to see if this works with Courier
Not out of the box, because this uses the same dialog that you get when you use the embed option in the rich text editor or the embed grid editor. The only option as I now can see is that you create your own OEmbed provider that hard codes these values.
Does it works with Courier
Hey Dave,
Quick question, do the OEmbed Picker Property Editor works with Courier? Wanted to use it but the client is using Courier on the site so checking to see if this works with Courier
Thanks
Hi JLon,
This package has been marked to work on Umbraco as a Service. This uses courier to deploy content changes.
So I'm 99.99% sure it works with Courier.
Dave
Sweet. Thanks Dave
Hey Dave,
Quick question, will it be possible/easy to hide the size bits from the user?
I don't want the user to be able to set the width and height
Hi JLon,
Not out of the box, because this uses the same dialog that you get when you use the embed option in the rich text editor or the embed grid editor. The only option as I now can see is that you create your own OEmbed provider that hard codes these values.
Tim Geyssens created a blog post describing how to create a custom provider : http://www.nibble.be/?p=451
This is the source code of the current one used for youtube and other video providers : https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/Media/EmbedProviders/OEmbedVideo.cs
You will need to override the SupportsDimensions property and set it to false. Like in this provider https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/Media/EmbedProviders/Twitgoo.cs
And maybe hardcode your dimensions. After that you need to update the EmbeddedMedia.config to use your provider for video.
Dave
Thanks Dave
Hi JLon,
Just curious. Did you solve your issue ?
Dave
is working on a reply...