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

Sitecore and Flash Manager

1 Answer 84 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 11 Feb 2011, 05:22 PM
I am working in SiteCore 6.0.2.  In the media library, I upload a flash file.  I use the Flash Manager to select and insert the media into the content and when I do, it works correctly the first time.  When I come back to edit the content, the src attribute is empty. 

Code after inserting:

<object id="myMovieName" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="630" height="209">
        <param name="_cx" value="16668" />
        <param name="_cy" value="5529" />
        <param name="FlashVars" />
        <param name="Movie" />
        <param name="Src" value="%7E/media/introduction2.ashx" />
        <param name="WMode" value="Window" />
        <param name="Play" value="-1" />
        <param name="Loop" value="-1" />
        <param name="Quality" value="High" />
        <param name="SAlign" />
        <param name="Menu" value="-1" />
        <param name="Base" />
        <param name="AllowScriptAccess" />
        <param name="Scale" value="ShowAll" />
        <param name="DeviceFont" value="0" />
        <param name="EmbedMovie" value="0" />
        <param name="BGColor" />
        <param name="SWRemote" />
        <param name="MovieData" />
        <param name="SeamlessTabbing" value="1" />
        <param name="Profile" value="0" />
        <param name="ProfileAddress" />
        <param name="ProfilePort" value="0" />
        <param name="AllowNetworking" value="all" />
        <param name="AllowFullScreen" value="false" />
      </object>

When I come back to edit the content, the code changes to:

<object id="myMovieName" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="630" height="209">
        <param name="_cx" value="16668" />
        <param name="_cy" value="5529" />
        <param name="FlashVars" />
        <param name="Movie" />
        <param name="Src" />
        <param name="WMode" value="Window" />
        <param name="Play" value="-1" />
        <param name="Loop" value="-1" />
        <param name="Quality" value="High" />
        <param name="SAlign" />
        <param name="Menu" value="-1" />
        <param name="Base" />
        <param name="AllowScriptAccess" />
        <param name="Scale" value="ShowAll" />
        <param name="DeviceFont" value="0" />
        <param name="EmbedMovie" value="0" />
        <param name="BGColor" />
        <param name="SWRemote" />
        <param name="MovieData" />
        <param name="SeamlessTabbing" value="1" />
        <param name="Profile" value="0" />
        <param name="ProfileAddress" />
        <param name="ProfilePort" value="0" />
        <param name="AllowNetworking" value="all" />
        <param name="AllowFullScreen" value="false" />
      </object>

With Sitecore, it is linking the src attribute as a .ashx file.   Do you have any workarounds?  I am assuming the src parameter is not kept as the item is not a .swf, but the .ashx, returns the swf file.

Thanks,
Andy

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Feb 2011, 03:26 PM
Hello Andy,

As far as I know Sitecore CMS uses a very old version of RadEditor Classic the development of which is discontinued more than 2 years ago and we do not support it.

My suggestion is to tested the latest classic build of RadEditor Classic in the following live demo: Default Example. If the problem is fixed then you can upgrade using the instructions below:

1) replace the old RadEditor.dll with the new one v7.3.6  from the latest RadEditor Classic installation as well as update the RadControls/Editor folder.

2) If the old RadEditor.dll is reference by another SiteCore assembly you should configure assembly binding redirect in the web.config file:

<dependentAssembly>
  <assemblyIdentity name="RadEditor" publicKeyToken="852c9eb6525c1b53" culture="neutral" />
  <bindingRedirect oldVersion="1.0.0.0-7.2.0.0" newVersion="7.3.6.0" />
</dependentAssembly>

You can find more information in the following MSDN article: Assembly Binding Redirection.

Kind regards,
Rumen
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Andy
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or