The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    html in forum posts

    avatar
    DJ_Sweety
    New Member


    Male Posts : 15
    Reputation : 1
    Language : English

    Solved html in forum posts

    Post by DJ_Sweety October 8th 2013, 3:33 pm

    ok so i used to be able to type this into a post or a sig to embed a youtube video to my forum posts etc

    <iframe width="420" height="315" src="<URL>" frameborder="0" allowfullscreen></iframe>

    but now it just show's this
     
    http://gyazo.com/5f0f5018bc1cd61dd327f1e5ce16e574

    is there anything i need to enable to get it to work?

    also

    http://gyazo.com/9d1b6c820e4a206d0d2a7f52c7ed145e

    Html is allowed
    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved Re: html in forum posts

    Post by mist3r0us_b0y October 8th 2013, 3:44 pm

    i think your html code is not complete yet  please post complete code in here 

    thanks
    avatar
    DJ_Sweety
    New Member


    Male Posts : 15
    Reputation : 1
    Language : English

    Solved Re: html in forum posts

    Post by DJ_Sweety October 8th 2013, 3:48 pm

    mist3r0us_b0y wrote:i think your html code is not complete yet  please post complete code in here 

    thanks
    Copied straight from Youtubes embeder just removed the url from here
    mist3r0us_b0y
    mist3r0us_b0y
    Forumember


    Male Posts : 747
    Reputation : 19
    Language : english

    Solved Re: html in forum posts

    Post by mist3r0us_b0y October 8th 2013, 4:01 pm

    html in forum posts Youtub10

    click on youtube icon and insert embeded code in it 

    it will work i just tried
    avatar
    DJ_Sweety
    New Member


    Male Posts : 15
    Reputation : 1
    Language : English

    Solved Re: html in forum posts

    Post by DJ_Sweety October 8th 2013, 10:41 pm

    mist3r0us_b0y wrote:html in forum posts Youtub10

    click on youtube icon and insert embeded code in it 

    it will work i just tried
     
    Yes but it doesnt count towards stats or you cant make it auto play with the ?autoplay=1 on the end of the url
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Solved Re: html in forum posts

    Post by runawayhorses October 8th 2013, 11:32 pm

    Post the entire embed code and I'll show you how to make it work.

    Edit: This is a typical youtube embed code, they leave out the http: after the src=" now for technical reasons. They used to add it but not anymore. So you have to add it manually.

    just add http: in front of the src="

    This is the code youtube gives you, and notice the http: is missing.
    Code:
    <iframe width="640" height="480" src="//www.youtube.com/embed/_2AzjO_eE38" frameborder="0" allowfullscreen></iframe>

    So add the http: in front of the src" so the entire code looks like this:
    Code:
    <iframe width="640" height="480" src="http://www.youtube.com/embed/_2AzjO_eE38" frameborder="0" allowfullscreen></iframe>

    Here is how you do the code with autoplay, you add ?autoplay=1 (with the question mark) after the url like this, remembering to add the http: in front of the src":
    Code:
    <iframe width="640" height="480" src="http://www.youtube.com/embed/_2AzjO_eE38?autoplay=1" frameborder="0" allowfullscreen></iframe>
    avatar
    DJ_Sweety
    New Member


    Male Posts : 15
    Reputation : 1
    Language : English

    Solved Re: html in forum posts

    Post by DJ_Sweety October 10th 2013, 3:52 pm

    Ah yes thank you very much Smile 

    /solved

      Current date/time is November 11th 2024, 8:27 pm