Embed YouTube Videos

2 posts, 0 answers
  1. Oliver
    Oliver avatar
    10 posts
    Member since:
    Aug 2010

    Posted 18 May 2012 Link to this post

    I need RadEditor to upload and embed YouTube videos.  This is working in several browsers, but not in IE8.  Is there any reason you can think of that it wouldn't or anything that needs to be configured in Explorer?  Here is some sample code. 

    <object width="210" height="150">
         <param name="movie" value="http://www.youtube.com/v/o2GBYBTty0M">
         <param name="wmode" value="transparent">
         <embed src="{UrlVideo}"");
            type="application/x-shockwave-flash" wmode="transparent"
          width="210" height="150">

    Thanks in advance for your help.
  2. Rumen
    Rumen avatar
    14462 posts

    Posted 19 May 2012 Link to this post


    If you load / save an object tag you should set a classid attribute in the object tag, e.g.


    The classid attribute provides a reference that the browser can use to understand how the object should be implemented. This attribute is usually used to ensure that the browser has the correct version of the control.

    Here is how the complete tag should looks:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="480" height="385">
    <param name="movie" value="http://www.youtube.com/v/r0RLFgjHEJU&hl=en_US&fs=1&"/>
    <param name="allowFullScreen" value="true"/>
    <param name="allowscriptaccess" value="always"/><embed src="http://www.youtube.com/v/r0RLFgjHEJU&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

    Best regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top