Ich administriere ein phpMyFaq 2.0.12 System in dem jetzt die Möglichkeit Flash Videos einzubetten freigeschaltet werden soll. Über die Suche habe ich erfahren, dass dies zumindest in dieser Version nicht ohne weiteres möglich ist.
Code: Select all
<script src="http://www.domain.de/fileadmin/videos/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','260','height','230','src','videos/FCT-05-Oeffnen_1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','videos/FCT-05-Oeffnen_1' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="260" height="230">
<param name="movie" value="videos/FCT-05-Oeffnen_1.swf" />
<param name="quality" value="high" />
<embed src="videos/FCT-05-Oeffnen_1.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="260" height="230"></embed>
</object>
</noscript>Die Funktion safeHTML in der functions.php habe ich bereits geändert:
Code: Select all
function safeHTML($html)
{
$html = strip_tags($html, "<script><object><noscript><param><embed><strong><em><i><u><a><br>");
$html = str_replace('<a ', '<a rel="nofollow" ', $html);
return $html;
}