[bugfix]: Error displaying too much code
open /plugins/Magic/default.php
and edit the function ViewYoutube
select the hole function and insert this instead:
Regards,
Niklas
            Tagged:
            
        
0          
            open /plugins/Magic/default.php
and edit the function ViewYoutube
select the hole function and insert this instead:
Regards,
Niklas
Comments
pasted the code from http://pad.we-host.de/p/magic
It's so easy to put code on the forum instead of going to other sites that may or may not keep it for a long duration. cut and pasted above.
/** * ViewYoutube * @param Array $Matches * @return String */ protected function ViewYoutube($Matches) { if($this->IsValueAttribute($this->Comment, $Matches[0])) { return $Matches[0]; } else { return "<object width=\"425\" height=\"344\"> <param name=\"movie\" value=\"http://www.youtube." . $Matches[5] . "/v/" . $Matches[7] . "?version=3&hl=de_DE\"></param> <param name=\"allowFullScreen\" value=\"true\"></param> <param name=\"allowscriptaccess\" value=\"always\"></param> <embed src=\"http://www.youtube." . $Matches[5] . "/v/" . $Matches[7] . "?version=3&hl=de_DE\"" . "type=\"application/x-shockwave-flash\" width=\"425\" height=\"344\" allowscriptaccess=\"always\" allowfullscreen=\"true\"></embed> </object>"; } }I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.