Make WordPress Core

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#41041 closed defect (bug) (invalid)

YouTube subtitles no longer appear when embedding

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

Description

All YouTube videos on numerous sites that we own no longer show our subtitles, nor do they have the subtitle options in 'settings' or the 'CC' button.

Our sites are international and require the option to
a) force subtitles in a specific language (we do this in the embed code)
b) select subtitles in a specific language via the settings option

There was no issue yesterday morning, but in the afternoon these options had disappeared across all videos on all websites.

Change History (2)

#1 @postphotos
7 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Hi @kangahealth! I can't duplicate this bug on a clean instance of WordPress using either the direct link embed (i.e. just a standard URL) or using the Youtube embed and I'm going to close the ticket.

Sorry about your experience: If I had to guess, it's probably likely related to a plugin or theme you're using. On a per-video basis, or in your video embed scripts inside a plugin or theme, you could turn on the ?cc_load_policy=1 query string that Youtube gives yo you to force captions on: https://developers.google.com/youtube/player_parameters#Revision_History

Working example:
<iframe width="560" height="315" src="https://www.youtube.com/embed/o0X0YFP6DoQ??cc_load_policy=1" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>

You may also consider looking at whether branding has been turned off on your video embedder because sometimes that makes it harder to use captions and subtitles.

#2 @dd32
7 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.