phpBB [video]: universal video bbcode (without code changes)

Board index phpBBex in English General

Description: General discussion about phpBBex
Moderator: Поддержка

Post #1by VEG » 11.05.2012, 17:12

BBCode: phpBB [audio] | phpBB [video] | phpBB [media]

We are glad to present you a new universal BBCode "phpBB [video]" which is compatible with both phpBB and phpBBex. To install you do not need to edit any files, it can be added through the admin panel.

Usage example

The user copies the URL of the page of the video and inserts it between the [video][/video]:
Code: Select all
[video]http://vimeo.com/40558553[/video]
or (with size specified):
Code: Select all
[video=640,360]http://vimeo.com/40558553[/video]

It is displayed as follows:
phpBB [video]


Supported video services

Currently the following video services are supported:
  • youtube.com (youtu.be) - playlists are also supported
  • vimeo.com
  • vk.com (vkontakte.ru) — the URL from the embed code is required
  • facebook.com
  • dailymotion.com
  • ustream.tv — streams and recorded videos
  • ted.com
  • vine.co
  • coub.com
  • twitch.tv — streams and recorded videos
  • metacafe.com
  • video.yandex.ru — the URL from the embed code is required
  • myvideo.de
  • own3d.tv
  • ign.com
  • clipfish.de
  • veevr.com
  • pinkbike.com
  • mpora.com
  • rutube.ru — it is recommended to use the URL from the embed code
  • video.mail.ru
  • smotri.com
  • video.qip.ru
  • video.bigmir.net
  • tvigle.ru — the URL from the embed code is required
  • video.online.ua
  • video.sibnet.ru
  • yapfiles.ru
  • megogo.net
  • intv.ru
  • lovi.tv
  • WebM, OGV and MP4 files via HTML5 <video> tag

URLs do not need to be cleaned from the garbage arguments as our [video] will work it out. You can use both the URL of the video page and the URL of the embed code (unless other instructions are given).

It is convenient that our bbcode is updated and new services are supported automatically. If our BBCode doesn't support the needed video service, we will be happy to add it. In this topic, please provide the URL of the page of the video with the video service you're interested in and the embed code. It will help us to add support of the service. If the new video service is demanded we will soon add the support to our video bbcode.

Automatic installation of [video] and [video=]

1. Download install_bbvideo.zip (2kb)
2. Extract it to your phpbb directory
3. Run http://yourphpbb/install_bbvideo.php
4. Remove install_bbvideo.php from your phpbb directory

Manual installation of [video] (with fixed size)

1. Admin panel, tab "Posting", page "BBCodes", add BBCode (if you already have a [video] then delete it).
2. In the field "BBCode usage" enter:
Code: Select all
[video]{URL}[/video]
3. In the field "HTML replacement" enter (you can only change the width and height of the layer!):
Code: Select all
<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>
4. In the field "Help line" enter:
Code: Select all
Insert video: [video]http://youtube.com/url[/video]
5. Set the checkbox "Display on posting" and save the form. Done!

Manual installation of [video=width,height] (in addition to the previous)

1. Admin panel, tab "Posting", page "BBCodes", add BBCode (if you already have a [video=] then delete it).
2. In the field "BBCode usage" enter:
Code: Select all
[video={NUMBER1},{NUMBER2}]{URL}[/video]
3. In the field "HTML replacement" enter (no change!):
Code: Select all
<div class='bbvideo' data-url='{URL}' style='width: {NUMBER1}px; height: {NUMBER2}px; 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>
4. In the field "Help line" enter:
Code: Select all
Insert video: [video=width,height]http://youtube.com/url[/video]
5. Save the form. Done!

Links

phpBB [video] topic on phpbb.com
Russian language support on phpbbex.com
С наилучшими пожеланиями, Евгений
VEG M
Topic author, Администратор
Avatar
Age: 29
Location: Минск, Беларусь
Reputation: 1607
With us: 4 yaers 9 months


http://www.freeintertv

Post #41by the Code » 24.02.2014, 10:09

Sorry for not Add that in the post for you.

<iframe scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:640px; height:360px;" src="http://veetle.com/index.php/widget/index/6A01DC880C02167FB90BB384D4308DDD/0/true/default/false"></iframe>
the Code
Гость

Post #42by whiplash » 19.06.2014, 05:15

could you add support for dropbox videos?

here is am example:

https://www.dropbox.com/s/b4qsb9f9lngy9fr/VR Mustang.mp4
whiplash
Гость

Post #43by mohawk411 » 30.08.2014, 19:02

I now have a responsive PHPBB theme. Is there a way to get the videos to scale down for mobile users?
mohawk411
Гость

Post #44by VEG » 31.08.2014, 10:59

mohawk411, you can set height and width of video in percents.
С наилучшими пожеланиями, Евгений
VEG M
Topic author, Администратор
Avatar
Age: 29
Location: Минск, Беларусь
Reputation: 1607
With us: 4 yaers 9 months

