Skip to content

When caching is enabled, YouTube embeds do not include additional parameters in the returned iFrame #73

Closed
@bendesilva

Description

Untested on other providers, however it appears that when I have caching enabled, the iFrame does not include any of the additional parameters defined in templates (for context I'm trying to add the enablejsapi parameter). I tried flushing and clearing all caches, creating a new entry with a video that had not been embedded on the website before and in all instances the embed didn't include the parameter in the iFrame src. When disabling the cache the parameter appeared as expected.

I did try disabling the cache for an extended time but was quickly rate limited by YouTube.

oEmbed version: 1.3.6
Craft CMS version: 3.6.11.2

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions