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' ) ) ),