1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 Youtube Card ID

Discussion in 'XenForo Questions and Support' started by zmalone, Apr 3, 2012.

  1. zmalone

    zmalone Member

    Hello,

    I try to create a bbcode to add the membership card user Youtube.

    Exemple of the bbcode :

    HTML:
    <iframe id="fr" src="http://www.youtube.com/subscribe_widget?p={param}" style="overflow: hidden; height: 98px; width: 290px; border: 0;" scrolling="no" frameBorder="1" alt="PvHax"></iframe><br />


    Help me please !!!
     
  2. zmalone

    zmalone Member

  3. zmalone

    zmalone Member

    thank you for answering me
     
  4. zmalone

    zmalone Member

    Up!!!
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Is this a custom media site you are trying to create? Can you provide some example URLs of the media you want to embed?
     
  6. zmalone

    zmalone Member


    Here is my exemple .



    but has not set up that does not work
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What is the URL of the membership card you are trying to embed?
     
  8. zmalone

    zmalone Member

    Membercard is : GamesHackFr

    but is it possible to create a bbcode directly ?
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  10. zmalone

    zmalone Member

    I want to integrate this page in a Box :



    as this example

    the only info I have found to integrate are here :

    <iframe id="fr" src="http://www.youtube.com/subscribe_widget?p={param}" style="overflow: hidden; height: 98px; width: 290px; border: 0;" scrolling="no" frameBorder="1" alt="PvHax"></iframe><br />



    [ytid]ORIGINALGAV[/ytid]
     
  11. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  12. zmalone

    zmalone Member

  13. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Home -> BB Code Media Sites -> Add BB Code Media Site

    Media Site ID: ytid

    Site Title: YouTube Subscribe

    Site URL: http://www.youtube.com/

    Match URLs:

    http://www.youtube.com/subscribe_widget?p={$id}
    http://www.youtube.com/user/{$id}

    Embed HTML:

    Code:
    <iframe id="fr" src="http://www.youtube.com/subscribe_widget?p={$id}" style="overflow: hidden; height: 98px; width: 290px; border: 0;" scrolling="no" frameBorder="1" alt="PvHax"></iframe><br />
    
    URLs tested:
    http://www.youtube.com/user/GeneralGrin?feature=g-all-u
    http://www.youtube.com/user/GamesHackFr
    http://www.youtube.com/subscribe_widget?p=GamesHackFr

    If you are manually typing the code into your post then use this:

    Code:
    [media=ytid]GamesHackFr[/media]
    
     
  14. zmalone

    zmalone Member

    Ho thank you

    thank you for your help

    it works great
     

Share This Page