| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1371 人关注过本帖
标题:流媒体的版本信息要如何修改啊?
只看楼主 加入收藏
twinsvicki
Rank: 1
等 级:新手上路
帖 子:42
专家分:0
注 册:2005-9-13
收藏
 问题点数:0 回复次数:10 
流媒体的版本信息要如何修改啊?
图片附件: 游客没有浏览图片的权限,请 登录注册


如何修改播放列表后面的信息呢?有方法吗?
搜索更多相关主题的帖子: 流媒体 列表 播放 
2005-12-15 10:17
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:0 

有软件修改属性的
如果是调用别人的那么只能写一个asx文件
如下面的例子:
<ASX version = "3.0">
<TITLE>九点音乐网 www.music9.com</TITLE>
<author>www.music9.com</author>
<abstract>九点音乐网 www.music9.com</abstract>
<copyright>九点音乐网 www.music9.com</copyright>
<entry SKIPIFREF="YES">
<title>更多免费音乐请访问 Music9.COM</title>
<author>更多免费音乐请访问 Music9.COM</author>
<abstract>更多免费音乐请访问 Music9.COM</abstract>
<copyright>更多免费音乐请访问 Music9.COM</copyright>
<ref href="http://202.101.235.88:8002//g/96/15.Wma"/>
<param name="Title" value="更多免费音乐请访问 Music9.COM"/>
</ENTRY>
</ASX>
具体请自己搜一下


----我怎能在别人的苦难面前转过脸去----
2005-12-15 10:27
twinsvicki
Rank: 1
等 级:新手上路
帖 子:42
专家分:0
注 册:2005-9-13
收藏
得分:0 
用asp能不能实现呢,我用的是asp脚本

2005-12-15 10:34
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:0 

当然可以了
建一个页面asx.asp
下面是我做的一个
<!--#include file="conn.asp"-->
<ASX version = "3.0">
<%
if request("id")<>"" then
set rs=server.createobject("adodb.recordset")
id=request("id")
sql="select * from song where id ="&id
rs.open sql,conn,1,3
if not (rs.bof and rs.eof) then
%>
<entry SKIPIFREF="YES">
<title>《<%=rs("name")%>》--xx音乐网提供</title>
<ref href="<%=rs.Fields("url")%>"/>
<param name="Album" value="xx音乐网"/>
<param name="Title" value="<%=rs("name")%>"/>
</ENTRY>
<%
end if
%>
<%
sql="update song set hits=hits+1 where id ="&id
conn.execute sql
rs.Close
set rs=nothing
end if
conn.close
set conn=nothing
%>
</ASX>

播放页面中
<object id="Player" width=100% height=64
classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type=application/x-oleobject standby="Loading Windows Media Player components...">
<param name="URL" value="asx.asp?id=<%=id%>">
<param name="rate" value="1">
<param name="balance" value="1">
<param name="currentPosition" value="1">
<param name="defaultFrame" value="">
<param name="playCount" value="100">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value="">
<param name="volume" value="100">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="1">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="0">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value="">
<param name="SAMILang" value="">
<param name="SAMIFilename" value="">
<param name="captioningID" value="">
<param name="BufferingTime" value="5">
</object>

你可以参考一下


----我怎能在别人的苦难面前转过脸去----
2005-12-15 10:46
twinsvicki
Rank: 1
等 级:新手上路
帖 子:42
专家分:0
注 册:2005-9-13
收藏
得分:0 
<ref href="<%=rs.Fields("url")%>"/>
<param name="Album" value="xx音乐网"/>
<param name="Title" value="<%=rs("name")%>"/>
我写了这三行语句,可是版本信息还是没变,和原来一样。

2005-12-15 11:04
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:0 
那你把2楼的参数加进去看看

----我怎能在别人的苦难面前转过脸去----
2005-12-15 11:14
twinsvicki
Rank: 1
等 级:新手上路
帖 子:42
专家分:0
注 册:2005-9-13
收藏
得分:0 
一样的结果,没变呀

2005-12-15 11:23
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:0 
http://freehost04.websamba.com/dzt0001/list2.asp
选几首歌,然后连播看一下

----我怎能在别人的苦难面前转过脸去----
2005-12-15 11:36
twinsvicki
Rank: 1
等 级:新手上路
帖 子:42
专家分:0
注 册:2005-9-13
收藏
得分:0 

