Ⅰ 網頁上在線播放視頻的代碼
用他本身的代碼轉發功能 一帖就行
Ⅱ 可以上傳播放本地視頻網站的源代碼
你是說
要上傳
自己電腦里的mv么?根據步驟,我建議的步驟如下:1.你可以去土豆(或者是別的什麼視頻網站,56、優酷什麼都行)申請個號,先上傳到土豆上。2.打開,在視頻下面就能看到
「把視頻貼到我的博客或BBS」這個選項,點開,有三個地址,選FLASH的那個復制(我建議你復制這個,因為這個一般不會卡,當然也可以用
另外兩個地址,不過要在空間建的
模塊就不同了而已,但基本步驟一樣的)3.再在
空間
自定義
里選擇
模塊
新建模塊
FLASH
模塊
在
「Flash動畫地址:」
那把復制的那個地址粘貼上(要是你開始復制是
HTML代碼
,那就選擇
視頻模塊)。
4.建好了,可以改變大小,位置什麼的了----估計你也是肯定會了。5.最後保存好了。要是直接要從
網上來貼mv
,就從第二步開始好了(也就是不用自己費事往別的地方上傳了)。這全我自己打出來的哈,夠意思的吧……
如果幫助到您,請記得採納為滿意答案哈,謝謝!祝您生活愉快!
參考資料:
http://vae.la
Ⅲ 怎麼在asp網頁上加一個在線視頻播放功能!已經有了播放器源碼
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>視頻廣告</title>
<style type="text/css">
<!--
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body onselectstart="return false;">
<noscript><iframe src=*.html></iframe></noscript>
<script>
function stop(){
return false;
}
document.oncontextmenu=stop;
</script>
<%
sql="select * from [video] order by id desc"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,1
%>
<SCRIPT language=javascript>
var title = new Array();
var videourl = new Array();
var imagurl = new Array();
var cursel = 0;
<%
for i=1 to rs.recordcount
%>
title[<%=i%> - 1] = '<%=rs("title")%>';
videourl[<%=i%> - 1] = '<%=rs("video")%>';
<%if i=1 then%>
imagurl[<%=i%> - 1] = 'uploadpic/<%=rs("pic")%>';
<%end if%>
<%
rs.movenext
next
%>
</SCRIPT>
<!--#include file="top.asp" -->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/tv_r2_c1.jpg"></td>
</tr>
</table>
<table width="760" height="573" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="168" height="573" rowspan="2" background="images/tv_1.gif" bgcolor="#3C3D3F"><div align="left"><img src="images/tv_22.jpg" width="168" height="573"></div></td>
<td width="592" height="452" valign="top" bgcolor="#232323"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="images/tv_3.jpg" width="592" height="47"></td>
</tr>
<tr>
<td width="23" height="318"><img src="images/tv_8.jpg" width="23" height="318"></td>
<td width="537"><table width="537" height="318" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" valign="top"><LAYER name="Layer1" left="361" top="0" z-index="1"
width="537" height="318" id=Layer1>
<DIV id=MaskIMG
style="Z-INDEX: 2; VISIBILITY: hidden; POSITION: absolute"><IMG
height=318 src="images/loading.gif" width=537
border=0></DIV>
<DIV id=MaskPreIMG
style="Z-INDEX: 2; VISIBILITY: visible; POSITION: absolute"><img
id=imag1 onClick=SetVideoSource(0) height=318 alt=點擊播放視頻
width=537 border=0></DIV>
<!--init mask-->
<DIV id=MPlayer
style="Z-INDEX: 3; VISIBILITY: hidden; POSITION: absolute">
<OBJECT id=NSPlay
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type=application/x-oleobject height=318
standby="載入 Microsoft Windows Media Player 組件..." width=537
classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95 VIEWASTEXT><PARAM NAME="FileName" VALUE=""><PARAM NAME="AutoStart" VALUE="true"><PARAM NAME="AutoRewind" VALUE="-1"><PARAM NAME="AnimationAtStart" VALUE="false"><PARAM NAME="ShowControls" VALUE="false"><PARAM NAME="ClickToPlay" VALUE="false"><PARAM NAME="EnableContextMenu" VALUE="true"><PARAM NAME="EnablePositionControls" VALUE="false"><PARAM NAME="Balance" VALUE="0"><PARAM NAME="ShowStatusBar" VALUE="false"><PARAM NAME="AutoSize" VALUE="0">
<embed
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Procts/MediaPlayer/"
filename src autostart="false" enablecontextmenu="false"
clicktoplay="false" enablepositioncontrols="false"
showcontrols="0" showstatusbar="1" showdisplay="0" width="272"
height="201"></embed></OBJECT></DIV></LAYER></td>
</tr>
</table></td>
<td width="32" valign="top"><img src="images/tv_9.jpg" width="32" height="318"></td>
</tr>
<tr>
<td colspan="3"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/tv_10.jpg" width="592" height="17"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/tv_13.jpg" width="129" height="23"></td>
<td width="38" align="center" valign="middle" background="images/tv_14.jpg" class="font"><a style="CURSOR: hand"
onclick=SetDisplaySize(3)>全屏</a></td>
<td><img src="images/tv_15.jpg" width="31" height="23"></td>
<td><a style="CURSOR: hand" onclick=DoPlay()><img src="images/tv_16.jpg" alt="播放" width="26" height="23" border="0"></a></td>
<td><img src="images/tv_17.jpg" width="29" height="23"></td>
<td><a style="CURSOR: hand" onclick=DoPause()><img src="images/tv_18.jpg" alt="暫停" width="27" height="23" border="0"></a></td>
<td><img src="images/tv_19.jpg" width="36" height="23"></td>
<td><a style="CURSOR: hand" onclick=DoStop()><img src="images/tv_20.jpg" alt="停止" width="25" height="23" border="0"></a></td>
<td><img src="images/tv_21.jpg" width="251" height="23"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/tv_12.jpg" width="592" height="49"></td>
</tr>
</table></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="5" cellpadding="0">
<tr>
<%
rs.movefirst
for o=1 to rs.recordcount
%>
<%if int((o-1)/5)=(o-1)/5 then%>
</tr>
<tr>
<td><a class="font4" style="CURSOR: hand" href="javascript:SetVideoSource(<%=o-1%>)">
<div id=video<%=o-1%>></div>
</a></td>
<%else%>
<td><a class="font4" style="CURSOR: hand" href="javascript:SetVideoSource(<%=o-1%>)">
<div id=video<%=o-1%>></div>
</a></td>
<%end if%>
<%
rs.movenext
next
%>
<script language=JavaScript>
<%
rs.movefirst
for p=1 to rs.recordcount
%>
video<%=p-1%>.innerHTML = title[<%=p-1%>];
<%
rs.movenext
next
%>
</script>
</tr>
</table></td>
</tr>
<tr>
<td valign="top" bgcolor="#232323"> </td>
</tr>
</table>
<!--#include file="foot.asp" -->
<SCRIPT language=JavaScript>imag1.src = imagurl[0];</SCRIPT>
<SCRIPT language=JavaScript>
<!--
var Player;
var isplaying;
var ispause;
var isstop;
isstop = false;
isplaying = false;
ispause = false;
Player = "document.NSPlay";
var filename = '';
function DoPlay()
{
if (!isplaying)
{
if (eval(Player).FileName == '')
{
SetVideoSource(0);
return;
}
eval(Player).Play();
isplaying = true;
ispause = false;
isstop = false;
MaskIMG.style.visibility = "hidden";
MaskPreIMG.style.visibility= "hidden";
MPlayer.style.visibility = "visible";
adimage.style.visibility= "hidden";
}
}
function DoStop()
{
if (isplaying || ispause)
{
eval(Player).CurrentPosition = 0;
eval(Player).Stop();
eval(Player).FileName = '';
MPlayer.style.visibility = "hidden";
MaskPreIMG.style.visibility = "visible";
isstop = true;
isplaying = false;
ispause = false;
}
}
function DoPause()
{
if (isplaying)
{
eval(Player).Pause();
isplaying = false
ispause = true
isstop = false;
}
}
function SetSource(srcname)
{
isplaying = true;
ispause = false
isstop = false;
filename = srcname;
eval(Player).FileName = srcname;
MaskPreIMG.style.visibility = "hidden";
MaskIMG.style.visibility = "hidden";
MPlayer.style.visibility = "visible";
}
// 全屏 setting=3
// 100% setting=0
// 50% setting=1
// 200% setting=2
function SetDisplaySize(setting)
{
if (isplaying)
eval(Player).DisplaySize = setting;
}
-->
</SCRIPT>
<SCRIPT language=JScript event=EndOfStream(lResult) for=NSPlay>
DoStop()
</SCRIPT>
<SCRIPT language=JavaScript event=Buffering(bStart) for=NSPlay>
if (bStart == 0){
//alert(BufferingProgress);
MPlayer.style.visibility = "visible";
MaskIMG.style.visibility = "hidden";
MaskPreIMG.style.visibility = "hidden";
}
else{
//alert(1);
MPlayer.style.visibility = "hidden";
MaskIMG.style.visibility = "visible";
MaskPreIMG.style.visibility = "hidden";
}
</SCRIPT>
<SCRIPT language=JavaScript type=text/JavaScript>
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</SCRIPT>
<SCRIPT language=JavaScript>
var playitem = 0;
function SetVideoSourcebak(sel)
{
DoStop();
adimage.style.visibility = "visible";
MPlayer.style.visibility = "hidden";
playitem = sel;
setTimeout("beginplay()",5000);
}
function beginplay()
{
adimage.style.visibility = "hidden";
MPlayer.style.visibility = "visible";
SetSource('mms://'+videourl[playitem]);
}
function SetVideoSource(sel)
{
SetSource('mms://'+videourl[sel]);
}
</SCRIPT>
<!--視頻廣告消除-->
<SCRIPT language=Javascript>
function disablead()
{
adimage.style.visibility = "hidden";
}
//setTimeout("disablead()",5000);
</SCRIPT>
</body>
</html>
Ⅳ 求在線點播觀看視頻的java web系統,需帶源碼
還是自己一個模塊一個模塊寫吧!這不是個小工程,沒有人會給你源碼的。 其中具體哪個模塊有問題大家可以幫助你,但你這個要求也太......
Ⅳ 支持視頻在線播放上傳功能的新聞站整站源碼
愛莫能助
Ⅵ 視頻源碼 如何在網頁播放!
用專業的軟體轉換格式後再播放
Ⅶ 求在線視頻播放代碼(已經處理好的rm影片)
<OBJECT ID=video1 CLASSID="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" HEIGHT=288 WIDTH=352> <param name="_ExtentX" value="9313">
<param name="_ExtentY" value="7620">
<param name="AUTOSTART" value="0">
<param name="SHUFFLE" value="0">
<param name="PREFETCH" value="0">
<param name="NOLABELS" value="0">
<param name="SRC" value="rtsp://cyxxg.com/vod/a.rm";>
<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"><embed SRC type="audio/x-pn-realaudio-plugin" CONSOLE="Clip1" CONTROLS="ImageWindow" HEIGHT="288" WIDTH="352" AUTOSTART="false"> </OBJECT>
搞定收工~~~~~~~~~
Ⅷ 怎樣通過查看在線視頻的源代碼下載該視頻
維棠FLV視頻下載軟體 你去試下吧~
Ⅸ 在網頁中加入播放視頻的代碼是什麼
今天教給大家一個簡單方法,實現在網頁中播放視頻文件。
開啟分步閱讀模式
工具材料:
網頁設計
操作方法
01
首先打開電腦上的記事本文件,點擊文件菜單下的保存,把空文件保存為video.html 。
02
然後在記事本中輸入網頁的基本結構代碼,<html><body></body></html>
03
使用Enter回車在<body></body>之間留出幾行空白,然後放置<video></video>代碼,設置width=320 height=240 controls=controls 。
04
然後在<video></video>之間使用Enter空出幾行空白,輸入<source>,定位src和type 。
05
檢查文本代碼,確認沒有丟漏標識符,點擊文件-保存,將內容保存下。
06
進入文件的保存目錄,雙擊video.html文件,打開後在網頁上顯示定義好的視頻文件,點擊播放按鈕,順利正常播放,代碼添加成功。
Ⅹ 怎麼查看在線視頻播放頁面的源代碼
你想看什麼源代碼,視頻編碼格式還是視頻網頁上視頻的源網址
源網址的話:
頁面停留在視頻的頁面上,然後按f12;
將滑鼠放入下面的div模塊上面,就會出現頁面所代表的結構塊;
最後在裡面的div塊中找出屬於視頻的那一個div;
然後直接復制裡面的video(或embed)的代碼就可以了。