Issue with Media Manager

5 posts, 0 answers
  1. Jean-François Robe
    Jean-François Robe avatar
    15 posts
    Member since:
    Sep 2009

    Posted 28 Sep 2009 Link to this post

    Hello,

     

    We had some issue when using the Media Manager in the RadEditor for MOSS (full-featured) to add a video to a WebPart page. The Windows Media Player’s window displays but the video doesn’t play (we have IE7 and WMP10).

     

    We find that modifying a little bit the generated HTML makes it finally works.

     

    Here is the original generated HTML code:

    <object type="application/x-oleobject" height="150" width="150" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">

    <param name="FileName" value="/Test_RENAULT/Videos/RadNavigation.avi"/>

    <embed src="/Test_RENAULT/Videos/RadNavigation.avi" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer"></embed>

    </object>

     

    The changes concern the “object” tag.

     

    If we remove it (we keep only the “embed” tag), it works fine.

     

    We can also keep it but then we have to change two of its attributes:

    - Removing the “classid” attribute makes it work but it is very long.

    - To make it faster we change the value of the “type” attribute, from “application/x-oleobject” to “"application/x- mplayer2" (like in the “embed” tag).

    With this second method it works fine too.

     

    As these changes are manual, we would like to know how we can have an automatic solution.

     

    Thanks

     

    Jeff

     

  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 29 Sep 2009 Link to this post

    Hello Jean-François Robe,

    Please confirm which version of RadEditor for MOSS you are using. Is it the Lite RadEditor for MOSS 4.5.6 or the full version 5.x?


    Greetings,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

  3. Jean-François Robe
    Jean-François Robe avatar
    15 posts
    Member since:
    Sep 2009

    Posted 29 Sep 2009 Link to this post

    Hello Stanimir,

    thank you for you answer. We have installed a trial of the full version 5.5.1 (from the RadEditorMOSS_5_5_1_trial.zip file).

    Regards,

    Jeff.
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 29 Sep 2009 Link to this post

    Hello Jean-François Robe,

    If you want to modify  the way that the MediaManager is working, follow these steps.
    1. Copy the provided by me MediaManager.ascx (it is for the latest 5.5.1 version of RadEditor for MOSS) in the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources folder.

    2. Modify the respective ConfigFile.xml. You need to set the ExternalDialogsPath property.
    <property name="ExternalDialogsPath">/_wpresources/RadEditorSharePoint/5.5.1.0__1f131a624888eeed/Resources</property>  


    3. Alter the MediaManager.ascx so it will fit your needs.
    For example the code that is creating the media element is in the _createMediaElement client method.


    I hope this helps.

    Regards,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  5. Jean-François Robe
    Jean-François Robe avatar
    15 posts
    Member since:
    Sep 2009

    Posted 30 Sep 2009 Link to this post

    Hello Stanimir,

    Thank you very much for this information. We followed your instructions and it solved the issue.

    Regards,

    Jeff.
Back to Top