is It possible to create a page with video background. I tried this but it is not working
<ion-content>
<video autoplay loop src="assets/video/paradise.mp4"></video>
</ion-content>
page-home {
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%);
}
}
Im using ionic 5 + capacitor