Copied to clipboard

Flag this post as spam?

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


  • Gayathri 41 posts 151 karma points
    Aug 16, 2018 @ 03:05
    Gayathri
    0

    Umbraco Embed URL not working throws an error ould not embed media - please ensure the URL is valid

    been trying to use the Umbraco Embed content type but the error says Could not embed media - please ensure the URL is valid.

    i have tried with https://vimeo.com/269996086 , https://youtu.be/JGwWNGJdvx8 all these URL but none of them working any idea about this ?

    enter image description here

  • Dave Woestenborghs 3214 posts 10805 karma points MVP 4x admin c-trib
    Aug 16, 2018 @ 06:23
    Dave Woestenborghs
    0

    Hi Gayathri,

    I have tried both URL's on a 7.11.1 install of Umbraco. Both work.

    One thing can be is that your website doesn't have access to the internet. The URL is retreived server side, so when the server doesn't have internet access.

    And just to be sure can you post the contents of your /Config/EmbeddedMedia.config file to be sure nothing is configured wrong in there

    Dave

  • Gayathri 41 posts 151 karma points
    Aug 23, 2018 @ 05:14
    Gayathri
    0

    hi Dave,

    i can see the config in /config/embeddedmedia.config

      <provider name="Youtube" type="Umbraco.Web.Media.EmbedProviders.OEmbedVideo, umbraco">
            <urlShemeRegex><![CDATA[youtu(?:\.be|be\.com)/(?:(.*)v(/|=)|(.*/)?)([a-zA-Z0-9-_]+)]]></urlShemeRegex>
            <apiEndpoint><![CDATA[https://www.youtube.com/oembed]]></apiEndpoint>
            <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco">
              <param name="iframe">1</param>
              <param name="format">xml</param>
              <param name="scheme">https</param>
            </requestParams>
          </provider>
     <!-- Vimeo -->
      <provider name="Vimeo" type="Umbraco.Web.Media.EmbedProviders.OEmbedVideo, umbraco">
        <urlShemeRegex><![CDATA[vimeo\.com/]]></urlShemeRegex>
        <apiEndpoint><![CDATA[http://vimeo.com/api/oembed.xml]]></apiEndpoint>
        <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco"></requestParams>
      </provider>
    

    not sure what am i missing

  • Leo Filippelli 4 posts 84 karma points
    Aug 28, 2019 @ 12:05
    Leo Filippelli
    0

    It happens the same to me with Twitter, it has been working correctly for 1 year aprox and it suddently stopped working. Maybe it is related to the last Twitter upgrade?

    This is my config for Twitter:

    <provider name="Twitter" type="Umbraco.Web.Media.EmbedProviders.OEmbedJson, umbraco">
    <urlShemeRegex><![CDATA[twitter\.com/]]></urlShemeRegex>
    <apiEndpoint><![CDATA[https://publish.twitter.com/oembed]]></apiEndpoint>
    <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco"></requestParams>
    

  • Dean Wiseman 13 posts 82 karma points
    Oct 03, 2019 @ 14:33
    Dean Wiseman
    0

    I'm having the same issue, I'm not able to embed anything from any of the approved providers in the Rich Text Editor.

    Getting the same error:

    Could not embed media - please ensure the URL is valid.

    I've confirmed the server has access to the internet.

    I have tried numerous random youtube videos, Vimeo videos, etc. Nothing seems to work.

    Using Umbraco 8.1.4

Please Sign in or register to post replies

Write your reply to:

Draft