Ⅰ 网页上在线播放视频的代码
用他本身的代码转发功能 一帖就行
Ⅱ 可以上传播放本地视频网站的源代码
你是说
要上传
自己电脑里的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)的代码就可以了。