300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > jwplayer播放器以及引入优酷播放器

jwplayer播放器以及引入优酷播放器

时间:2023-05-23 17:02:06

相关推荐

jwplayer播放器以及引入优酷播放器

独角兽企业重金招聘Python工程师标准>>>

$(document).ready(function(){var path = "${video.videoPath}";if(path.substring(0, 4)=="http"||path.substring(0, 4)=="HTTP"){$("#containers").append("<embed "+"src=\""+path +"\" "+"quality=\"high\" width=\"450\" height=\"350\" "+"align=\"middle\" allowScriptAccess=\"sameDomain\" "+ "allowFullscreen=\"true\" "+"type=\"application/x-shockwave-flash\"></embed>");}else{jwplayer("containers").setup({//flashplayer: "/js/jwPlayer/player.swf",file: "${video.videoPath}",//link:用户展示分享链接//link:"/",//image:用于设置视频预览图片image:"${video.titlePhoto}",height:350,width: 450,volume: 80,stretching: "fill",logo:"/admin/images/admin_09.png",modes: [{ type: "html5" },{ type: "flash", src: "/js/jwPlayer/player.swf" },{ type: "download" }],plugins: {sharing: { link: false }}});}});

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。