<html>
<head>
<link href="https://fonts.googleapis.com/css2?family=Anton&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@200&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<div style='padding:3px; background-color:orangered;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);'>
<div style='width: 40px; cursor:pointer'>
<div style='width:35px;height:5px;background-color:black;margin:6px 6px; border-radius:20%;' ></div>
<div style='width:35px;height:5px;background-color:black;margin:6px 6px; border-radius:20%' ></div>
<div style='width:35px;height:5px;background-color:black;margin:6px 6px; border-radius:20%' ></div>
</div>
</div>
<div style='width:75%;margin:auto;padding:1vw;font-family: 'Titillium Web', sans-serif;font-size:3vh;' ><a href='javascript:display(0)'>D E S I G N</a> | <a href='javascript:display(1)'>B U I L D</a></div>
<body onload="javascript:display(0)">
<span id="videoFiles">
</span>
</body>
<script>
var videoFilesCode="";
var alternate=0;
function display(mode){
if(mode==0){
resetPage();
addVideoFile("motorCase.mp4","Motor Case");
addVideoFile("impeller.mp4","Impeller");
addVideoFile("inletOutlet.mp4","Inlet-Outlet");
}
if(mode==1){
resetPage();
addVideoFile('pumpAssembly.mp4','Pump Assembly');
}
}
function resetPage(){
videoFilesCode='';}
function addVideoFile(videoFile,title){
if(alternate%2==0){
videoFilesCode=videoFilesCode+"<div class='w3-animate-zoom' style='display:grid; grid-template-columns: auto 50%;padding:10vw;' ><div style='box-shadow: 4px 4px 16px 0 rgba(0, 0, 0, 0.5);'><video width='100%' controls><source src='"+videoFile+"' type='video/mp4'></video></div><div style='font-family: 'Anton', sans-serif;font-size:6vh;text-align:right; '>"+title+"</div></div>"
}else{
videoFilesCode=videoFilesCode+"<div class='w3-animate-zoom' style='display:grid; grid-template-columns: auto 50%;padding:10vw;' ><div style='font-family: 'Anton', sans-serif;font-size:6vh;'>"+title+"</div><div style='box-shadow: 4px 4px 16px 0 rgba(0, 0, 0, 0.5);'><video width='100%' controls><source src='"+videoFile+"' type='video/mp4'></video></div></div>"
}
alternate++;
document.getElementById("videoFiles").innerHTML="<div style='width: 80%;margin:auto;'>"+videoFilesCode+"</div>";;
}
</script>
</html>