... 29 30 31 32 33 34 35 ... 38 39 40 41 42 43 44 |
... 29 30 31 32 33 34 35 36 ... 39 40 41 42 43 44 45 46 |
0 @@ -29,7 +29,8 @@ module BBCodeizer 0 :comedycentral => [ /\[comedycentral\](.+?)comedycentral.com\/motherload\/index.jhtml\?ml_video=(.+?)\[\/comedycentral\]/i, '<embed FlashVars="config=http://www.comedycentral.com/motherload/xml/data_synd.jhtml?vid=\2%26myspace=false" src="http://www.comedycentral.com/motherload/syndicated_player/index.jhtml" quality="high" bgcolor="#006699" width="340" height="325" name="comedy_player" align="middle" allowScriptAccess="always" allownetworking="external" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>' ], 0 :revver => [ /\[revver\](.+?)revver.com\/watch\/(.+?)\[\/revver\]/i, '<embed type="application/x-shockwave-flash" src="http://flash.revver.com/player/1.0/player.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noScale" salign="TL" bgcolor="#000000" flashvars="mediaId=\2&affiliateId=0&allowFullScreen=true" allowfullscreen="true" height="392" width="480"></embed>' ], 0 :myspacetv => [ /\[myspacetv\](.+?)myspace(.+?)videoid=(.+?)\[\/myspacetv\]/i, '<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\3&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>' ], 0 - :collegehumor => [ /\[collegehumor\](.+?)collegehumor.com\/video:(.+?)\[\/collegehumor\]/i, '<embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=\2" quality="best" width="400" height="300" type="application/x-shockwave-flash"></embed>' ] 0 + :collegehumor => [ /\[collegehumor\](.+?)collegehumor.com\/video:(.+?)\[\/collegehumor\]/i, '<embed src="http://www.collegehumor.com/moogaloop/moogaloop.swf?clip_id=\2" quality="best" width="400" height="300" type="application/x-shockwave-flash"></embed>' ], 0 + :metacafe => [ /\[metacafe\](.+?)metacafe.com\/watch\/(.+?)\/(.+?)\/\[\/metacafe\]/i, '<embed src="http://www.metacafe.com/fplayer/\2/\3.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>' ] 0 # removed quotes from cites, added youtube, googlevid, spoiler, mp3, funnyordie, superdeluxe, comedycentral 0 @@ -38,7 +39,8 @@ module BBCodeizer 0 TagList = [ :bold, :italic, :underline, :email_with_name, :email_sans_name, 0 :url_with_title, :url_sans_title, :image, :size, :color, 0 :code, :quote, :youtube, :googlevid, :flash, :spoiler, :nsfw, :mp3, 0 - :superdeluxe, :comedycentral, :revver, :myspacetv, :collegehumor ] 0 + :superdeluxe, :comedycentral, :revver, :myspacetv, :collegehumor, 0 # Parses all bbcode in +text+ and returns a new HTML-formatted string.
|
Comments
No one has commented yet.