×
Kunena 5.2.4 and Blue eagle 1.6.4 released (04 Apr 2021)

The Kunena team has announce the arrival of Kunena 5.2.4 [K 5.2.4] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.2 and issues discovered during the development stages of K 5.2.4

REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with, this template isn't designed to works with Bootstrap 3 and Bootstrap 4.

Question Change Default Video Size:

More
4 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
4 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:
				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="https://www.youtube.com/embed/' . urlencode($video) . '" frameborder="0" allowfullscreen></iframe>';
				}

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

:)

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.045 seconds