The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Evaluating video source
Howdy all,
Recently we've decided to transition from Flash to HTML5 in terms of how videos are embedded on our site. BirdOPrey5's solution (https://vborg.vbsupport.ru/showthread.php?t=283594) helped a lot. I ran into an issue of trying to embed a youtube.be URL and of course it fails. What I'd like to do is code in a conditional check to evaluate whether it's from Youtube (which it does "provider='youtube') and then build the appropriate URL. I'm just not very clear on the syntax I should use, etc. Also, where is "$provider" set? Is it parsing the URL and finding the string between *. and .* ? is it possible to change how "$provider" is populated? Any help would be awesome! Cheers! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|