XF 2.0 Size of media embeds

Mr Lucky

Well-known member
I'm confused by these size parameters;

Options

View: {$url}
Code:
[i][size=2][url={$url}]View: {$url}[/url][/size][/i]

And this in the bbcode

Code:
<div class="bbMediaWrapper">

    <div class="bbMediaWrapper-inner">

        <iframe src="https://www.youtube.com/embed/{$id}?wmode=opaque&start={$start}"

                width="500" height="315"

                frameborder="0" allowfullscreen="true"></iframe>

    </div>

</div>



Whichever I change nothing seems to affect the size of the mebedded vieo (shows at 560 x 315)

Same applies to bbcode embeds from media gallery.

How would I get either external embeds in posts or media gallery embeds in posts to be larger?

Thanks
 
That option code isn't related to the size -- it would change how auto-embed (as in, when a URL is converted to media automatically) changes the post. If selected, you can maintain a link to the media that isn't converted to an auto embed.

The width is controlled by the bbMediaWrapper CSS in core_bbcode.less.
 
Back
Top Bottom