This is a migrated thread and some comments may be shown as answers.

[Solved] Can't play the window Media video (.wmv) file

3 Answers 168 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jun Ting
Top achievements
Rank 1
Jun Ting asked on 16 Sep 2008, 07:03 AM
I am using the rad editor version 6.6.3.0.

I put the below code into html view:

<object id="MediaPlayer" width=320 height=288 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components…" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">

<param name="filename" value="My_video.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">

<embed type="application/x-mplayer2" src="My_video.wmv" originalAttribute="src" originalPath="My_video.wmv" name="MediaPlayer" width=320 height=288></embed>

</object>



When I switched back to design view, the code below is truncated by the editor:

<param name="filename" value="My_video.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True">

When I try to save the file and view it in internet explorer, the video file is unable to play.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Sep 2008, 03:14 PM
Hi Jun,

The observer behavior is due to the Rich Text Editing engine of the browser which RadEditor uses. You can easily verify this behavior by testing the attached html page having an editable IFRAME in it. The content area of RadEditor is an editable IFRAME.

I have good news that the reported problem is fixed in the latest version of RadEditor 7.3.4 and RadEditor for ASP.NET AJAX which use an enhanced content filter architecture. My recommendation is to upgrade your project to work with one of both versions.


Kind regards,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Kim
Top achievements
Rank 1
answered on 07 Jul 2009, 11:52 AM
Hi,

We have the exact same issue. We are using the RadEditor for MOSS v. 5.4.1.0.

What we can get to work is:
 - add a flashfile to a RadEditor Webpart
 - add a mediafile to a RadEditor Webpart
 - add a flashfile to a RadEditor RadHtmlField

What we cannot get to work is:
 - add a mediafile to a RadEditor RadHtmlField

Html in Webpart before save + Html in Webpart after save + Html in RadHtmlField before save:
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="150" height="150" type="application/x-oleobject">
<param name="FileName" value="/Documents/join.avi"/><embed src="/Documents/join.avi" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer%22%3E%3C/embed%3E%3C/object>

Html in RadHtmlField after save
<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="150" height="150" type="application/x-oleobject">
<embed src="/Documents/join.avi" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer"></embed></object>

Missing tag:
<param name="FileName" value="/Documents/join.avi"/>


RadHtmlField example:
<radE:RadHtmlField id="control1" FieldName="PublishingImageCaption" runat="server" allowSpecialTags="True"/>

ConfigFile.xml:
<?xml version="1.0" encoding="utf-8" ?>
<!-- ==============================================================================================
 Config File valid structure:
 <configuration>
    <property>...</property>
    ...
  <property>
   <item>...</item>
   <item>...</item>
   ...
  </property>
  ...
 </configuration>
=============================================================================================== -->
<configuration>
  <property name="EditModes">Design,Html,Preview</property>
  <property name="ToolbarMode">ShowOnFocus</property>
  <property name="ToolsWidth">477px</property>
  <property name="Height">230px</property>
  <property name="Width">477px</property>
  <property name="SpellDictionaryLanguage">da-DK</property>
  <property name="MaxMediaSize">500000</property>
  <property name="MaxFlashSize">500000</property>
  <property name="AllowScripts">true</property>
  <property name="MediaPaths">
    <item>/Documents</item>
    <item>Documents</item>
  </property>
  <property name="MediaFilters">
    <item>*.mpeg</item>
    <item>*.avi</item>
  </property>
  <property name="FlashPaths">
    <item>/Documents</item>
    <item>Documents</item>
  </property>
  <property name="FlashFilters">
    <item>*.swf</item>
    <item>*.swi</item>
  </property>
</configuration>


Any help on how to get this to work will be much appreciated
0
Stanimir
Telerik team
answered on 10 Jul 2009, 11:01 AM
Hi Kim,

Could you please upgrade to the latest version version of RadEditor for MOSS, which now is 5.5.0? You can find upgrade instructions in the following help article http://www.telerik.com/help/aspnet-ajax/upgrade_to_a_newer_version_of_radeditor_for_moss.html.

If the problem persists after you upgrade, we will be glad to help you further.


Best wishes,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Jun Ting
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Kim
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or