WordPress.org

Support

Support » Plugins and Hacks » Embed code is not rendered

Embed code is not rendered

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sith Lord Goz
    Participant

    @palpatine1976

    +1 same problem. Given this post is almost a year old, and still no updates, I’m not hopeful 🙁

    http://wistia.com/blog/the-new-wistia-wordpress-plugin/

    Hey all. I’ve basically figured out what it is. I’m yet to update my fork on Github, but it’s a one-liner anyway.

    Open up wistia-wordpress-oembed-plugin.php (in a text-editor or via the admin) and change the wp_oembed_add_provider call to:

    wp_oembed_add_provider( '/https?:\/\/(.+)?(wistia\.(com|net)|wi\.st)\/.*/', 'http://fast.wistia.net/oembed', true );

    It’s a change in the add provider function that means it won’t detect the RegEx unless you tell it to look for one (3rd parameter)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Embed code is not rendered’ is closed to new replies.