joomla allvideo 去掉embed share

文件位置
plugins/content/jw_allvideos/jw_allvideos/includes/sources.php
找到以下代码

jwplayer('avID_{SOURCEID}').setup({ 'file': '{SITEURL}/{FOLDER}/{SOURCE}.{FILE_EXT}', 'image': '{PLAYER_POSTER_FRAME}', 'height': '{HEIGHT}', 'width': '{WIDTH}', 'modes': [
        { 'type': 'html5' },
      { 'type': 'flash', src: '{PLUGIN_PATH}/includes/js/mediaplayer/player.swf' },
      { 'type': 'download' }
    ], 'autostart': '{PLAYER_AUTOPLAY}', 'backcolor': '{PLAYER_BACKGROUND}', 'plugins': { 'viral-2': { 'onpause': 'false', 'oncomplete': 'true' }
    }, 'controlbar': '{PLAYER_CONTROLBAR}', 'skin': '{PLUGIN_PATH}/includes/js/mediaplayer/skins/{PLAYER_SKIN}/{PLAYER_SKIN}.zip' });

去掉以下部分

'plugins': {
    'viral-2': {
        'onpause': 'false',
        'oncomplete': 'true'
    }
},

你可能感兴趣的:(joomla allvideo 去掉embed share)