html5 background video in custom theme
-
Hello everyone,
I am attempting my first WordPress theme and am getting around fairly well so far. It is a very minimal theme. Literally just a header and footer that has a slideshow in the header.
So far I’ve been able to get the header() and footer() to display and insert the slider plugin (Revolution Slider) into the header using a widget and everything seems to work swimmingly.
The next step to this is I would like to add an html5 background to the page in the template (not with a plugin).
I’ve been able to get the video background working in my base (non-WP template) but adding the code to the WP version of my template does not seem to be working.
I’ve searched through the codex and found the
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form' ) );and added to my functions.php however this doesn’t seem to work.
I’m sure there is something I’m missing here but have no idea what.
I’m working on a localhost so can not provide a link but let me know if you need any code to be posted.
Thanks for the support and great documentation to get me this far.
The topic ‘html5 background video in custom theme’ is closed to new replies.