aminp30
07-21-2014, 11:37 PM
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:
<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:
[ video;aparat;02E3y ]www.aparat.com/v/02E3y[ /video ]
the video shows correctly but video tag can not detect provider and specific link automatically.
would you please help me to add aparat to video tag? :(
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:
<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:
[ video;aparat;02E3y ]www.aparat.com/v/02E3y[ /video ]
the video shows correctly but video tag can not detect provider and specific link automatically.
would you please help me to add aparat to video tag? :(