Gönderen: 05-Aralık-2012 Saat 22:28 | Kayıtlı IP
|
|
|
Merhaba arkadaşlar ben asp site kodlaması yapıyorum takıldığım bir yer var
<object id="mediaPlayer"
width="320" height="300" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase=" http://activex.microsoft.com/activex/controls/mplayer/en/nsm p2inf.cab#Version=5,1,52,701" standby="Microsoft Windows Media Player bilesenleri yukleniyor.." type="application/x-oleobject"> <param name="FileName" VALUE="<%=rt("url")%>"> <param name="ShowControls" value="1"> <param name="AutoStart" value="1"> <param name="ShowDisplay" value="False"> <param name="AutoRewind" value="0"> <param name="PlayCount" value="3"> <param name="ShowStatusBar" value="1"> <param name="ShowGotoBar" value="0"> <param name="AutoSize" value="0"> <param name="EnableContextMenu" value="false"> <param name="BorderStyle" VALUE="1"> <param name="DisplayForeColor" VALUE="0"> <param name="DisplayBackColor" VALUE="0"> <embed type="application/x-mplayer2" pluginspage=" http://www.microsoft.com/Windows/Downloads/Contents/Products /MediaPlayer/" filename="<%=rt("url")%>" src="<%=rt("url")%>" name="mediaPlayer" autostart=0 showcontrols=1 showdisplay=False showgotobar=0 enablecontextmenu=false showstatusbar=1 autosize="0" width="320" height="300"> </embed> </object>
Bu kodu içinde asp kodu yokken html olarak kayıt yaptığımda video gösteriliyor ama aynı kodu
<%
ay_og=Server.Mappath("video/vio.mdb") Cumlem= "DBQ="& ay_og &";Driver={Microsoft Access Driver (*.mdb)}" Set Baglanti=Server.CreateObject("Adodb.Connection") Baglanti.open Cumlem %>
<% Set rt = Server.CreateObject("ADODB.Recordset") Sql = "Select * from linker" rt.Open Sql,Baglanti,1,3 %>
<% Randomize Rastgele= Int((rt.RecordCount*Rnd)+0) rt.Move(Rastgele)
%>
<object id="mediaPlayer"
width="320" height="300" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase=" http://activex.microsoft.com/activex/controls/mplayer/en/nsm p2inf.cab#Version=5,1,52,701" standby="Microsoft Windows Media Player bilesenleri yukleniyor.." type="application/x-oleobject"> <param name="FileName" VALUE="<%=rt("url")%>"> <param name="ShowControls" value="1"> <param name="AutoStart" value="1"> <param name="ShowDisplay" value="False"> <param name="AutoRewind" value="0"> <param name="PlayCount" value="3"> <param name="ShowStatusBar" value="1"> <param name="ShowGotoBar" value="0"> <param name="AutoSize" value="0"> <param name="EnableContextMenu" value="false"> <param name="BorderStyle" VALUE="1"> <param name="DisplayForeColor" VALUE="0"> <param name="DisplayBackColor" VALUE="0"> <embed type="application/x-mplayer2" pluginspage=" http://www.microsoft.com/Windows/Downloads/Contents/Products /MediaPlayer/" filename="<%=rt("url")%>" src="<%=rt("url")%>" name="mediaPlayer" autostart=0 showcontrols=1 showdisplay=False showgotobar=0 enablecontextmenu=false showstatusbar=1 autosize="0" width="320" height="300"> </embed> </object>
asp olarak kayıt yaptığımda video oynamıyor yerel ağda.
şimdiden teşekkürler.
__________________ Her şeyin sonu var
|