Might have better luck on http://sdn5.sitecore.net/Forum.aspx
--- In sitecore@yahoogroups.com, "hifromjd" <hifromjd@...> wrote:
>
> Hello Friends,
>
> I am trying to render flash added in media library in sitecore 6.0
>
> I am getting the item by parametes from one my rendering control as
> showen below.
>
>
> Item flashFileItem = Sitecore.Context.Database.Items[parameters
> ["src"]];
> MediaItem flashFile = (MediaItem)flashFileItem;
> Controls.Add(new LiteralControl("src=\"" +
> Sitecore.Resources.Media.MediaManager.GetMediaUrl((MediaItem)
> flashFileItem) + "\""));
>
>
> inn above code i get value of
> Sitecore.Resources.Media.MediaManager.GetMediaUrl((MediaItem)
> flashFileItem) as something like
> http://localhost/~/media/Flash/logo.ashx
>
> which renders flash file in mozilla but it does not render Flash file
> in IE, does any one have idea why it does not work in IE?
>
> and the strange thing is when i use same code for JPG file in media
> library it works supereb in both browser !!!! :(
>
> your prompt reply will be highly appriciable.
>
> Regards,
> JD
>