Problem with the youtube button

Last post 03-02-2011, 7:40 AM by Romain. 9 replies.
Sort Posts: Previous Next
  •  02-24-2011, 2:51 AM 66415

    Problem with the youtube button

    Hello,
     
    I have a problem when I try to insert a Youtube video with the "Youtube" button.
    When I insert it I have in the HTML mode the following code:
    1. <object xcodebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" height="344" width="425" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >  
    2. <param name="Movie" value="<iframe title=" />  
    3. <param name="allowFullScreen" value="true"/><embed src="<iframe title=" width="425" height="344" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ></embed> </object> 
     But when try to save it, here is what I have in Editor1.Text:
     
    1. <object xcodebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" height="344" width="425" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >  
    2. <param name="Movie" value="  
    3. <param name="allowFullScreen" value="true"/><embed src="</embed> </object>  
    4. <div>test youtube</div>  
    5. <div>  
    6. </div> 
     This difference makes it impossible to reload the video in the Editor using Editor1.text = value.
     
    Can you help me??

    Thank you.
  •  02-24-2011, 9:49 AM 66419 in reply to 66415

    Re: Problem with the youtube button

    I found what the problem was, CuteEditor was not accepting the iframes, so using the property EnableStripIframeTags="false", the iframes are now accepted.
    However, the video is not working. 
     
    It works if I paste the Youtube Embed Code directly in the HTML mode, so what's the purpose of this Youtube button?
  •  02-24-2011, 10:39 AM 66421 in reply to 66419

    Re: Problem with the youtube button

    When I paste my video's embed code
     
    1. <iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/TU_4WDtfCis" frameborder="0" allowfullscreen></iframe>
     
    in "Paste the YouTube Embed code here:", the embed code becomes :"
     
    1. <object xcodebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" height="344" width="425" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" > <param name="Movie" value="<iframe title" /><param name="allowFullScreen" value="true"/><embed src="<iframe title" width="425" height="344" allowfullscreen="true"  type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ></embed>   
     I think there is a problem with the <embed src="<iframe title" .... no?
    Can you help me make this button work please?
     
  •  02-24-2011, 10:50 AM 66422 in reply to 66421

    Re: Problem with the youtube button

    Romain,
     
    Please try your code in this example.
     
     
    If it works for you, please download the latest build.
     
    There are two types of yourtube embed code.
     
    1. Old embed code
    <object width="480" height="390"><param name="movie" value="
     
    2. New embed code
    <iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/TU_4WDtfCis" frameborder="0" allowfullscreen></iframe>
     
    The latest build of Cute Editor should work for both situations.
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-24-2011, 11:11 AM 66426 in reply to 66422

    Re: Problem with the youtube button

    Thanks for answering :)
    I tried in the example, and all I see after inserting the video is a black square and I can't play the video.
    The embed code I use is:
    <iframe title="YouTube video player" width="480" height="390" src="http://www.youtube.com/embed/TU_4WDtfCis" frameborder="0" allowfullscreen></iframe>
    Can you tell me if it works for you?
     
     
  •  02-24-2011, 11:16 AM 66427 in reply to 66426

    Re: Problem with the youtube button

  •  02-24-2011, 11:33 AM 66428 in reply to 66427

    Re: Problem with the youtube button

    It doesn't work on FF but it works on IE and on Chrome
  •  02-24-2011, 2:12 PM 66435 in reply to 66428

    Re: Problem with the youtube button

    Romain:
    It doesn't work on FF but it works on IE and on Chrome
     
    It's due to the firefox browser limitation.
     
    The video should work after you submit the form.
     
    Or try use the preview button.
     
     Preview Previews the current page.
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-02-2011, 7:10 AM 66508 in reply to 66435

    Re: Problem with the youtube button

    OK, thanks for the previous help.
     
     I'm sorry to bother you again but i'm now using the last version of Youtube button, and it seems that now, it does not work with dailymotion videos:
    When I paste the following embed code, nothing appears in CuteEdirot (the code is only pasted in the HMTL mode):
     
    <object xcodebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="425" height="344">
    <param name="Movie" value="http://www.dailymotion.com/swf/video/x25ays?theme=none&lt;br /&gt;&lt;b&gt;&lt;a href=" />
    <param name="wmode" value="transparent" />
    <param name="allowFullScreen" value="true" /><embed src="http://www.dailymotion.com/swf/video/x25ays?theme=none%3Cbr%20/%3E%3Cb%3E%3Ca%20href=" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" width="344">
     
    this embed code is from the video:
    http://www.dailymotion.com/video/x25ays_scolastance-v5_school
     
    I get the same behaviour using 
    http://cutesoft.net/example/general.aspx
     
     
    Thank you,
     
    Romain
  •  03-02-2011, 7:40 AM 66509 in reply to 66508

    Re: Problem with the youtube button

    Problem solved, Firefox problem, again. The video is present but you don't see it when using firefox ..
View as RSS news feed in XML