首页 > 代码库 > 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.
 
这样就很好咯~~!!
 

Developer JoomlaWorks

Website Website