Skip to:
Content
Pages
Categories
Search
Top
Bottom

Only Allow YouTube and Vimeo oEmbeds


  • Wasca
    Participant

    @wasca

    Hi Guys

    I’m having an issue in my forum where if some one pastes a URL (a link to another forum post on my site) it tries to embed a copy of that page into the the forum post instead of just displaying the URL string. I realise this is the oembed functionality kicking in, but I don’t want it to do that I only want video embeds from Youtube and Vimeo to work.

    What can I do?

Viewing 2 replies - 1 through 2 (of 2 total)

  • Wasca
    Participant

    @wasca

    Testing a link back to this thread.

    Only Allow YouTube and Vimeo oEmbeds

    On my forum, this would have rendered the post here and not just created the heading.


    Wasca
    Participant

    @wasca

    I should also not that this is only happening in Chrome not Firefox. I’m seeing this in the console. (sanitized)

    Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
        at et_core_page_resource_fallback (https://mydomain.com/topic/test-video/embed/:12:160)
        at HTMLLinkElement.onload (https://mydomain.com/topic/test-video/embed/#?secret=HEI33yuPgo:158:289)
    et_core_page_resource_fallback @ (index):12
    onload @ VM2025 :158
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar