Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

video.xsl doesn't output width or height for youtube videos #44

@Bellfalasch

Description

@Bellfalasch

This makes responsive iframe not work.

The template:
<xsl:template name="stk:video.embed-youtube" as="element()">

I just added this to the template to make it work as a quick fix, and it's far from good (doesn't care about region-width).
<xsl:attribute name="width" select="$width"/>
<xsl:attribute name="height" select="$height"/>

Current template doesn't even output these values even though the JavaScript is looking for it when going for responsive iframes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions