Hey guys,
Hopefully someone can help me out here. I need to make the Vidspider Api Iframe code responsive for my wordpress blog. Right now I have the ratio set to 800 px and height to 450 px, but on mobile it looks like shit, it goes off the frame. So you can set the width to 100% and that makes the width responsive but it looses the aspect ratio and it looks like shit on a desktop. I am obviously not good at coding so if someone can help out that be amazing.
Heres the code:
<iframe src="https://videospider.in/getvideo?key=OhCteyP5J938wz2q&video_id=tt3215342" width="800" height="450" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe>
Thanks!
Hopefully someone can help me out here. I need to make the Vidspider Api Iframe code responsive for my wordpress blog. Right now I have the ratio set to 800 px and height to 450 px, but on mobile it looks like shit, it goes off the frame. So you can set the width to 100% and that makes the width responsive but it looses the aspect ratio and it looks like shit on a desktop. I am obviously not good at coding so if someone can help out that be amazing.
Heres the code:
<iframe src="https://videospider.in/getvideo?key=OhCteyP5J938wz2q&video_id=tt3215342" width="800" height="450" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe>
Thanks!