Iframe smugmug video on blogger : responsive ?

EtienneEtienne Registered Users Posts: 70 Big grins

Hi,

I use an iframe to post a smugmug video on blogger ant it works well.
I use

except that the video is not responsive. ( on mobile)
I try to use tips on internet and use a video container :

.video-container {
position: relative;
max-width: 100%;
margin: 20px auto;
padding-bottom: 56%;
padding-top: 30px;
overflow: hidden;
height: auto;
}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100% ;
height: 100%;
}

but its seems to work on Youtube video and not on smugmug iframe video.

Any ideas ?

The blog is still private, I can not show it.

I can use severals video iframe width according to the screen but there may be more simple.

Thanks

Etienne

Tagged:

Comments

Sign In or Register to comment.