×
Kunena 5.1.3 Released (Yesterday)

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

× Please note: The Kunena project team takes NO responsibility for maintaining nor supporting anything in this category.

Idea YOUTUBE AUTOEMBED TAPATALK FIX

More
3 years 7 months ago #1 by tlweb
Hi,

i had problems with tapatalk not seeing video's that were embedded with a direct link in the text. i adjusted the code to make it work. The BBCODE YOUTUBE ID method worked and i just changed the code in
root/libraries/kunena/bbcode/bbcode.php

REPLACE LINES 118 Through 124 with:
return '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="425" height="344"><param name="movie" value="https://www.youtube.com/v/'
							.urlencode($video).'?version=3&feature=player_embedded&fs=1&cc_load_policy=1" /><param name="quality" value="high" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="never" /><param name="wmode" value="transparent" />
							<embed src="https://www.youtube.com/v/'
									.urlencode($video).'?version=3&feature=player_embedded&fs=1&cc_load_policy=1" type="application/x-shockwave-flash" 
		pluginspage="https://www.macromedia.com/go/getflashplayer" quality="high" allowFullScreen="true" allowScriptAccess="never" width="405" height="344" wmode="transparent" /></object>';
				} else {
					return '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" width="425" height="344"><param name="movie" value="https://www.youtube.com/v/'
							.urlencode($video).'?version=3&feature=player_embedded&fs=1&cc_load_policy=1" /><param name="quality" value="high" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="never" /><param name="wmode" value="transparent" />
							<embed src="https://www.youtube.com/v/'
									.urlencode($video).'?version=3&feature=player_embedded&fs=1&cc_load_policy=1" type="application/x-shockwave-flash" 
		pluginspage="https://www.macromedia.com/go/getflashplayer" quality="high" allowFullScreen="true" allowScriptAccess="never" width="405" height="344" wmode="transparent" /></object>';
The following user(s) said Thank You: xillibit

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

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