-
Type: New Feature
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.10
-
Component/s: Web Common
-
Tags:
-
Sprint:nxProduct-7.10-1
-
Story Points:2
Add the video element for the 7.10 release:
video { position: fixed; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -100; transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); background: url('<%=backgroundPath%>') no-repeat; background-size: cover; transition: 1s opacity; }
<video autoplay="autoplay" preload="auto" poster="<%=backgroundPath%>" id="bgvid"> <source src="//media.nuxeo.com/videos/login_7_10.webm" type="video/webm"> <source src="//media.nuxeo.com/videos/login_7_10.mp4" type="video/mp4"> </video>