简单修改JWplayer.html5.js 去除水印 和about 信息

1、修改LOGO 地址


找到
b.defaults={prefix:"http://p.jwpcdn.com/",file:"logo.png",link:p+c.version+"&m=h&e=f",linktarget:"_top",margin:8,hide:false,position:"top-right"};


prefix:"http://p.jwpcdn.com/"   修改为你的logo地址

 file:"logo.png"   修改为你的logo名称

link:p+c.version+"&m=h&e=f"    修改为link:p

用DW 打开js  找到上述地址后网上数第9行   修改u.prefix+=F+"/"   为u.prefix+="/"     


2、修改LOGO 链接


查找:http://www.longtailvideo.com/jwpabout/?a=l&v=    修改为你想链接的网址 

往下第3行 找到  u.link=p+c.version+"&m=h&e="+G  修改为 u.link=p

3、修改about 信息

(function(e){var l=jwplayer.utils,j=l.css,a="About JW Player ",m="http://www.longtailvideo.com/jwpabout/?a=r&v=",k=document,h=".jwclick",g=h+"_item",f="100%",b="none",d="5px 5px 7px rgba(0,0,0,.10), 0px 1px 0px rgba(255,255,255,.3) inset",c="#FFF";e.rightclick=function(r,p){var x=r,q,w=l.extend({aboutlink:m+e.version+"&m=h&e=o",abouttext:a+e.version+"..."},p)

修改 a="About JW Player "  为你想要的about信息

修改 m="http://www.longtailvideo.com/jwpabout/?a=r&v=",  为 你的链接地址

修改aboutlink:m+e.version+"&m=h&e=o",abouttext:a+e.version+"..."   修改为aboutlink:m,abouttext:a

你可能感兴趣的:(jwplayer)