embed arte.tv videos with resizable video frames
-
Hi people, im currently doing my own website as an filmeditor. So often I use embed videos from the production for example.
with vimeo this works just fine, but somehow the arte iframe i have to give an exact height and not let it be adjusted to the window site.I know a friend of mine did (though in cargocollective):
https://andipek.com/DOCUMENTARY/STREETPHILOSOPHY-ERFINDE-EINE-BESSERE-WELTMy problem is here: http://editedit.dreamhosters.com/streetphilosophy
where i only can decide that I want to have an iframe of lets say 650px which is kind of safe...but better to have it flexible.anyone knows how to solve that?
in the CSS of my friend (which is not hers i suppose, but automatic from cargocollective) i saw some elements called data-elementresizer and the class of the div was containing width: calc(100% - 360 px);thanks for the help already!
-
Dear @leooo
have a look here:
https://stackoverflow.com/questions/34057239/css-vh-units-inside-an-iframeYou can resize iFrames with VW or %. As well you can think of using
min-width
as well.Hope I could help!
Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it