For kolasim
Auteur : Nigel B.Hi KolAsim,
A while ago you created this code for me to make a couple of video's mobile friendly on my blog.
<div id="div_customK" style="position:relative;width:100%;height:auto;padding-bottom:56%;"> <iframe style="position:absolute;width:100%;height:100%;top:0px;" src="https://www.brighteon.com/embed/5e785b0e-0ea9-4f1b-8219-694d2fd49ffb" allowfullscreen="" width="100%" frameborder="0" height="300"></iframe> </div>
I still use it for videos from Brighteon.com but now I want to add videos to my blog posts from Rumble.com
For some reason I cannot get the code to work for the Rumble videos.
Here's a blog post that I have added a video from Rumble but Website X5 is not mobile friendly and cuts the video off on the right side:
I tried taking the embedded code URL (https://rumble.com/embed/vq9t8o/?pub=4) from the Rumble video and inserted it into the code you gave me as example below but it didn't work-
<div id="div_customK" style="position:relative;width:100%;height:auto;padding-bottom:56%;"> <iframe style="position:absolute;width:100%;height:100%;top:0px;" src="https://rumble.com/embed/vq9t8o/?pub=4" allowfullscreen="" width="100%" frameborder="0" height="300"></iframe> </div>
Can you tell me what I'm doing wrong?
Many thanks, Nigel
(It > En) ... hi, try this code; ... it worked for me without cut video:
<div id="div_customK" style="position:relative;width:100%;height:auto;padding-bottom:56%;"> <iframe style="position:absolute;width:100%;height:100%;top:0px;left:0px" src="https://rumble.com/embed/vq9t8o/?pub=4" allowfullscreen="" width="100%" frameborder="0" height="300"></iframe> </div>
.
ciao
.
Auteur
Hi KolAsim,
Thank you soo soo much. It works perfectly!
I really appreciate your efforts.
Kind Regards, Nigel