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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question AllVideos

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Lorem Ipsum...
More
13 years 11 months ago - 13 years 11 months ago #1 by lev
AllVideos was created by lev
How to tie the code AllVideos does not work Kunena 1.5.11

plugin AllVideos
Code:
<span class="avPlayerContainer"> <span style="width:400px;" class="avPlayerSubContainer"> <span id="AVPlayerID_2c4d61da" class="avPlayerBlock" style="padding-bottom:8px;"> <object type="application/x-shockwave-flash" style="width:400px;height:300px;" data="http://www.youtube.com/v/gcU5ntA2fAk&amp;hl=en&amp;fs=1" title="Video Player"> <param name="movie" value="http://www.youtube.com/v/gcU5ntA2fAk&amp;hl=ru_RU&amp;fs=1" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#010101" /> </object> </span> <a class="avLightbox" href="#AVPlayerID_2c4d61da" title="Click to view video in a lightbox popup" style="margin:0;padding:0;border:none;">Dim lights</a> </span> </span>

kunena.parser.php
Code:
<div class = "msgtext"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="405" height="355"> <param name="movie" value="http://www.youtube.com/v/gcU5ntA2fAk&amp;hl=ru_RU&amp;fs=1" /> <param name="quality" value="high" /> <param name="allowFullScreen" value="true" /> <param name="allowScriptAccess" value="never" /> <param name="wmode" value="transparent" /> <embed src="http://www.youtube.com/v/gcU5ntA2fAk&amp;hl=ru_RU&amp;fs=1" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowFullScreen="true" allowScriptAccess="never" width="405" height="355" wmode="transparent" /> </object> </div>

Sorry for my English.
Last edit: 13 years 11 months ago by lev.

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

  • lev
  • lev's Avatar Topic Author
  • Offline
  • Senior Member
  • Lorem Ipsum...
More
13 years 11 months ago - 13 years 11 months ago #2 by lev
Replied by lev on topic Re: AllVideos
Help me somebody how to adjust the code Kunena?
Here on the forum wrote that the problem may be the devil, but how and from whom did it happen? I began to do, but could only edit the link, and the rest of the code where?
77-87
Code:
if ($fbConfig->autoembedyoutube) { // convert youtube links to embedded player $task->text = preg_replace('/<a href=[^>]+youtube.([^>\/]+)\/watch\?[^>]*v=([^>"&]+)[^>]+>[^<]+<\/a>/', '<object width="425" height="344"><param name="movie" value="http://www.youtube.$1/v/$2&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.$1/v/$2&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>', $task->text); // convert youtube playlists to embedded player $task->text = preg_replace('/<a href=[^>]+youtube.([^>\/]+)\/view_play_list\?[^>]*p=([^>"&]+)[^>]+>[^<]+<\/a>/', '<object width="480" height="385"><param name="movie" value="http://www.youtube.$1/p/$2"></param><embed src="http://www.youtube.$1/p/$2" type="application/x-shockwave-flash" width="480" height="385"></embed></object>', $task->text); }
418-424
Code:
// --- config start ------------ $vid_minwidth = 20; $vid_minheight = 20; // min. display size //$vid_maxwidth = 640; $vid_maxheight = 480; // max. display size $vid_maxwidth = (int)(($fbConfig->rtewidth * 9) / 10); // Max 90% of text width $vid_maxheight = 480; // max. display size $vid_sizemax = 100; // max. display zoom in percent // --- config end --------------
521
Code:
'youtube' => array ('flash', 425, 355, 0, 0, 'http://www.youtube.com/v/%vcode%&rel=1', '\/watch\?v=([\w\-]*)', array(array(6, 'wmode', 'transparent'))),
561-571
Code:
case 'flash': $vid_par1 = array( array(1, 'classid', 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'), array(1, 'codebase', 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab'), array(2, 'movie', $vid_source), array(4, 'src', $vid_source), array(4, 'type', 'application/x-shockwave-flash'), array(4, 'pluginspage', 'http://www.macromedia.com/go/getflashplayer'), array(6, 'quality', 'high'), array(6, 'allowFullScreen', 'true'), array(6, 'allowScriptAccess', 'never'), array(5, 'width', $vid_width), array(5, 'height', $vid_height)); $vid_allowpar = array('flashvars', 'wmode', 'bgcolor', 'quality'); break;

Sorry for my English.
Last edit: 13 years 11 months ago by lev.

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

Time to create page: 0.355 seconds