Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Solved Change Default Video Size:

More
7 years 10 months ago #1 by TornSoul
Right now all videos are posted at 480pxx360px in the Blue Eagle theme. I can't find anyplace in the ACP to change it.

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #2 by TornSoul
Replied by TornSoul on topic Change Default Video Size:
So...I figured out how to do this in case anyone else is wondering. This is to change the default height and width for posted Youtube videos.

In the ACP, go to Config -> Front end, and change the text area to the size of Youtube video you want to be default. I did 720x405 for 16x9 videos.

Then go to

[ROOT]/libraries/kunena/bbcode/ and edit two lines:
Code:
if ($uri->isSSL()) { return '<iframe width="CHANGE THIS" height="CHANGE THIS" src="https://www.youtube.com/embed/' . urlencode($video) . '" frameborder="0" allowfullscreen></iframe>'; } else { return '<iframe width="CHANGE THIS" height="CHANGE THIS" src="http://www.youtube.com/embed/' . urlencode($video) . '" frameborder="0" allowfullscreen></iframe>'; }

then, scroll down towards the bottom and find this line:
Code:
'youtube' => array ('iframe', CHANGE THIS TO YOUR WIDTH, CHANGE THIS TO YOUR HEIGHT, 0, 0, 'http://www.youtube.com/embed/%vcode%', '\/watch\?v=([\w\-]*)' , array (array (6, 'wmode', 'transparent' ) ) ),

:)

Please Log in or Create an account to join the conversation.

Time to create page: 0.382 seconds