The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
edit on video tag
hi every body.
I use a site for uploading videos but video tag does not support that website. I use www.aparat.com for video uploading. changes that I carried out: 1- in bbcode_video table in phpmyadmin I add these datas: tagoption aparat provider Aparat url http://www.aparat.com/ regex_url http:\/\/www\.aparat\.com\/v\/([a-zA-Z0-9-_]+)/g regex_scrape embed <iframe class="restrain" title="Aparat video player" width="640" height="390" src="//www.aparat.com/video/video/embed/videohash/{vb:raw code}?wmode={vb:raw wmode}/vt/frame" frameborder="0" allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe> 2- in bbcode_video style I added these codes: Code:
<vb:elseif condition="$provider == 'aparat'" /> <iframe class="restrain" title="Aparat video player" width="640" height="390" src="//www.aparat.com/video/video/embed/videohash/{vb:raw code}/vt/frame" frameborder="0" allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe> if I add provider and specific link manually as like as: Code:
[ video;aparat;02E3y ]www.aparat.com/v/02E3y[ /video ] would you please help me to add aparat to video tag? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|