vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - Veoh video Embedding (https://vborg.vbsupport.ru/showthread.php?t=205915)

Vaupell 02-18-2009 10:00 PM

Veoh video Embedding
 
1 Attachment(s)
Embedding videos from www.veoh.com on your website.

Video source and host - Veoh tv

Live Demo : Black adder iv



Installation : Goto Administration Control Panel.

Click "Costum BB codes > Add new code"

Then enter following into colums

Title : Veoh vid
Codename : Veoh
Replacement :
Code:

<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 : '[Veoh]v16399770t74ty4yN[/Veoh]'
Description :
Code:

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 : Attachment 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

Quote:

Originally Posted by RobbieZ (Post 1749107)
Thanks

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

im using vBadvanced 3.1.0
and the navigation is the one named Yet another navigation module
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

Quote:

Originally Posted by jambo_1969 (Post 1749113)
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

Quote:

Originally Posted by Vaupell (Post 1749119)
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

Quote:

Originally Posted by jambo_1969 (Post 1749122)
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)....


All times are GMT. The time now is 12:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01126 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete