Copied to clipboard

Flag this post as spam?

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


  • rich hamilton 117 posts 136 karma points
    May 27, 2016 @ 14:47
    rich hamilton
    0

    Wistia Videos and Oembed

    I am trying to add Wistia videos to the EmbeddedMedia.config file

    I have added the following entry

     <!-- Wistia Settings -->
      <provider name="Wistia, Inc." type="Umbraco.Web.Media.EmbedProviders.OEmbedVideo, umbraco">
        <urlShemeRegex><![CDATA[http?:\/\/(.+)?(wistia.com|wi.st)\/(medias|embed)\/.*/)]]></urlShemeRegex>
        <apiEndpoint><![CDATA[http://fast.wistia.com/oembed.xml]]></apiEndpoint>
        <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco" />
      </provider>
    

    But is just says 'Computer says no' when I try to use it. How can I trace it and see where it is going wrong or has anyone done this before and knows the correct settings?

    Thanks all

  • David Peck 690 posts 1896 karma points c-trib
    Jul 29, 2016 @ 13:09
    David Peck
    0

    It's an older thread but I had the same issue. The solution is that it is returning JSON and so you need to use a different provider.

    <!-- Wistia Settings -->
    <provider name="Wistia" type="Umbraco.Web.Media.EmbedProviders.OEmbedJson, umbraco">
      <urlShemeRegex><![CDATA[(wistia\.com|wistia\.net|wi\.st)/]]></urlShemeRegex>
      <apiEndpoint><![CDATA[http://fast.wistia.com/oembed]]></apiEndpoint>
      <requestParams type="Umbraco.Web.Media.EmbedProviders.Settings.Dictionary, umbraco">
      </requestParams>
    </provider>
    

    The Wistia reference for this is here. I couldn't get the regex that they supply to work.

Please Sign in or register to post replies

Write your reply to:

Draft