Video on Front Page v1

User Story
As a site editor, I would like the ability to use video on the frontpage, in order to keep my sites as engaging as possible to students.
Summary
Add the ability to switch out the frontpage feature to a 'video' element.
Design Notes

Quincy working on this.

 

 

Technical Notes

New content type: Video Hero

Fields:

  • 2 video upload fields, with file type and max size limits (one for WEBM, MP4)
  • 1 image field for background/fallback (WEBP), file type and size limits
  • Title, Teaser, Link fields (title required)
  • Show/hide title
  • Pathauto for node/all uploads

New tab on /admin/content for this type (need to determine what to show)

-----

Update frontpage content type:

Add new selector to choose between 'slideshow' (what we have now), None, and Video Hero

  • If Video, provide a list of all Video Hero's to choose from (Phase II might be a modal of thumbnails).
  • Error checking: can't select video if none exist.
  • Will most likely need to replace existing checkbox for feature, so see if we will need to set new value in DB for this field

------

Theme:

  • Display background image for small viewports, video on tablet (or small desktop) and up
  • Title, teaser. link should match vertical and horizontal positions as frontpage_feature.
  • Webm first, mp4 as fallback, then image
  • Add play/pause button
  • Not sure about sound?
  • Auto play, loop forever.
Reviewers
DO Marketing
Gateway (Steph)
DUG
Tasks Checklist
  • Design
  • Development
  • Theme
  • UAT/Review
  • Knowledge Base
  • Deployment
Status
Done
Category
New Functionality
Approved
Yes