hi,
gibt es eine Möglichkeit fragtube und owend.at viedeos in Frenthreads einzubinden?
youtube, myvideo sind ja kein problem
verwendete ilchClan Version: 1.1
betroffene Homepage: bl00d.eu
Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
Geschlossen |
Coder Posts: 7252 User Pic # 26.12.2007 - 12:15:20 ändern Zitieren Anleitung, verändern der includes/class/bbcode.php suche dabei nach video und füge nach //> Video intergration. Code: if($typ == "gametrailers") { $str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="'.$this->info['YoutubeBreite'].'" height="'.$this->info['YoutubeHoehe'].'"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="http://www.gametrailers.com/remote_wrap.php?mid='.$id.'"/> <param name="quality" value="high" /> <embed src="http://www.gametrailers.com/remote_wrap.php?mid='.$id.'" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'.$this->info['YoutubeBreite'].'" height="'.$this->info['YoutubeHoehe'].'"></embed> </object>'; } ein suche weiter nach video und ändere die Zeile nach //> Farf BB Code [VIDEO] dekodiert werden? zu Code: $this->pattern[] = "%\[video=(google|youtube|myvideo|gametrailers)\](.+)\[\/video\]%eUis"; (gametrailers eingefügt). Das wars schon, nun kannst du z.B. mit [video=gametrailers]29216[/video] so ein Video einfügen.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8" width="450" height="367" id="theMediaPlayer"> <param name=movie value="http://www.frag-tube.com/flvplayer.swf"> <param name=quality value="high"> <param name=bgcolor value="#FFFFFF"> <param name=allowFullScreen value="true"> <param name=swLiveConnect value="true"> <param name="FlashVars" value="file=http://www.frag-tube.com/uploads/Epij0o4PhRgzH23gUafV.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.frag-tube.com/image_s/playerlogo.png&link=http://www.frag-tube.com&linktarget=_blank&backcolor=0xFFFFFF"> <embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="450" height="367" bgcolor="#FFFFFF" name="theMediaPlayer" src="http://www.frag-tube.com/flvplayer.swf" flashvars="file=http://www.frag-tube.com/uploads/Epij0o4PhRgzH23gUafV.flv&width=450&height=367&displaywidth=450&displayheight=347&overstretch=true&autostart=true&showfsbutton=false&logo=http://www.frag-tube.com/image_s/playerlogo.png&link=http://www.frag-tube.com&linktarget=_blank&backcolor=0xFFFFFF"> </embed> </object>
//> Video intergration. function _video($typ,$id) { $typ = strtolower($typ); if($typ == "fragtube") { $str = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="gtembed" width="'.$this->info['YoutubeBreite'].'" height="'.$this->info['YoutubeHoehe'].'"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="movie" value="http://www.frag-tube.com/play.php?vid='.$id.'"/> <param name="quality" value="high" /> <embed src="http://www.frag-tube.com/play.php?vid='.$id.'" swLiveConnect="true" name="gtembed" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'.$this->info['YoutubeBreite'].'" height="'.$this->info['YoutubeHoehe'].'"></embed> </object>';
//> Farf BB Code [VIDEO] dekodiert werden? if($this->permitted['video'] == true) { //> Format: [video=xxx]xxx[/video] $this->pattern[] = "%\[video=(google|youtube|myvideo|fragtube)\](.+)\[\/video\]%eUis"; $this->replace[] = "\$this->_video('\$1','\$2')";
Geschlossen | ||
Zurück zu Installation und Upgrades |