Page 1 of 3 123 LastLast
Results 1 to 20 of 50

Thread: youtube random videos ?

  1. #1
    Join Date
    Nov 2006
    Posts
    3

    Question youtube random videos ?

    hi, i'm searching a module with a random video of a youtube category, exists any similar ?

    sorry for my english

  2. #2
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    99

    Default Re: youtube random videos ?

    I made my own here.

  3. #3
    Join Date
    Nov 2006
    Posts
    3

    Default Re: youtube random videos ?

    can you put your code ?

  4. #4
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    99

    Default Re: youtube random videos ?

    To Install:
    1. Go To Admin CP
    2. Scroll down the left nav and select Custom BB Codes
    3. Add New BB Code
    4. Fill in the following:

    Title: YouTube BB Code
    Tag: yt
    Replacement:
    PHP Code:
    <object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object
    Example: [yt]ejOJkcs-a7s[/yt]
    Description: Embeds You Tube Videos
    Use {Option}: No

    Now, when you go to youtube and grab a video's code, only grab the url and enter only what's after the = sign. If you realize, all I did was start a new module in cmps and placed my code in there. Hope this helps!

  5. #5
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default Re: youtube random videos ?

    chkdg8,

    I think the OP was looking for a random video though so that everytime the person went to the page it'd be a different video.

  6. #6
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    99

    Default Re: youtube random videos ?

    That'll be pretty awesome if anyone figured that out.

  7. #7
    Join Date
    Feb 2004
    Location
    Bastrop, TX
    Posts
    21

    Default Re: youtube random videos ?

    Thanks for the code and info. I just added some video to my home page.

  8. #8
    Join Date
    Dec 2006
    Posts
    12

    Default Re: youtube random videos ?

    where to add this tag ? no field called tag ?

    Tag: yt

    Example: [yt]ejOJkcs-a7s[/yt]
    Description: Embeds You Tube Videos
    Use {Option}: No

  9. #9
    Join Date
    Jan 2007
    Posts
    15

    Default Re: youtube random videos ?

    I'm new to vb and vbandanced and totally lost!!!

    How do I get these to show on my vbadvanced mainpage???

  10. #10
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default Re: youtube random videos ?

    Quote Originally Posted by shadey View Post
    I'm new to vb and vbandanced and totally lost!!!

    How do I get these to show on my vbadvanced mainpage???
    There are a few things in order...

    1) Assuming that you have vBulletin installed and ...

    2) assuming that you have vBadvanced installed and ...

    3) assuming that you created a new vBulletin BB Code as listed above then...

    4) it would just be a matter of a creating a new "BB Code Module" in CMPS.

    Which step of the above are you at?

  11. #11
    Join Date
    Jan 2007
    Posts
    15

    Default Re: youtube random videos ?

    Hi.
    I would be at step 4.

  12. #12
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,466

    Default Re: youtube random videos ?

    Admin CP => vBa CMPS => Add Module => BB Code Module

    Just go there and fill in the blanks.

  13. #13
    Join Date
    Mar 2006
    Posts
    20

    Default Re: youtube random videos ?

    I've made it a little past step 4 however its not working properly for me.

    Here is what I'm getting..

    I create a bbcode module within the admincp of cmps and I get the error as shown in the error2.jpg photo.

    What I am doing is adding the embed code from youtube to add within the BBcode Module Options screen and I get the code rather than the media player.

    I'm sure its something minor that I'm overlooking. Could you guys point out what I'm doing wrong?

    Thanks in advance.

  14. #14
    Join Date
    Mar 2004
    Location
    A galaxy far, far away...
    Posts
    6,609

    Default Re: youtube random videos ?

    Quote Originally Posted by Champster View Post
    I've made it a little past step 4 however its not working properly for me.

    Here is what I'm getting..

    I create a bbcode module within the admincp of cmps and I get the error as shown in the error2.jpg photo.

    What I am doing is adding the embed code from youtube to add within the BBcode Module Options screen and I get the code rather than the media player.

    I'm sure its something minor that I'm overlooking. Could you guys point out what I'm doing wrong?

    Thanks in advance.
    Assuming that you did step #4 with the same name then the BB code module would be [yt]{video ID}[/yt] and not the raw HTML.

  15. #15
    Join Date
    Mar 2006
    Posts
    20

    Default Re: youtube random videos ?

    KW .....you are the mann!

    Forgive me for being slow. I finally got it work..

    Have a great weekend.

  16. #16
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    99

    Default Re: youtube random videos ?

    Quote Originally Posted by Champster View Post
    KW .....you are the mann!

    Forgive me for being slow. I finally got it work..

    Have a great weekend.
    So do you have it working then?



    Quote Originally Posted by KW802 View Post
    Assuming that you did step #4 with the same name then the BB code module would be [yt]{video ID}[/yt] and not the raw HTML.
    You know, since I'm the only one that is allowed to post the youtube videos up on my site, I just go ahead with the raw html code and I don't use this mod anymore. An added benefit to using the html code is that you can also resize the videos to your liking. It was the only way I could accomplish this or else the videos would completely distort the look of my site.

  17. #17
    Join Date
    Jan 2007
    Location
    Virginia Beach
    Posts
    39

    Default Re: youtube random videos ?

    This link will give you an idea how to do it. I just tried it using a regular html page on my site and it worked showing a random video:
    http://categories.blogspot.com/2006/...dom-video.html

  18. #18
    Join Date
    Jan 2007
    Location
    Virginia Beach
    Posts
    39

    Default Re: youtube random videos ?

    Maybe not...I didn't look at it that good.. I just copied/pasted/ran...ACK!
    Sorry

  19. #19
    Join Date
    Mar 2006
    Posts
    20

    Default Re: youtube random videos ?

    Quote Originally Posted by chkdg8 View Post
    So do you have it working then?




    You know, since I'm the only one that is allowed to post the youtube videos up on my site, I just go ahead with the raw html code and I don't use this mod anymore. An added benefit to using the html code is that you can also resize the videos to your liking. It was the only way I could accomplish this or else the videos would completely distort the look of my site.

    Yes I do. Thanks.

  20. #20
    Join Date
    Aug 2005
    Posts
    2

    Default Re: youtube random videos ?

    Quote Originally Posted by Tom_S View Post
    This link will give you an idea how to do it. I just tried it using a regular html page on my site and it worked showing a random video:
    http://categories.blogspot.com/2006/...dom-video.html
    can you post the code for youtube random videos ???

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Any YouTube Hack?
    By Oddmaker in forum Module & Modification Discussion & Requests
    Replies: 9
    Last Post: 10-18-2007, 07:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •