Bonjour

Dans ma page je met un lecteur jw player
je fais donc ça
Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script src="//content.jwplatform.com/libraries/S2xWVQ9r.js">
 
  </script>
 
</head>
<body>
	  <div id="container" ></div>
	<script>
    jwplayer("container").setup({
      file: "mavideo.mp4"
    }
);
 
  </script>
</body>
Pas de soucis ça fonctionne, mais je ne veux pas que le bouton share apparaissent dans la doc il est spécifié ceci
Sharing

New to our sharing plugin in 7.2, is the inclusion of a fully-functional API. This works in conjunction with our new getPlugin() method. For instance, all of our sharing instances are using the getPlugin(‘sharing’) API call to refer to this particular plugin. The following will target our sharing plugin:

var sharingPlugin = playerInstance.getPlugin('sharing');
All sharingPlugin references below will assume that the above code is implemented on your page.

Setters

sharingPlugin.open() - Opens the sharing plugin. This will also pause content if it is triggered during playback.
sharingPlugin.close() - Closes the sharing plugin if it is opened. This will resume playback if the sharing overlay was triggered during content.
Events

sharingPlugin.on('open') - Listens for the opening of the plugin.
sharingPlugin.on('close') - Listens for the closing of the plugin.
sharingPlugin.on('click') - Triggered whenever somebody shares content from within the sharing plugin.
Returns: Label of the sharing method that was used. (method: facebook | method: link | method: embed)
je peux donc mettre en close le plug de sharing mais je ne comprend pas comment je met cette instruction.
Merci pour vos lumières