Keyword

How to disable share/link after playing the video?

  • dlegendkiller
  • dlegendkiller's Avatar Topic Author
  • Offline
  • New Member
More
13 years 8 months ago #42717 by dlegendkiller
Ok. here's what my client wants. After the video is done playing, he doesn't want to see the sharing thing, all he wants is the video without the menu after the video. thanks!

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

More
13 years 8 months ago #42718 by c22sail
I may be able to help with the Share Link but we are still trying to figure out how to get rid of the menu button.

Go to /plugins/content/jw_allvideos/jw_allvideos/includes and download your sources.php file.

You will find the following in two places:

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

Change the last line 'oncomplete': 'true' to 'false' so they both read like this:

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

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

  • dlegendkiller
  • dlegendkiller's Avatar Topic Author
  • Offline
  • New Member
More
13 years 8 months ago #42719 by dlegendkiller
Replied by dlegendkiller on topic Re: How to disable share/link after playing the video?
thanks! That worked perfectly!

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

More
13 years 8 months ago #42720 by c22sail
I finally figured out how to get rid of the menu button completely. Before trying this make a backup of your sources.php.

The two places you find the following code:

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


To get rid of the automatic linking at the end of the video you will recall we set 'oncomplete': 'false'.

I tried this, change: 'plugins': {
        'viral-2': {
            'onpause': 'false',
            'oncomplete': 'true'

To get rid of the "Menu" icon completely try this.

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.

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

More
13 years 8 months ago #42721 by c22sail
One minor point about this change: In Firefox I saw no issues. However in IE9 I noticed that the skin when using {mp3} is different. The video player looks and acts how I want in both IE and Firefox and I am really not concerned with the mp3 audio. Just thought I would point that out.

It may be something the developer can address now that we know how to get rid of the menu.

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

More
13 years 8 months ago #42722 by c22sail
I think I finally have all of this worked out. In another topic called "Change audio player skin" I talked about how to change the skin. The first way I described, worked until I removed the MENU icon as described in this topic. It caused some problems after I removed the MENU icon. The method I described for removing the MENU icon does not change.

I went back and revisited how to change the skin and solved the problem. So I have posted a second method to change the audio player skin and all is well. My discussion on changing the audio player skin also changes the video player skin as the two are the same.

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


Powered by Kunena Forum