Make WordPress Core

#59936 closed defect (bug) (duplicate)

YouTube block does not respect rel=0

Reported by: tobiasber's profile tobiasber Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Embeds Keywords:
Focuses: Cc:

Description

The youTube block does not respect rel=0

the youtube block works, but not with rel=0. That parameter is not respected
I mean, the youtube block will display an embedded video. But the function of rel=0 will not be respected. So the embedded video will show related videos from other channels. which is not always desired

Change History (1)

#1 @sabernhardt
15 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Summary changed from YouTube block does not respect re=0 to YouTube block does not respect rel=0

Hi and welcome to WordPress Core Trac!

This has been reported earlier in #33072, #32353 and GB21002.

The Gutenberg issue mentions a way to filter the block output. That could be annoying for the first embedded video, but then the parameters are added consistently for any other YouTube embeds.

Note: See TracTickets for help on using tickets.