Copied to clipboard

Flag this post as spam?

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


  • Joachim Tranberg 3 posts 73 karma points
    Feb 18, 2019 @ 07:15
    Joachim Tranberg
    0

    Only allow specifics embeds in the richtext editor

    Hi community

    In regards to GDPR, we have a challenge with Youtube/Vimeo embeds.

    We want to only allow the compliant version of the youtube embed (youtube-nocookie.com)

    Is there anyway to force this either by changing it automatic or just not allow it at all?

    Here is an allowed embed: iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/FhXRAVRlVDo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen>

    (The only difference is the youtube.com vs youtube-nocookie.com)

  • Matthew Wise 195 posts 825 karma points c-trib
    Feb 18, 2019 @ 07:26
    Matthew Wise
    0

    Hi Joachim,

    You can change what the Embed picker will accept by changing the regex values in Config/EmbeddedMedia.config You can also write your own using the provider documented - https://our.umbraco.com/Documentation/Extending/Embedded-Media-Provider/

Please Sign in or register to post replies

Write your reply to:

Draft