YouTube New Embedde code trouble

Last post 05-23-2011, 8:40 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  05-23-2011, 3:50 AM 67657

    YouTube New Embedde code trouble

    Hi,
     
    I have a problem with youtube.
    the syntax of the new youtube ebedded code is a little different then before and now when I try to insert de code using the youtube button, nothing happend.
    When I try to add the youtube in this example,  it also doesn't work:
    http://cutesoft.net/example/general.aspx
    But when I go to hmtl mode and dopy the youtube embedded code, everything is working ok.
    What I do is the following.
    click the youtube buttone.
    paste this code:
    1. <object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/YLHpvjrFpe0?version=3"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/YLHpvjrFpe0?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="390"></object> 
     and click insert.
    Now, no code will be append in the cute-editor. looks like the button is useless.
     
    What do I have to do to make it work?
     
    Regs 
     
    Bart
  •  05-23-2011, 8:40 AM 67659 in reply to 67657

    Re: YouTube New Embedde code trouble

    Dear pbwbart,
     
    Youtube has changed the code, there are two ways to embed the youtube video:
     
    First:
    <iframe width="560" height="349" src="http://www.youtube.com/embed/e5Iey0wDqBE" frameborder="0" allowfullscreen></iframe>

    Second:
    You can click "Use old embed code",  the following is necessary code:
    1. <object width="560" height="349"><param name="movie" value=" name="allowFullScreenvalue="true">
    2. </param>
    3. <param name="allowscriptaccess" value="always">
    4. </param>
    5. <embed src="http://www.youtube.com/v/e5Iey0wDqBE?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" width="560" height="349" allowscriptaccess="always" allowfullscreen="true">
    6. </embed>
    7. </object>  

    Please compare this code with yours.


    Thanks for asking
    [email protected]
View as RSS news feed in XML