Dobry den,
mam problem s vkladanim noveho kodu do aspx. Potrebuju vlozit flash prehravac a podle linku menim cestu prehravaneho sfw souboru. Problem je v tom ze IE odmita zobrazit dany soubor s prehravacem pri druhem nacteni(prvni soubor nacte korektne).Opera tento problem nema a probiha vsechno ok. Nevite kde muze byt chyba popripade nejake jine reseni?
Dik
Cast kodu:
v asp klasicky: <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
v cs:
Label3.Text = "<script type='text/javascript' src='Prehravac/swfobject.js'></script>";
Label3.Text += "<div id='player'></div>";
Label3.Text += "<script type='text/javascript'>";
Label3.Text += "var s1 = new SWFObject('Prehravac/mediaplayer.swf','mediaplayer','500','380','7');";
Label3.Text += "s1.addParam('allowfullscreen','true');";
Label3.Text += "s1.addParam('allowscriptaccess','always');";
Label3.Text += "s1.addVariable('width','500');";
Label3.Text += "s1.addVariable('heigh','380');";
Label3.Text = "s1.addVariable('file','" + src[Convert.ToInt32(Request["jaka"])].ToString() + "');";
Label3.Text += "s1.addVariable('screencolor','0xFFFFFF');";
Label3.Text += "s1.addVariable('overstretch','none');";
Label3.Text += "s1.write('player');";
Label3.Text += "</script>";