Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi I try to insert some Videos in my blog. I created a theme in Backlight with the wordpress-Addon. in the editing mode, the videos are looking well (300 x 169).
If I open the website with the post, the videos are displayed with fullwidth of the post.
Look here: This is the WP-Part of my Website....
http://thomas-marti.ch/blog/2017/12/05/ … k-stewart/
it shoultd displayed like here: (other website with wp)
http://taverne-zum-vollmond.ch/konzerte/
The embed Code in WP is:
<iframe class="alignleft" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/303511927&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true" width="300" height="200" frameborder="no" scrolling="no"></iframe>
<iframe src="https://www.youtube.com/embed/f_tIUUtWQc8?rel=0" width="300" height="200" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
Can you help me please?
Thanks, Thomas
Offline
Videos will resize to the full width of the container, which helps them to be responsive. If you want them smaller, then wrap them in a div, for example:
<div style="max-width: 300px">
<iframe src="https://www.youtube.com/embed/f_tIUUtWQc8?rel=0" width="300" height="200" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
</div>
Offline
Thank's That helped me. But I think the simpler way is to use the Embeded Video as is. I don't want to play around with the div-tags........at the moment.....
Offline
And then your video stops being responsive, and is too large on mobile phones, because it doesn't scale down. The current implementation is as intentionally designed.
Offline