type=text/cssrel=stylesheet>rel="SHORTCUTICON">vartinfo={pdate:"2008-08-2810:26:13" />

谁有优酷视频播放器 源代码呢 谢谢大家啦 - Web 开发 - ASP

?

谁有优酷视频播放器 源代码呢 谢谢大家啦 - Web 开发 / ASP


content="大家好呀 知道优酷播放器代码 朋友 在此帮我贴在这里好吗 十分感谢 主要和优酷播放效果一模一样 知道代码参数 解释 兄弟在此给你们加分"
name=description>type=text/css rel=stylesheet>rel="SHORTCUT ICON">









value=https://www.360docs.net/doc/3014734595.html,/PointForum/UserCard.ashx?user=>




href="javascript:;">收藏 class=prime csdnid="prime">name=top>谁有优酷视频播放器
源代码呢 谢谢大家啦
[问题点数:csdnid="point">20csdnid="check">,无满意答案结帖,结帖人:mglthunder]











楼主发表于:2008-08-28 10:26:13









大家好呀,知道优酷播放器代码的朋友 在此帮我贴在这里好吗
十分感谢!

主要和优酷播放效果一模一样,知道代码参数的解释的 兄弟在此给你们加分!












#1楼 得分:0回复于:2008-08-28 11:16:30
name=r_51864013>






class=msgfont>不是U酷的,但是很像

效果就是https://www.360docs.net/doc/3014734595.html,里的在线视频

代码:

在那里看就行了












#2楼 得分:0回复于:2008-08-28 14:08:40
name=r_51869362>






一楼的 兄弟,那个网址打不开,优美更详细的代码,谢谢啦












#3楼 得分:0回复于:2008-08-28 15:35:48
name=r_51871838>






<embed
src="https://www.360docs.net/doc/3014734595.html,/player.php/sid/XMzQ5NzM2/v.swf"
quality="high" width="480" height="400" align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"></embed>












#4楼 得分:0回复于:2008-08-28 16:51:05
name=r_51874520>





y_51874520 csdnid="rbody_51874520">

class=msgfont><embed
src="https://www.360docs.net/doc/3014734595.html,/articleimg/2006/08/3995/vcastr.swf?vcastr_file=https://www.360docs.net/doc/3014734595.html,/vod/UploadFile/2008-6/德国侦察兵那叫一个衰啊_1.flv
" showMovieInfo=1
pluginspage="https://www.360docs.net/doc/3014734595.html,/go/getflashplayer"
type="application/x-shockwave-flash" wmode="transparent"
quality="high" width="335" height="252"></embed>












#5楼 得分:0回复于:2008-09-01 08:26:01
name=r_51949316>






我就是想找 3 楼用户那种的
播放器代码,你这里只是大包文件,有没有网页中嵌套的播放器代码呀?














#6楼 得分:0回复于:2008-09-01 08:58:52
name=r_51950029>






class=msgfont>优酷的电影播放都是采用flash格式,播放swf格式文件,应该不难吧,在Dreamweaver里就能直接添加。












#7楼 得分:0回复于:2008-09-02 13:37:05
name=r_51984137>








引用 4 楼 wwtdan 的回复:
<embed

src="https://www.360docs.net/doc/3014734595.html,/articleimg/2006/08/3995/vcastr.swf?vcastr_file=https://www.360docs.net/doc/3014734595.html,/vod/UploadFile/2008-6/德国侦察兵那叫一个衰啊_1.flv
" showMovieInfo=1
pluginspage="https://www.360docs.net/doc/3014734595.html,/go/getflashplayer"
type="application/x-shockwave-flash" wmode="transparent"
quality="high" width="335" height="252"> </embed>



https://www.360docs.net/doc/3014734595.html,
怎么会打不开,我刚才还打开了,因为里面加载的文件,我把代码贴出来也没用,你得下载加载的那两个文件












#8楼 得分:0回复于:2008-09-02 13:37:46
name=r_51984170>






class=msgfont>错了。应该引用楼主的话












#9楼 得分:0回复于:2008-09-04 13:49:41
name=r_52037307>






谢谢 4 楼兄弟,只是哥们儿有点儿 笨拙呀,有没有知道在线写出来的具体代码 或者 打包下载地址呢












#10楼 得分:0回复于:2008-09-04 15:00:42
name=r_52040006>






用法:
加载common.js
网页内调用代码:
<div
id="flv_vcastr_3s"></div>
<script
language="javascript" type="text/javascript">
  var
Arrs_flv_vcastr_3=Array();
 
Arrs_flv_vcastr_3['_file']='视频路径';
 
Arrs_flv_vcastr_3['_title']='视频名称';
 
document.getElementById('flv_vcastr_3s').innerHTML=vcastrPlayer(500,350,Arrs_flv_vcastr_3['_file'],Arrs_flv_vcastr_3['_title'],'',1);
</script>

common.js代码

function
vcastrPlayer(_width,_height,_file,_title,_LogoText,IsAutoPlay)
{
if (typeof(IsAutoPlay)=='undefined') IsAutoPlay=0;
if
(typeof(_LogoText)=='undefined') _LogoText='';
var
PlayerSRC='../avi/22.swf';
var
FlashVars='vcastr_file='+_file+'&vcastr_title='+_title+'&IsAutoPlay='+IsAutoPlay+'&IsContinue=1&LogoText='+_LogoText;
var
PlayerHTML;
PlayerHTML=('<object
classid="clsid:d27cdb6e-ae6d-11cf

-96b8-444553540000"
codebase="https://www.360docs.net/doc/3014734595.html,/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="'+_width+'"
height="'+_height+'">');
PlayerHTML+=('<param name="movie"
value="'+PlayerSRC+'"><param name="quality"
value="high">');
PlayerHTML+=('<param name="menu"
value="false" /><param name="allowFullScreen" value="true"
/>');
PlayerHTML+=('<param name="FlashVars"
value="'+FlashVars+'">');
PlayerHTML+=('<embed
src="'+PlayerSRC+'" allowFullScreen="true" FlashVars="'+FlashVars+'"
menu="false" quality="high" width="'+_width+'" height="'+_height+'"
type="application/x-shockwave-flash"
pluginspage="https://www.360docs.net/doc/3014734595.html,/go/getflashplayer"
/></object>'); 
return
PlayerHTML;
}

我觉得样式还是挺好看的
有一个缺点就是只能播放flv文件


相关文档
最新文档