Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

BBcode Question: YouTube

Options
  • 22-07-2008 11:46am
    #1
    Registered Users 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 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 Posts: 21,239 ✭✭✭✭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 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 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 Posts: 21,239 ✭✭✭✭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 Posts: 17,247 ✭✭✭✭6th


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


Advertisement