Forum breadcrumbs – You are here:Asgaros Support ForumSupportEmbedded video size
Please or Register to create posts and topics.

Embedded video size

Page 1 of 2Next

I have just started using Asgaros on our website and am very pleased with it. It is just what I wanted, very simple, user-friendly and looks good.

I am just starting to feel my way around it and tried embeding a YouTube video link. This gives a very big image on the mail and I can’t see how to reduce it. I am very much an amateur in these matters but notice on another post that it was suggested that the themes CSS settings could be the reason. We use Enfold but I can’t see what I might have to change. Any help appreciated to reduce the size

Below is the example

richards

http://bristoloda.org/newboda/?page_id=5702&view=topic&id=15

 

Hello @richards

It seems that your theme is making some calculations and set big sizes for iframes (see the attached image). I cant make changes to the logic of themes directly because this always brings the risk of breaking other things as well.

I suggest you to contact the developers of your theme. Maybe they can help you to change some of the iframe-related sizes. Unfortunately I dont know your theme and its code so I am sorry that I cant give you any code which works out-of-the-box.

Uploaded files:
  • video.PNG
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Many thaks for the very rapid response. Much appreciated and it points me in the right direction.

Richard

I have now managed to solve this by installing the plugin “ARVE Advanced Responsive Video Embedder” and setting the max. width to 500

Asgaros has reacted to this post.
Asgaros

Excuse me. Maybe where I missed, but there is a solution to limit the video in version 1.14.9

Look bad by default

Hello @rusev

The size is based on the available space of the content-area of your website. I guess it should be possible to modify it a bit by using some custom-css. Can you provide me a link to the post which contains the video?

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Found code here, added part of it CSS

.post-wrapper iframe {
    height: 300px;
}

Now there are no problems in height 

Watch an example https://kam-news.ru/forum/topic/ya-slushayu/?part=5#postid-1551

Perhaps you have a better solution.

RUSev has reacted to this post.
RUSev

Hello @rusev

I think in your case this code is the best solution because you only have limited content-space available on your site.

RUSev has reacted to this post.
RUSev
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

@asgaros Thank!
Do not tell me how to limit the width?

Hello @rusev

The code for changing the width looks similar:

.post-wrapper iframe {
    width: 200px;
}

 

RUSev has reacted to this post.
RUSev
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
Page 1 of 2Next