RadEditor-Media Manager

5 posts, 0 answers
  1. Heather
    Heather avatar
    5 posts
    Member since:
    May 2013

    Posted 14 Aug 2014 Link to this post

    In my radEditor I am using the image, media, flash, and document managers. I have a custom file handler, and content provider that puts the files onto my server, and allows me to view them. The media manager allows me to upload files, see the files in the file structure, insert, but I can't preview the media or play the media once inserted into the rad editor.  I also am using this in my email system tool. When I send the email it shows an X where the media player should be. I believe that the email is recognizing it as a media file because it shows me the WMPlayer.OCX.7.Object.
    <object width="150" height="150" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" type="application/x-oleobject">
    <param name="URL" value="/FileHandlers/FileSystemHandler.ashx?path=mediaUploads/chord.wav&amp;DealerSiteID=1"/>
    <param name="AutoStart" value="true"/>
    <embed width="150" height="150" pluginspage="http://www.microsoft.com/Windows/MediaPlayer" src="http://localhost:53316/FileHandlers/FileSystemHandler.ashx?path=mediaUploads/chord.wav&amp;DealerSiteID=1" type="application/x-mplayer2" autostart="true"></object>

    is it because of the src path and the URL value? I have looked at a few forum threads but most of those issues were because of the classid missing or the object not being complete. Neither of those issues are happening here.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Aug 2014 in reply to Heather Link to this post

    Hi Heather,

    Please try the below sample code snippet which works fine at my end.

    <telerik:RadEditor ID="RadEditor1" runat="server">
        <MediaManager DeletePaths="~/RadEditor/NewFolder" UploadPaths="~/RadEditor/NewFolder"
            ViewPaths="~/RadEditor/NewFolder" />

  3. Heather
    Heather avatar
    5 posts
    Member since:
    May 2013

    Posted 27 Aug 2014 Link to this post

    Thanks for the replay but it's not an issue getting the Media Manager to come up. It's once I insert the media into the rad editor. It doesn't play.
    DEJOUX avatar
    1 posts
    Member since:
    Sep 2014

    Posted 18 Mar 2015 Link to this post

    Hi, I post in this topic because I'm facing the exact same problem.
    Once the media is inserted in the editor, it doesn't play at all.

    So, here are my questions after reading the documentations and examples :
    - is there a requirement for any allowed/forbidden file extensions ?
    - should I install a specific browser extension and/or recommend it to my clients ?
    - Do you have any tip to make a video play once it's inserted in the editor ? :)

    Thank you
  5. Misho
    Misho avatar
    241 posts

    Posted 21 Mar 2015 Link to this post


    Firefox and Chrome are unable to play media and flash files in editable IFRAME / DIV elements and RadEditor just displays an image in the content area to mark that there is a video / flash object. Once the content is saved and displayed outside of RadEditor the video will be displayed.
    This is not a bug of RadEditor but a not supported browsers feature.
    You can however entirely customize the code generated by this dialog by further customizing it as per to your expectations or as per to the application requirements. Exact example for such approach is demonstrated in the provided demo - http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx
    Another possibility is to implement an entirely custom dialog. Such approach is demonstrates in this demo - http://demos.telerik.com/aspnet-ajax/editor/examples/customdialogs/defaultcs.aspx

    You can find attached a sample project that demonstrates how to create a custom dialog that inserts a  Video tag.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top