Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

BBcode Question: YouTube

  • 22-07-2008 11:46AM
    #1
    Registered Users, Registered Users 2 Posts: 17,247 ✭✭✭✭


    Ok first off let me say I know nothing about code!

    Ok so I was putting youtube tags on a forum and I thought I had set up the code properly .... seems I didnt. Attached is a screen of the code and the problem is that no matter what ID (e.g. eBGIQ7ZuuiU ) I put in I get the vid I used when setting up the code!

    Ideas?

    BBcode.jpg

    Cheers

    6th


Comments

  • Registered Users, Registered Users 2 Posts: 1,512 ✭✭✭stevire


    change your youtube links. Your linking to a video in the html...

    you want to put the video id in the link so put :
    http://www.youtube.com/v/

    instead of:
    http://www.youtube.com/v/eBGIQ7ZuuiU&hl=en

    leave everything blank after the "v/" the bbcode will add

    http://www.youtube.com/v/+"bbcode youtube number" = http://www.youtube.com/v/eBGIQ7ZuuiU


  • Registered Users, Registered Users 2 Posts: 21,278 ✭✭✭✭Eoin


    I don't know much about BB codes, but you don't seem to be using the value that's being sent in by the user. Is there a param tag (not for shockwave/flash, but for BB codes) that you are supposed to populate?

    for example:

    <param name="movie" value="http://www.youtube.com/v/{param}"></param>


  • Registered Users, Registered Users 2 Posts: 1,512 ✭✭✭stevire


    eoin_s wrote: »
    I don't know much about BB codes, but you don't seem to be using the value that's being sent in by the user. Is there a param tag (not for shockwave/flash, but for BB codes) that you are supposed to populate?

    for example:

    <param name="movie" value="http://www.youtube.com/v/{param}"></param>

    Yeah you're right... put: value="http://www.youtube.com/v/{param}" in the param and embed tags and you should be set to go!


  • Registered Users, Registered Users 2 Posts: 17,247 ✭✭✭✭6th


    Cheers lads for that.

    Now anyone want to help me with this one?

    <embed src="http://www.disclose.tv/embedPlayer.php?vid=db8419f41d890df802dca330e&quot; FlashVars="config=http://www.disclose.tv/videoConfigXmlCode.php?pg=video_4933_no_0_extsite&quot; quality="high" bgcolor="#000000" width="425" height="355" name="flvplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer&quot; allowFullScreen="true" /><br><a href="http://www.disclose.tv/action/viewvideo/4933/">PIGs: The Croppy Boy Cell</a>

    *Edit: Actually I figured it out. Thanks again lads.


  • Registered Users, Registered Users 2 Posts: 21,278 ✭✭✭✭Eoin


    You'd think it should be the first part (vid=db8419f41d890df802dca330e), but the defining parameter appears to be videoConfigXmlCode.php?pg=video_4933_no_0_extsite



    [disclosetv]video_4933_no_0_extsite[/disclosetv]
    <embed src="http://www.disclose.tv/embedPlayer.php?vid=db8419f41d890df802dca330e" FlashVars="config=http://www.disclose.tv/videoConfigXmlCode.php?pg=[B]{param}[/B]" quality="high" bgcolor="#000000" width="425" height="355" name="flvplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowFullScreen="true" /><br><a href="http://www.disclose.tv/action/viewvideo/4933/">PIGs: The Croppy Boy Cell</a>
    


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 17,247 ✭✭✭✭6th


    Actually I just changed the 4933 bit, took me a while to figure it out!


Advertisement