首页 > 代码库 > Joomla的在线视频播放插件:AllVideos
Joomla的在线视频播放插件:AllVideos
一个很好的插件,只需要在文章中插入一条简单的语句就可以实现视频播放,视频可以位于网站服务器上或其他视频网站的。
例如:{f4v}ShaHua-H264{/f4v}
我在使用中只有一个地方觉得需要更改:
播放完毕后会显示Share页面,或者点击播放控制条旁边的Menu也会出现share页面,对于一个公开的网站来说,实在不妙。
后来在外国的论坛找到解决方法:http://forum.joomlaworks.net/allvideos-(plugin)/disabling-the-menu-link/
You will find a file called sources.php in the following folder:
/plugins/content/jw_allvideos/jw_allvideos/includes
Before making changes in this file make a backup of it so you can go back if needed.
To get rid of the "Menu" icon completely locate the code for plugins (your ‘oncomplete‘ may be set to true).
Change:
‘plugins‘: {
‘viral-2‘: {
‘onpause‘: ‘false‘,
‘oncomplete‘: ‘false‘
}
},
to:
‘plugins‘: {},
In other words - delete everything between the plugins brackets. Remember there are two places. Works on my player.
/plugins/content/jw_allvideos/jw_allvideos/includes
Before making changes in this file make a backup of it so you can go back if needed.
To get rid of the "Menu" icon completely locate the code for plugins (your ‘oncomplete‘ may be set to true).
Change:
‘plugins‘: {
‘viral-2‘: {
‘onpause‘: ‘false‘,
‘oncomplete‘: ‘false‘
}
},
to:
‘plugins‘: {},
In other words - delete everything between the plugins brackets. Remember there are two places. Works on my player.
这样就很好咯~~!!
Developer JoomlaWorks
Website Website
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。