VLC player,jwplayer视频如何下载,ckPlayer它们的差别在哪

[求助]帝国怎么调用jwplayer播放器啊?
帝国cms - 安全、强大、稳定、灵活
&1/2 &&&&1&&&
用户头衔:书生
精华贴&&&:0
发贴数&&&:34
经验值&&&:170
注册时间:
【】&&&[第&1&楼]
[求助]帝国怎么调用jwplayer播放器啊?
帝国怎么调用jwplayer播放器啊?昨天忙了一晚,还是不知道怎么用所谓内置的jwplayer,希望能出一个jwplayer使用教程啊!
已设置保密
用户头衔:书生
精华贴&&&:0
发贴数&&&:34
经验值&&&:170
注册时间:
【】&&&[第&2&楼]
怎么没人回应啊,好像内置的这个jwplayer不能用啊
已设置保密
用户头衔:书生
精华贴&&&:0
发贴数&&&:34
经验值&&&:170
注册时间:
【】&&&[第&3&楼]
我按下面的说明也没成功,真郁闷
帝国CMS-视频播放器集合插件使用说明 帝国CMS - 最安全、最稳定的开源CMS系统 一、显示效果:
二、使用语法说明 (一)、【显示视频播放器JS函数语法说明】 1、格式: &script src=&/e/data/modadd/moreplayer/empirecmsplayer.js&&&/script&&script&EmpireCMSPlayVideo('播放器类型','视频地址','显示宽度','显示高度',是否自动播放,'帝国CMS网站地址');&/script& 参数说明: 播放器类型: 设为空''或'auto'为自动识别设为'flash'为采用flash播放器设为'jwplayer'为采用jwplayer播放器设为'realplayer'为采用realplayer播放器设为'mediaplayer'为采用mediaplayer播放器 视频地址: 填要播放的视频地址,比如: 显示宽度: 视频显示的宽度。 显示高度: 视频显示的高度。 是否自动播放: 0为不自动播放,1为自动播放。 帝国CMS网站地址: 要以“/”结尾,也就是后台系统参数设置的网站地址,模板中用“[!--news.url--]”即可。
&&2、使用范例1: &script src=&[!--news.url--]e/data/modadd/moreplayer/empirecmsplayer.js&&&/script&&script&EmpireCMSPlayVideo('auto','[!--movieurl--]','600','400',0,'[!--news.url--]');&/script& (其中例子中的“[!--movieurl--]”是假设视频地址字段名是movieurl,“[!--news.url--]”为网站地址。) 3、使用范例2:(不加到模板,直接在html页面中播放视频) &script src=&/e/data/modadd/moreplayer/empirecmsplayer.js&&&/script&&script&EmpireCMSPlayVideo('auto','http://localhost/file/movie.flv','600','400',0,'/');&/script& 4、使用范例3:(播放电影系统模型中的第一个视频地址) &?php$onlinepath=$navinfor['onlinepath'];//取得onlinepath字段内容$olr=explode(egetzy('rn'),$onlinepath);$olfr=explode('::::::',$olr[0]);?&&script src=&[!--news.url--]e/data/modadd/moreplayer/empirecmsplayer.js&&&/script&&script&EmpireCMSPlayVideo('auto','&?=$olfr[1]?&','600','400',0,'[!--news.url--]');&/script& &&(二)、【完整范例】 &!DOCTYPE HTML PUBLIC &-//W3C//DTD HTML 4.01 Transitional//EN&&&html&&head&&meta http-equiv=&Content-Type& content=&text/ charset=gb2312&&&title&视频播放&/title&&/head&&body&&table&&tr&&td&&script src=&/e/data/modadd/moreplayer/empirecmsplayer.js&&&/script&&script&EmpireCMSPlayVideo('auto','http://localhost/file/movie.flv','600','400',0,'/');&/script&&/td&&/tr&&/table&&/body&&/html& && &&--------------------------------------------------------------------------------官方网站 | 论坛交流 | 产品中心 | 产品下载中心
上传以下附件:[](文件大小:7.37 KB,下载次数:35)
已设置保密
用户头衔:探花
精华贴&&&:0
发贴数&&&:5712
经验值&&&:14461
注册时间:
【】&&&[第&4&楼]
看后台的标签语法说明
已设置保密
用户头衔:书生
精华贴&&&:0
发贴数&&&:34
经验值&&&:170
注册时间:
【】&&&[第&5&楼]
原帖由 pw8 于
13:37:40 发表看后台的标签语法说明谢谢提示,但将说明看完,也试了很多次,还是没成功,能不能详细指点一下啊?
已设置保密
用户头衔:举人
精华贴&&&:0
发贴数&&&:251
经验值&&&:1102
注册时间:
【】&&&[第&6&楼]
已设置保密
用户头衔:书生
精华贴&&&:0
发贴数&&&:42
经验值&&&:228
注册时间:
【】&&&[第&7&楼]
不是详细不详细的问题,是这个根本不能用,我调用的会提示错误,是jw播放器提示的,估计是视频地址的问题
这是我的个性签名
已设置保密
用户头衔:书生
精华贴&&&:0
发贴数&&&:13
经验值&&&:43
注册时间:
【】&&&[第&8&楼]
运用了,技术请留言
已设置保密
用户头衔:书生
精华贴&&&:0
发贴数&&&:8
经验值&&&:37
注册时间:
【】&&&[第&9&楼]
这种装逼的 东西 你还在用啊&&不要用了 用youdiancms 那个比较 傻瓜点
已设置保密
用户头衔:进士
精华贴&&&:0
发贴数&&&:1181
经验值&&&:5109
注册时间:
【】&&&[第&10&楼]
帝国本身播放器我也不用,我用的是ckplayer和jplayer两种播放器。
潇风工作室
专注帝国模板、插件/
已设置保密
&1/2 &&&&1&&&
使用EBB代码
使用smile代码
自动分析url
自动分析img
&&(按 Ctrl+Enter 直接提交)
Powered by:&&Version 2.2.1对于一个成功的产品,它是对外封闭的,但又是对外开放的,这句话并不矛盾,让我来说一下,说它对外封闭是因为它本身的代码不允许你去修改,而说它开放,是因为它为我们定义了很多API,或者叫回调方法,对于jwplayer来说,它为我们提供了很多js的回调方法(事件),它被包含在events属性上的.
播放时记录当前视频的时间,播放完成时写入完成的时间,像这些功能,我们都可以通过事件回调的方法解决,即为events属性赋相应的值.
测试时,jwplayer需要在正式网站上测试,而本地打开时,它的events属性是不启作用的
events 实例
var player = jwplayer("mediaplayer").setup({
flashplayer: "player.swf",
file: 'http://localhost/222.mp4',
autostart: "true",
bufferlength: '20',
width: '400',
height: '400',
image: '111.jpg',
onComplete: function () { console.log("播放结束!!!"); },
onVolume: function () { console.log("声音大小改变!!!"); },
onReady: function () { console.log("准备就绪!!!"); },
onPlay: function () { console.log("开始播放!!!"); },
onPause: function () { console.log("暂停!!!"); },
onBufferChange: function () { console.log("缓冲改变!!!"); },
onBufferFull: function () { console.log("视频缓冲完成!!!"); },
onError: function (obj) { console.log("播放器出错!!!" + obj.message); },
onFullscreen: function (obj) { if (obj.fullscreen) { console.log("全屏"); } else { console.log("非全屏"); } },
onMute: function (obj) { console.log("静音/取消静音") }
其它回调方法
player.onBufferChange(function () { alert("缓冲改变!!!"); });
player.onBufferFull(function () { alert("视频缓冲完成!!!"); });
player.onError(function (obj) { alert("播放器出错!!!" + obj.message); })
player.onFullscreen(function (obj) {
if (obj.fullscreen) { alert("全屏"); }
else { alert("非全屏"); }
player.onMute(function (obj) { }) // obj. mute是否静音
player.onPlaylist(function (obj) { //视频列表载入完成
alert(obj.playlist[0]['file']);
var callback = function () { alert("callback");};//定义一个回调方法
player.onPlaylistItem(callback) // 开始播放一个视频时触发obj.index为视频索引
player.onReady(callback) //准备就绪
player.onResize(callback) //obj.width obj.height
//进入播放时触发obj.oldstate 值:从BUFFERING PAUSE状态进入播放状态
player.onPlay(callback)
//进入暂停obj.oldstate 值1:从PLAYING BUFFERING状态进入暂停
player.onPause(callback)
player.onBuffer(callback) //进入加载obj.oldstate 值PLAYING, PAUSED or IDLE
player.onIdle(callback) //进入空闲obj.oldstate 值PLAYING, PAUSED or BUFFERING.
player.onComplete(callback) //结束播放
player.onVolume(callback) //obj.volume
player.onPlay(function () {
console.log(this.getPosition());
我们看到上面的player是它当前的jwplayer对象,有了这个对象,我们就可以在程序的其它位置调用jwplayer的相关回调方法了,如果你没有定义player对象,也可以通过索引
的方式去访问jwplayer实例,如jwplayer(0)表示第一个jwplayer对象.
阅读(...) 评论()编译jwplayer 6.10 master
暂借html5请教一个问题,打扰。
网上baidu出来关于jwplayer的编译,都是一个模子的,并且都是过时的。
jwplayer现在是通过github管理,版本是6.10&master了。
他提供的readme及其不完善,比如现在版本需要安装python,他只字未提。
19:28&&&[]
version未定义。
将PlayerVersion.as打开,将JWPLAYER::version修改为“6.12.0”等特定版本编号。
修改D:\jwplayer-master\src\flash\com\longtailvideo\jwplayer\view
10:03&&&[]
我下载了一个tslib-master,
一路顺畅,但最后到make&install时出错了:
#./autogen.sh
#./configure&--host=arm-linux&--prefix=/usr/local/tslib
16:56&&&[]
我下载了一个tslib-master,
一路顺畅,但最后到make&install时出错了:
#./autogen.sh
#./configure&--host=arm-linux&--prefix=/usr/local/tslib
16:18&&&[]
怎样在播放界面显示视频列表?
thePlayer&=&jwplayer('container').setup({
&&&&&&&&&&&&&nbsp
21:01&&&[]
单页内多个jwplayer对象停止问题,一直没有找到单页内多个jwplayer播放器停止问题,点击其中一个停止其他播放器; 整个播放代码Remove(),这样就可以停止了,也在ie下防止暂停不了、重音的情况, html部分(我的是循环)
&ul& &li class=&quot
17:16&&&[]
对于一个成功的产品,它是对外封闭的,但又是对外开放的,这句话并不矛盾,让我来说一下,说它对外封闭是因为它本身的代码不允许你去修改,而说它开放,是因为它为我们定义了很多API,或者叫回调方法,对于jwplayer来说,它为我们提供了很多js的回调方法(事件),它被包含在events属性上的
10:10&&&[]
运用jwplayer.js进行视频播放,,如何去除掉它的背景色,是黑色的
以及去除掉状态栏?
回复讨论(解决方案)
建议用ckplayer,国人自己开发的,非常适合国情:
jwplayer是收费的,你购买后就可以自定义了
-18:52&&&[]
的写操作&&然后拷贝A的文件到C
如果是innodb&&可以在线mysqldump&--single-transaction&--master-data=2这样备份A&&&再到C还原
13:04&&&[]
23:52&&&[]
-18:00&&&[]
CHANGE&MASTER&TO&MASTER_HOST=&&在5.0里面可以清空slave的信息,在5.1中不行了,被当bug改了,谁知道怎么样可以清空?
回复讨论(解决方案)
mysql&&show&nbsp
21:12&&&[]ejwplayer | Extension | Yii PHP Framework
Yii 1.1: ejwplayer
9 followers
EjwPlayer is a Yii widget for embedding JWPlayer 6.0 into your web applications.
If you have purchased the licensed player, swap out the files in 'assets' with your copies.
Github Repo: /paulsz/EjwPlayer
*NOTE: I have not tested this widget with all possible combinations of JW settings. If you come accross
any bugs, please let me know.
Installation
Either clone or unzip the directory into protected/extenstions/EjwPlayer
(or other relevant folder based on your setup).
Here is an example of embedding a 2-video playlist, with 2 bitrates for each (270p and 720p):
&?php $this-&widget('ext.EjwPlayer.EjwPlayer',array(
'width' =& 1280,
'height' =& 720,
'title' =& 'My Test Video',
'controls' =& 'false',
'playlist' =& array(
'image' =& '/sample-preview.jpg',
'sources' =& array(
array('file' =& '/videos/sample-270.mp4', 'height' =& 270),
array('file' =& '/videos/sample-720.mp4', 'height' =& 720),
'image' =& 'https://eduk-videos./sey//js-speaker5-preview.jpg',
'sources' =& array(
array('file' =& '/videos/sample2-270.mp4', 'height' =& 270),
array('file' =& '/videos/sample2-720.mp4', 'height' =& 720),
For a full list of JWPlayer configuation, see /support/jw-player/.
//Primary Configuration
$filepath = File destination for the video, if embedding only a single file and format
$streampath = Stream destination. Will be combined with $filepath to produce the source video
$image = Preview image for a single video
$title = Title of the video
$div = (default: 'media') The div id for the video. Make sure this is unique for each player on a page.
//Layout Configuration
$controls = (default: true) Whether to display player controls
$width = Width of the player
$height = Height of the player
$skin = Path to a skin file for this player
$stretching = (default: 'uniform') Options are: none, exactfit, uniform, fill
//Playback Configuration
$autostart = (default: 'false') Whether to start the video automatically
$fallback = (default: 'true') Whether to provide a download link if HTML5 and Flash not supported
$primary = (default: 'html5') The primary video player, either 'html5' or 'flash'
$mute = (default: 'false') Whether to remove audio
$repeat = (default: 'false') Whether to repeat the video after completition
//Advanced Configuration
$plugins = (Array) Optional plugins provided. See
$playlist = (Array) Playlist options. See example above.
$listbar = (Array) Playlist bar options. See /support/jw-player/28842/working-with-playlists/.
$rtmp = (Array) Streaming options. See /support/jw-player/28854/using-rtmp-streaming
$captions (Array) Caption options. See /support/jw-player/28845/adding-video-captions
$logo = (Array) Configure your watermark. (Licensed versions only)
$ga = (Array) Google Analytics settings.
$key = Key for JW Ads
Great extension
This is the best yii extension for jw player (also, the newest version of jw player afaik). Great work!
Is it possible to add the option for responsiveness to the extension?
/customer/portal/articles/1406644-making-jw-player-responsive
Wav file support
Hi, I have been using
Yii extension and it supports wav file format.
But I tried to use this extension and it seems to be not supporting wav file... but works great with mp3 files.
Exactly what I needed
Downloading and testing... Looks great, congrats
Related Extensions
Yii Supporters
Copyright & 2016 by .
All Rights Reserved.

我要回帖

更多关于 jwplayer视频如何下载 的文章

 

随机推荐