I have been using a slider code to display my images and videos. The code can be found here:
Code:
https://codepen.io/1wdtv/pen/jbjZeb
The issue I am facing is that the slider is only responsive in terms of width. This means that when resizing the browser, the image/video adjusts its size accordingly, but it doesn't consider the height aspect.
Is there a way to make the video/image fit precisely on the screen in terms of both height and width?
I want them to be visible on the screen without needing to scroll down to see the full content of the video/image, even if it involves stretching the video/image.
Thank you for your assistance.