Make WordPress Core

Opened 8 years ago

Closed 6 years ago

#41012 closed defect (bug) (worksforme)

YouTube embed options

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

Description

On a YouTube video, if you click Share > Embed > Show more, there are several options for embedded videos.

In my specific situation, I'd like to unset the " Show suggested videos when the video finishes" option. Which, in effect, just adds ?rel=0 to the iframe's src attribute.

These options should be available to WordPress users, even if they don't have the unfiltered_html capability.

Change History (2)

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


6 years ago

#2 @antpb
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Hi @tomdxw sorry for the delay in response on this great suggestion. I am seeing that YouTube has recently removed the ability to remove the video suggestions using rel=0 as of September 25, 2018: https://developers.google.com/youtube/player_parameters

I do think that this suggestion is great, however I do also believe that users without the ability to edit html still have the ability to paste the link with desired query parameters in the url. They would just need to make sure those exist when pasting them into a block. I am going to close this ticket, as we cannot use these arguments any longer. YouTube does offer strings for things like start time of the video and in our recent Media meeting we were able to verify that those paste in and maintain their url arguments after embedding.

Note: See TracTickets for help on using tickets.