•  
     

Universal video bbcode - phpBB3 - YouTube, Vimeo, Facebook, Dailymotion, Metacafe, etc.

Uso do BBCode:

Código: Selecionar todos

[video]{URL}[/video]


Substituição do HTML:

Código: Selecionar todos

<div class='bbvideo' data-url='{URL}' style='width: 640px; height: 390px; margin: 2px 0; display: inline-block; background: #000; color: #fff; overflow: hidden; vertical-align: bottom;'><div style='height: 100%;'><script>if (typeof bbmedia == 'undefined') { bbmedia = true; var e = document.createElement('script'); e.async = true; e.src = 'http://phpbbex.com/api/bbmedia.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); }</script></div><div style='text-align: right; height: 14px; margin-top: -14px; padding-right: 2px; font: 10px/10px Verdana; color: #555;'><a style='color: #105289; text-decoration: none;' href='http://phpbbex.com/' target='_blank'>phpBB</a> &#91;video&#93;</div></div>


Linha de ajuda:

Código: Selecionar todos

[video]http://youtube.com/url[/video]



•youtube.com (youtu.be)
•vimeo.com
•vk.com (vkontakte.ru)
•facebook.com
•dailymotion.com
•ustream.tv
•twitch.tv
•metacafe.com
•video.google.com
•video.yandex.ru
•myvideo.de
•own3d.tv
•clipfish.de
•veevr.com
•rutube.ru
•video.mail.ru
•smotri.com
•video.qip.ru
•video.bigmir.net
•tvigle.ru
•video.online.ua
•video.sibnet.ru
•yapfiles.ru
•megogo.net
•intv.ru
•lovi.tv
•Etc

Use:

Código: Selecionar todos

[video]http://www.youtube.com/watch?v=cFsaAowGYSk[/video]

Ou

Código: Selecionar todos

[video=640,400]http://vimeo.com/22439234[/video]







https://www.phpbb.com/customise/db/bbcode/video/
http://phpbbex.com/forum/viewtopic.php?t=25&start=120
https://www.phpbb.com/community/viewtop ... &t=2156491