Post #45by juangonzalez » 05.11.2014, 14:11

[quote="the Code"]Sorry for not Add that in the post for you.

<iframe scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:640px; height:360px;" src="http://veetle.com/index.php/widget/index/6A01DC880C02167FB90BB384D4308DDD/0/true/default/false"></iframe>[/quote]
Mohawk411
juangonzalez
Гость

Post #46by afornoas » 12.12.2014, 23:47

Hello!

I have this version of plugin installed on my site. I am trying to add support for PornHub.com and Eroticvideosex.com videos. Can you help me - how I can add it to code? Just replace youtube.com with pornhub.com or eroticvideosex.com everywhere in plugin code?

Thanks,
Afor
afornoas
Новичок
Reputation: 0
With us: 2 yaers 1 month

Post #47by okkess » 03.02.2015, 12:49

[video=youtube;6xCZIUnwY88]http://www.youtube.com/watch?v=6xCZIUnwY88[/video]

How to custom code ???
okkess
Гость

Post #48by Proxus » 03.02.2015, 19:02

Now that imgur is doing video -> gif would it be possible to get support for imgur.com + gifv ?

Example link: http://i.imgur.com/v0y5h39.gifv

Thanks,
Prox
Proxus
Гость

Post #49by ЖЪРЧИК » 03.02.2015, 19:17

Proxus, now work inter [media] /viewtopic.php?t=36
html5 player
phpBB [media]

Code: Select all
[media]http://i.imgur.com/v0y5h39.webm[/media]

.webm and .mpg
плешивый кот
ЖЪРЧИК
Гуру
Avatar
Reputation: 174
With us: 2 yaers 5 months

Post #50by ЖЪРЧИК » 04.02.2015, 16:45

Test, у меня в копипасте страниц заготовка просто под штлм :biggrin:
плешивый кот
ЖЪРЧИК
Гуру
Avatar
Reputation: 174
With us: 2 yaers 5 months

Post #51by wallart » 27.08.2015, 11:20

Hello VEG.

Can you please add : http://veetle.com/index.php/channel/view/4cae6de01903d#54593a2d61985
I have ask for that long time ago here,So please if that can be done I will be grateful.

Thank you in Advance.
wallart.
wallart
Гость

Post #52by Melarn » 28.09.2015, 10:08

heya, is there any chance there could be support for www.xboxclips.com please :)

Thanks :)
Melarn
Гость


Post #54by sina92 » 14.01.2016, 20:13

I can't figure out how to embed an .mp4 attachment into my post on my phpbb forum.

I've followed this great guide guide: /viewtopic.php?t=29, but unfortunately it doesn't apply to attached .mp4 files it seems.

[media]http: //blablabla[/media] works for videos on the internet, but what should I write if I want to embed an attached video?

[.attachment=0]xxxx.mp4[/attachment] gives me a plug in error.

Anyone has any idea?

Best regards
sina92
Новичок
Reputation: 0
With us: 1 year

Post #55by Svetlana2000 » 13.02.2016, 12:47

very nice video code, thx!

Sometimes it takes several minutes to load the player :(
because my ads takes some minutes to load and the videos will not load until the ads are finishing the process .
Any ideas?
Svetlana2000
Гость

Post #56by Sumanai » 13.02.2016, 13:25

Do not use ads that is loaded for a long time.
Использование поиска продлевает жизнь.
Это форум поддержки форка phpBBex. Поддержка по phpBB осуществляется в других местах.
Sumanai M
Гуру
Avatar
Reputation: 1493
With us: 3 yaers 11 months

Post #57by Svetlana2000 » 13.02.2016, 15:21

i need a better solution
Svetlana2000
Гость

Post #58by Sumanai » 13.02.2016, 19:26

This is the best solution.
Script phpBB [video] is started after the execution of the other scripts on the page.

You can try searching the asynchronous version of the script for your ad, and make it to the end of the page.
Использование поиска продлевает жизнь.
Это форум поддержки форка phpBBex. Поддержка по phpBB осуществляется в других местах.
Sumanai M
Гуру
Avatar
Reputation: 1493
With us: 3 yaers 11 months

Post #59by Svetlana2000 » 13.02.2016, 23:41

asynchronous. thats it, thx
Svetlana2000
Гость

Post #60by krazor » 22.02.2016, 18:29

Hello any chance you can add this site to the list please, love the work here =)

https://channel9.msdn.com/
krazor
Гость

PreviousNext

Forum name: General
Description: General discussion about phpBBex

Quick reply


Enter the code exactly as it appears. All letters are case insensitive.
Confirmation code
:hi: :smile: :wink: :twisted: :sad: :evil: :smoke: :eh: :eek: :fie: :silenced: :razz: :oops: :help: :spy: :insane: :biggrin: :toothless: :ill: :nervious: :weirdface: :pray: :clap: :think: :boxing: :cyclop: :rambo: :zombie: :cry: View more smilies

   

Return to General



cron