Keyword

Remove 'Menu' From control bar

  • James Royal
  • James Royal's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 10 months ago #49358 by James Royal
Remove 'Menu' From control bar was created by James Royal
Hi
With the Theora video player control bar location how can I remove the 'Menu" has I don't want others to be able to embed  the videos
I am sure the coding can be removed from a script somewhere

Cheers

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #49359 by c22sail
Replied by c22sail on topic Re: Remove 'Menu' From control bar
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.

Please Log in or Create an account to join the conversation.

  • James Royal
  • James Royal's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 10 months ago #49360 by James Royal
Replied by James Royal on topic Re: Remove 'Menu' From control bar
Thanks for the update

/plugins/content/jw_allvideos/jw_allvideos/includes/sources.php

Strange thing i just removed all
'plugins': {
        'viral-2': {
            'onpause': 'false',
            'oncomplete': 'false'
        }
      },
to leave
'backcolor': '{PLAYER_BACKGROUND}',
'controlbar': '{PLAYER_CONTROLBAR}',

it still worked without the = 'plugins': {},

Cheers

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum