JSP视频在线播放
程序员文章站
2022-04-14 10:51:50
<%@ page language="java" import="java.util.*" pageencoding="gbk"%&...
<%@ page language="java" import="java.util.*" pageencoding="gbk"%>
<!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<html>
<head>
<title>watching</title>
</head>
<body>
<%
string address = (string)request.getattribute("address");
%>
<object id="mediaplayer" width="50%" height="70%"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6">
<!--播放的文件的地址-->
<param name="url"
value="file/123.mp3" />
<param name="autostart" value="true" />
</object>
</body>
</html>
摘自 那年那月那天
<!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<html>
<head>
<title>watching</title>
</head>
<body>
<%
string address = (string)request.getattribute("address");
%>
<object id="mediaplayer" width="50%" height="70%"
classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6">
<!--播放的文件的地址-->
<param name="url"
value="file/123.mp3" />
<param name="autostart" value="true" />
</object>
</body>
</html>
摘自 那年那月那天