Joomla的在线视频播放插件:AllVideos

本文介绍了如何通过修改插件配置文件来移除JoomlaWorks插件在视频播放结束后出现的Share页面,适用于公开网站的需求。提供了解决方案并分享了相关链接。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一个很好的插件,只需要在文章中插入一条简单的语句就可以实现视频播放,视频可以位于网站服务器上或其他视频网站的。

例如:{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

转载于:https://www.cnblogs.com/hssbsw/p/3839732.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值