As far as vkontakte.ru goes, it uses a weird url format that won't work with this mod. It relies on a hash that isn't in the url and I tried to view the page source and I get redirected to a login screen instead. For this site, it's better to make a standalone bbcode for it instead.011-7-01 - Version1.0.5
- Added youtu.be support
Added smotri.com
Added videos.sapo.pt
Added SoundCloud.com
clipiki.ru
Code: Select all
[vkvideo]<iframe src="http://vkontakte.ru/video_ext.php?oid={SIMPLETEXT1}&id={SIMPLETEXT2}&hash={SIMPLETEXT3}" width="607" height="360" frameborder="0"></iframe>[/vkvideo]
Code: Select all
<iframe src="http://vkontakte.ru/video_ext.php?oid={SIMPLETEXT1}&id={SIMPLETEXT2}&hash={SIMPLETEXT3}" width="607" height="360" frameborder="0"></iframe>
Code: Select all
[vkvideo]Code video[/vkvideo]
Code: Select all
[videomail]http://video.mail.ru/{SIMPLETEXT1}/{SIMPLETEXT2}/{SIMPLETEXT3}/{SIMPLETEXT4}.html[/videomail]
Code: Select all
<object width="626" height="367" type="application/x-shockwave-flash" data="http://img.mail.ru/r/video2/player_v2.swf?par=http://content.video.mail.ru/{SIMPLETEXT1}/{SIMPLETEXT2}/{SIMPLETEXT3}/${SIMPLETEXT4}" ><param name="movie" value="http://img.mail.ru/r/video2/player_v2.swf?par=http://content.video.mail.ru/{SIMPLETEXT1}/{SIMPLETEXT2}/{SIMPLETEXT3}/${SIMPLETEXT4}" /><param name="flashvars" value="imaginehost=video.mail.ru&perlhost=video.mail.ru&alias={SIMPLETEXT1}&username={SIMPLETEXT2}&albumid={SIMPLETEXT3}&id={SIMPLETEXT4}&catalogurl=http://video.mail.ru/themes/music&page=1" /><param name="devicefont" value="false"/><param name="menu" value="false"/><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /></object>
Code: Select all
[videomail]URL[/videomail]
Code: Select all
[yavideo]{URL}[/yavideo]
Code: Select all
<object width="450" height="360"><param name="video" value="{URL}"/><param name="allowFullScreen" value="true"/><param name="scale" value="noscale"/><embed src="{URL}" type="application/x-shockwave-flash" width="450" height="360" allowFullScreen="true" scale="noscale"/></object>
Code: Select all
[yavideo]http://streaming.video.yandex.ru/lite/aslar/kix90tz3tz.1311/[/yavideo]
Code: Select all
//http://vkontakte.ru/video83797237_152078534?hash=b701e54ec40d20bf
array('/vkontakte\.ru\/video([^&]*)_([^&]*)?hash=([^&]*)/i', '<iframe src="http://vkontakte.ru/video_ext.php?oid={ID_VIDEO}&id={ID_VIDEO2}&hash={ID_VIDEO3}" width="540" height="360" frameborder="0"></iframe>'),
//http://vkontakte.ru/video_ext.php?oid=83797237&id=152078534&hash=b701e54ec40d20bf&hd=1
array('/vkontakte\.ru.*oid=([^&]*)&id=([^&]*)&hash=([^&]*)/i', '<iframe src="http://vkontakte.ru/video_ext.php?oid={ID_VIDEO}&id={ID_VIDEO2}&hash={ID_VIDEO3}" width="540" height="360" frameborder="0"></iframe>'),
//http://video.mail.ru/inbox/i_am_agel/_myvideo/3.html?smslast_from_main=1
array('/video\.mail\.ru\/(.*).html/i', '<object id="no" name="no" width=546 height=367><param name="allowScriptAccess" value="always" /><param name="movie" value="http://img.mail.ru/r/video2/player_v2.swf?movieSrc={ID_VIDEO}" /><embed src=http://img.mail.ru/r/video2/player_v2.swf?movieSrc={ID_VIDEO} type="application/x-shockwave-flash" width=546 height=367 allowScriptAccess="always"></embed></object>'),
//http://video.qip.ru/video/view/?id=v1394084f668
array('/video\.qip\.ru.*id=([^&]*)/i', '<object id="no" name="no" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="330"><param name="movie" value="http://pics.video.qip.ru/scrubber_custom8.swf?file={ID_VIDEO}&bufferTime=3&autoStart=false&str_lang=rus&xmlsource=http%3A%2F%2Fpics%2Evideo%2Eqip%2Eru%2Fcskins%2Fqip%2Fskin%5Fcolor%2Exml&xmldatasource=http%3A%2F%2Fpics%2Evideo%2Eqip%2Eru%2Fcskins%2Fqip%2Fskin%5Fng%2Exml" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><embed src="http://pics.video.qip.ru/scrubber_custom8.swf?file={ID_VIDEO}&bufferTime=3&autoStart=false&str_lang=rus&xmlsource=http%3A%2F%2Fpics%2Evideo%2Eqip%2Eru%2Fcskins%2Fqip%2Fskin%5Fcolor%2Exml&xmldatasource=http%3A%2F%2Fpics%2Evideo%2Eqip%2Eru%2Fcskins%2Fqip%2Fskin%5Fng%2Exml" quality="high" allowscriptaccess="always" allowfullscreen="true" wmode="window" width="400" height="330" type="application/x-shockwave-flash"></embed></object>'),
//http://video.google.it/videoplay?docid=-1807566009355608301
array('/video\.google.*docid=([^&]*)/i', '<embed id="VideoPlayback" style="width:400px;height:326px" allowFullScreen="true" flashvars="fs=true" src="http://video.google.com/googleplayer.swf?docid={ID_VIDEO}" type="application/x-shockwave-flash"></embed>'),
//http://video.bigmir.net/show/44676/
array('/video\.bigmir\.net\/.*?\/([^&]*)/i', '<object width="540" height="342"><param name="movie" value="http://video.bigmir.net/extplayer/{ID_VIDEO}/"></param><param name="wmode" value="transparent"></param><param name="allowFullScreen" value="true"></param><param name="flashvars" value=""></param><embed src="http://video.bigmir.net/extplayer/{ID_VIDEO}/" type="application/x-shockwave-flash" wmode="transparent" allowfullscreen="true" width="540" height="342" flashvars=""></embed></object>'),
Oh damn! I didn't see this. Indeed it is there, I was probably using a very old version. Many thanks for this.sevenalive wrote:Released 1.0.5 ...011-7-01 - Version1.0.5
- ... Added SoundCloud.com ...
Code: Select all
<embed src="http://media.mtvnservices.com/mgid:moses:video:gametrailers.com:100564" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="." flashVars=""></embed>
No it didn't, the code was present, but it didn't work. I removed all invalid codes and added back what did work. It's not going to be possible to add those Russian sites sorry, just use a separate bbcode for them.Olegus wrote:For version [RC] Video BBCode 1.0.3 it's (vkontakte.ru) work!
Thank you so much, I really love this MOD: it makes our users happy!sevenalive wrote:Redownload it, I added gametrailers.
Code: Select all
missing ) after argument list
Code: Select all
missing ) after argument list