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:
When I come back to edit the content, the code changes to:
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
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