<!--#include file="conn.asp"-->
<%
id=Trim(Request.QueryString("id"))
set rs_s=server.CreateObject("adodb.recordset")
rs_s.open "select * from tvname where id="&id,conn,1,1

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%= rs_s("name") %>:网络电视:在线电视:鸿鹄の心情网络电视</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.t1 {
font-size: 12px;
font-weight: normal;
color: #00CCFF;
border: 1px solid #CCCCCC;
}
.style2 {
font-size: 12px;
color: #990000;
}
.style3 {color: #990000}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
//code by sunkin ver1.0
function showbar()
{
var obj = document.all.TVPlayer;
if(typeof(obj) != "undefined")
{
obj.ShowStatusBar="1";
}
}
function closebar()
{
var obj = document.all.TVPlayer;
if(typeof(obj) != "undefined")
{
obj.ShowStatusBar="0";
}
}
function aotuclose()
{
var timer1 = setTimeout("closebar();",5000);
}
//-->
</script></head>

<body >
<% if rs_s("gs")="wmv" then %>
<object align=middle classid=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95 class=OBJECT id=MediaPlayer width="485" height="360">
<param name=ShowStatusBar value=-1>
<param name=Filename value="play1.asp?id=<%= id %>&gs=<%= rs_s("gs") %>" >
<param name="AudioStream" value="-1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="-1">
<param name="AnimationAtStart" value="-1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="4">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-600">
<param name="WindowlessVideo" value="0">
<ref href="www.sfoxnet.com"/>
<param name="Album" value="xx音乐网"/>
<param name="Title" value="<%=rs_s("name")%>"/>
<embed src="-1" width="485" height="360" autostart="-1" align="middle" showstatusbar="-1" filename="play1.asp?id=<%= id %>&amp;gs=<%= rs_s("gs") %>" audiostream="-1" autosize="0" animationatstart="-1" allowscan="-1" allowchangedisplaysize="-1" autorewind="0" balance="0" baseurl="value" bufferingtime="5" captioningid="value" clicktoplay="-1" cursortype="0" currentposition="-1" currentmarker="0" defaultframe="value" displaybackcolor="0" displayforecolor="16777215" displaymode="0" displaysize="4" enabled="-1" enablecontextmenu="-1" enablepositioncontrols="-1" enablefullscreencontrols="0" enabletracker="-1" invokeurls="-1" language="-1" mute="0" playcount="1" previewmode="0" rate="1" samilang="value" samistyle="value" samifilename="value" selectionstart="-1" selectionend="-1" sendopenstatechangeevents="-1" sendwarningevents="-1" senderrorevents="-1" sendkeyboardevents="0" sendmouseclickevents="0" sendmousemoveevents="0" sendplaystatechangeevents="-1" showcaptioning="0" showcontrols="-1" showaudiocontrols="-1" showdisplay="0" showgotobar="0" showpositioncontrols="-1" showtracker="-1" transparentatstart="0" videoborderwidth="0" videobordercolor="0" videoborder3d="0" volume="-600" windowlessvideo="0"></embed> <embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" flename="mp" src="channelv.asx" width="420" height="360">
</object>
<% Else %>
<object id=RVOCX1 height=290 width=485 classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA name=player1>
<param name="_ExtentX" value="11906">
<param name="_ExtentY" value="8916">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="play1.asp?id=<%= id %>&gs=<%= rs_s("gs") %>">
<param name="CONTROLS" value="ImageWindow">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object>
<br>
<object classid=clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA codebase="360" name=control width=485 height=47 id=RVOCX1>
<param name="_ExtentX" value="11906">
<param name="_ExtentY" value="1244">
<param name="AUTOSTART" value="-1">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="play1.asp?id=<%= id %>&amp;gs=<%= rs_s("gs") %>">
<PARAM NAME="controls" VALUE="StatusBar,ControlPanel">
<param name="CONSOLE" value="Clip1">
<param name="LOOP" value="0">
<param name="NUMLOOP" value="0">
<param name="CENTER" value="0">
<param name="MAINTAINASPECT" value="0">
<param name="BACKGROUNDCOLOR" value="#000000">
</object><table width="485" height="23" border="0" cellpadding="0" cellspacing="0" class="t1">
<tr>
<td valign="bottom" ><span class="style2">当前播放节目</span><span class="style3">:</span><font color="#990000"><%= rs_s("name") %></font></td>
</tr>
</table>
<% End If
rs_s.close
set rs_s=nothing
%>
</body>
</html>
这是我播放的那个页面


2005-12-15 11:41
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:0 
我的意思是:

以下是引用dzt0001在2005-12-15 10:46:00的发言:

当然可以了
建一个页面asx.asp
代码如下
<!--#include file="conn.asp"-->
<ASX version = "3.0">
<%
if request("id")<>"" then
set rs=server.createobject("adodb.recordset")
id=request("id")
sql="select * from song where id ="&id
rs.open sql,conn,1,3
if not (rs.bof and rs.eof) then
%>
<entry SKIPIFREF="YES">
<title>《<%=rs("name")%>》--xx音乐网提供</title>
<ref href="<%=rs.Fields("url")%>"/>
<param name="Album" value="xx音乐网"/>
<param name="Title" value="<%=rs("name")%>"/>
</ENTRY>
<%
end if
%>
<%
sql="update song set hits=hits+1 where id ="&id
conn.execute sql
rs.Close
set rs=nothing
end if
conn.close
set conn=nothing
%>
</ASX>

在播放页面中插入以下代码,注意rm类型的不能播放
<object id="Player" width=100% height=64
classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" type=application/x-oleobject standby="Loading Windows Media Player components...">
<param name="URL" value="asx.asp?id=<%=id%>">
<param name="rate" value="1">
<param name="balance" value="1">
<param name="currentPosition" value="1">
<param name="defaultFrame" value="">
<param name="playCount" value="100">
<param name="autoStart" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value="">
<param name="volume" value="100">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="1">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="0">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value="">
<param name="SAMILang" value="">
<param name="SAMIFilename" value="">
<param name="captioningID" value="">
<param name="BufferingTime" value="5">
</object>

你可以参考一下

[此贴子已经被作者于2005-12-15 11:49:16编辑过]


----我怎能在别人的苦难面前转过脸去----
2005-12-15 11:48
快速回复:流媒体的版本信息要如何修改啊?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.049210 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved