PDA

View Full Version : BB Code Enhancements - Veoh video Embedding


Vaupell
02-18-2009, 10:00 PM
Embedding videos from www.veoh.com (http://www.veoh.com/) on your website.

Video source and host - Veoh tv (http://www.veoh.com/)

Live Demo : Black adder iv (http://www.evisystems.org/forums/showthread.php?p=335)



Installation : Goto Administration Control Panel.

Click "Costum BB codes > Add new code"

Then enter following into colums

Title : Veoh vid
Codename : Veoh
Replacement : <object width="410" height="341" id="veohFlashPlayer" name="veohFlashPlayer"><param name="movie" value="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.3.8.1003&permalinkId={param}"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.3.8.1003&permalinkId={param}" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="410" height="341" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed"></embed></object>
Example : 'v16399770t74ty4yN'
Description : Embed veoh videos in your posts, only use the video ID,
ID it optained in the url right after /watch/ and before #watch
Use : no
Buttonimg : Link to attachment (used to easy acces in posts)
rest : no or as suited.

Added img for those who want a botton : 95188

You might want ot remove the links at the botton of the code,
but left them there for copyright issues from VeohTm

Enjoy

Vaupell
02-19-2009, 03:09 PM
reserved for future use, perhaps.
couldnt imagine what. :D

RobbieZ
02-19-2009, 03:35 PM
Thanks

What did you use to create your side bar (navigation) / (polls) etc, on your website ?

Vaupell
02-19-2009, 03:40 PM
Thanks

What did you use to create your side bar (navigation) / (polls) etc, on your website ?

im using vBadvanced 3.1.0 (http://www.vbadvanced.com/)
and the navigation is the one named Yet another navigation module (http://www.vbadvanced.com/forum/showthread.php?t=16631)
Except i changed it a little, so depending on which usergroup
they have different items in the menu..

jambo_1969
02-19-2009, 03:42 PM
Are you not leaving yourself open to copyright infringement by posting full length videos on your site ?

Or, is it into the grey area we had with You Tube ?

Cracking wee code tho...

Vaupell
02-19-2009, 03:45 PM
Are you not leaving yourself open to copyright infringement by posting full length videos on your site ?

Or, is it into the grey area we had with You Tube ?

Cracking wee code tho...

Not posting anything.
just linking, excaktly like youtube :p

Howewer this is a BBC program, and ive seen they sometimes claim
their rrights on Veoh, so if they claim they dont want it shared they
will remove it from veoh, thos also removing it from all sites linking their
videos..

My "gues" is its a gray area, just like google videos, which also allow
full length movies hostet..

jambo_1969
02-19-2009, 03:47 PM
Not posting anything.
just linking, excaktly like youtube :p

Howewer this is a BBC program, and ive seen they sometimes claim
their rrights on Veoh, so if they claim they dont want it shared they
will remove it from veoh, thos also removing it from all sites linking their
videos..

My "gues" is its a gray area, just like google videos, which also allow
full length movies hostet..

Cool - I think I'm going to "explore" this some more...I have a members only premium area, so I need to work out how I can limit the bbcode to premium usergroups only...any idea ?

Vaupell
02-19-2009, 03:51 PM
Cool - I think I'm going to "explore" this some more...I have a members only premium area, so I need to work out how I can limit the bbcode to premium usergroups only...any idea ?

hmm perhaps include

<if condition="is_member_of($bbuserinfo, 2)">

</if>

Around the replacement code.. NOT SURE IT WILL WORK..
but its worth a try.. replace the number 2 with the group with acces
if several groups just add like this 2, 5, 7, etc..

If it works great, if it dosent. ahm.. well yeah.. :p

jambo_1969
02-19-2009, 03:57 PM
:D cheers - I was right in the middle of if'ing the code :)

Mind you all I'm getting is a white box in place of the video ....

jambo_1969
02-19-2009, 04:03 PM
Is your replacement code right mate ? It's got the Blackadder link in it...

Also, the first replacement (no links) the url has posted funny (not the full link)....

Vaupell
02-19-2009, 04:03 PM
:D cheers - I was right in the middle of if'ing the code :)

Mind you all I'm getting is a white box in place of the video ....

dont use the IF, then.. :p

95189

ive attempted to mark how you identify a video ID

jambo_1969
02-19-2009, 04:10 PM
dont use the IF, then.. :p

95189

ive attempted to mark how you identify a video ID

No - I meant the replacement code in the first code box - it's shortened the URLS to veoh...

<object width="410" height="341" id="veohFlashPlayer" name="veohFlashPlayer"><param name="movie" value="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.3.8.1003&amp;permali nkId=v16399770t74ty4yN&amp;player=videodetailsembedded &amp;videoAutoPlay=0&amp;id=anonymous%22%3E%3C/param%3E%3Cparam</param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.3.8.1003&amp;permali nkId=v16399770t74ty4yN&amp;player=videodetailsembedded &amp;videoAutoPlay=0&amp;id=anonymous" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="410" height="341" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed"></embed></object>

That's what it should say :D

Vaupell
02-19-2009, 04:37 PM
No - I meant the replacement code in the first code box - it's shortened the URLS to veoh...

That's what it should say :D

lol ups, fixed.

Lucifer1337
02-25-2009, 01:13 AM
Thanks. My one issue with this is that unlike Youtube and Google embeds, the Veoh player seems to start whenever the page loads. If you have a page where there's multiple videos or the video is not in line with the main point of discussion, this can be problematic. I examined the code but couldn't find what was making it start the embedded video without clicking play. Is there a way to force a user to play it before it plays?

Can't use it until this gets resolved, because users are complaining about the fact their speakers are essentially hijacked any time they load a page with a video embedded in one of the posts.

Vaupell
02-25-2009, 06:00 AM
Thanks. My one issue with this is that unlike Youtube and Google embeds, the Veoh player seems to start whenever the page loads. If you have a page where there's multiple videos or the video is not in line with the main point of discussion, this can be problematic. I examined the code but couldn't find what was making it start the embedded video without clicking play. Is there a way to force a user to play it before it plays?

Can't use it until this gets resolved, because users are complaining about the fact their speakers are essentially hijacked any time they load a page with a video embedded in one of the posts.

Well im using hide / show code around it, so whenever a veoh video is postet
te post shows a [show] botton.
And dont think this will change anytime soon, it is becourse of the player
loaded to play the files, you could change the address of the player but
not sure videos play then..

jambo_1969
02-25-2009, 01:59 PM
When I use it tags - I always need to press a play button on the video ?:

vbob
06-20-2009, 06:07 PM
Thanks for the mod.
Installed.
I want to copy paste the full url of the link (it is quicker).
What changes should I do to the code to achieve this? :-)

Mr.Joker
06-21-2009, 06:59 AM
tenX

Vaupell
11-14-2009, 10:26 AM
works on VB4 aswell, :D