Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jay 425 posts 652 karma points
    Sep 28, 2016 @ 12:00
    Jay
    0

    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

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Sep 28, 2016 @ 12:08
    Dave Woestenborghs
    1

    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

  • Jay 425 posts 652 karma points
    Sep 28, 2016 @ 12:51
    Jay
    0

    Sweet. Thanks Dave

  • Jay 425 posts 652 karma points
    Sep 28, 2016 @ 13:58
    Jay
    0

    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

    enter image description here

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Sep 28, 2016 @ 16:03
    Dave Woestenborghs
    0

    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

  • Jay 425 posts 652 karma points
    Sep 28, 2016 @ 17:01
    Jay
    0

    Thanks Dave

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Sep 30, 2016 @ 15:19
    Dave Woestenborghs
    0

    Hi JLon,

    Just curious. Did you solve your issue ?

    Dave

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies