 |
|
ผมลองทำ jwplayer แล้วมันขึ้น video not found or acces deneid : education/akbigs3.flv |
|
 |
|
|
 |
 |
|
ผมงงมากเลย มันแจ้งขึ้นมายังงี้
video not found or acces deneid
ทั้งที่ผมก็เลือกpath ถูกแล้วอ่ะ ที่เก็บไฟล์vdo อยู่ใน appserv/www/medicines1/guest/education
Code (ASP)
<!--#include file="connect.asp"-->
<html>
<head>
<title>Medical Conference</title>
</head>
<body>
<%
dim sql,rec
sql="select * from education where eduid= '" & request.QueryString("ids") & "' "
set rec=con.execute(sql)
%>
<table>
<tr><td align="center">
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="../player/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("../player/player.swf","mediaplayer","500","500","8");
s1.addParam('allowscriptaccess','always');
s1.addParam("allowfullscreen","true");
s1.addVariable("file","education/<%=rec.fields("eduvdo").value%>");
s1.addVariable('displayheight','240');
s1.addVariable('autoscroll','true');
s1.write("container");
</script>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>
Tag : ASP, MySQL
|
|
 |
 |
 |
 |
Date :
2012-02-06 14:02:19 |
By :
Clamore |
View :
2987 |
Reply :
4 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่มีใครช่วยเลยอ่ะ
|
 |
 |
 |
 |
Date :
2012-02-07 10:01:27 |
By :
Clamore |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลอง View Source ในหน้า IE มาให้ดูหน่อยครับ อยากรู้ว่าตรง
Code (ASP)
s1.addVariable("file","education/<%=rec.fields("eduvdo").value%>");
มันมีค่าหรือไม่
|
 |
 |
 |
 |
Date :
2012-02-07 10:14:46 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
view source ครับ
Code (ASP)
<html>
<head>
<title>Medical Conference</title>
</head>
<body>
<table>
<tr><td align="center">
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="../player/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("../player/player.swf","mediaplayer","500","500","8");
s1.addParam('allowscriptaccess','always');
s1.addParam("allowfullscreen","true");
s1.addVariable("file","education/test.mp4");
s1.addVariable('displayheight','240');
s1.addVariable('autoscroll','true');
s1.write("container");
</script>
</td>
<td>
</td>
</tr>
</table>
</body>
</html>
|
 |
 |
 |
 |
Date :
2012-02-07 10:47:55 |
By :
Clamore |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
พี่ครับอย่าเงียบหายไปสิ
|
 |
 |
 |
 |
Date :
2012-02-08 09:29:08 |
By :
Clamore |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|