Search the web
Sign In
New User? Sign Up
sitecore
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Flash rendering fails   Message List  
Reply | Forward Message #3297 of 3315 |
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





Wed Oct 22, 2008 6:08 am

hifromjd
Offline Offline
Send Email Send Email

Forward
Message #3297 of 3315 |
Expand Messages Author Sort by Date

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...
hifromjd
Offline Send Email
Oct 22, 2008
11:41 am

Hi I have had a similar problem in the past. Maybe the problem is that the App_Data i protected by default. You could unprotected the folder, or you could...
thomastherkildsen
thomastherki...
Offline Send Email
Oct 22, 2008
2:54 pm

Might have better luck on http://sdn5.sitecore.net/Forum.aspx...
Andy M.
amchargue44
Offline Send Email
Oct 22, 2008
4:11 pm

Hi JD yes, flash and sitecore not palying nice is the source of great frustration the one workaroud which is ugly, but gets the job done is using this in your...
King's Cat (Cassandra...
puddinbreath
Offline Send Email
Oct 22, 2008
8:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help