Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#42845 closed defect (bug) (worksforme)

The 2017 theme will not show video headers and I can't find a discussion on the subject

Reported by: williampo's profile Williampo Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.1
Component: Themes Keywords:
Focuses: Cc:

Description

I have been using the 2017 theme for about a year. I successfully used an image for the header with no problem. But when I tried to exchange the image with a YouTube video, under 8 mg, lasting 4 seconds it shows the video in the preview but fails to show it when I publish this change. I have worked on it and now have a consultant working on it and he can't get it to work either. The theme documentation implies a video may be used as the header yet no one can get it to work. In m.y mind this is a flawunless there is a plugin or code that needs to be added to correct this situation

Change History (1)

#1 @dd32
7 years ago

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

Hi @Williampo and welcome to Trac.

I've tested this myself, and it's working as expected for me using the following video: https://www.youtube.com/watch?v=XOY3ZUO6P0k

It's entirely possible that the video you're testing with isn't embeddable or has another attribute which causes it to not be embeddable.
There may also be another plugin or customization on the site which prevents it's use.

Are there any Javascript errors in the console? What HTML code is generated for the header video on the front-end (Keeping in mind, that the image selected will still be present, and the video loaded over the top of it).
Can you get the video header to work without any plugins enabled? What about theme customisations? Have you modified anything in any way?

For now, I'm marking this as worksforme but we can re-open it if you find something which indicates a core bug - right now this sounds like a theme/plugin-specific issue and not something more general, due to no other reports for this being submitted. Replies can still be made here without re-opening.

Note: See TracTickets for help on using tickets.