Skip to content

Youtube shortcode now disables fullscreen by default #13650

@chalin

Description

@chalin

The changes introduced to the youtube shortcode via

toggled the default for fullscreen from true (up until v0.145.x) to false in the latest release.

If you build the attached minimal sample project this is the diff (over the prettified) HTML output of a page using the shortcode:

5c5
<   <meta name="generator" content="Hugo 0.145.0">
---
>   <meta name="generator" content="Hugo 0.146.7">
14d13
<         allowfullscreen="allowfullscreen"

Notice that the allowfullscreen attribute is gone in v0.146. We should be seeing the addition of allow="fullscreen; ...". Can we recover the old default?

📎 Test project: hugo-youtube-demo.zip (updated)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions