Showing results for 
Search instead for 
Do you mean 
If you don't find an answer, please click here to post your question.

Disabling/Removing Embed Function in Player V4

0 Kudos
Started ‎04-28-2017 by
Modified ‎04-28-2017 by

Disabling/Removing Embed Function in Player V4

by Community Manager on ‎04-28-2017 10:00 AM (695 Views)
To remove/disable embed function in player v4, you might want do some source code modification in "SharePanel.js". This approach is documented in "Fork and modify the source code. (HTML5, iOS SDK, and Android SDK)" section in "".

What you need to do is to download the source code for the HTML skin in "" and in it, there is a file named "SharePanel.js" which is in "/html5-skin/js/components" directory.

The following is the code section which will require you to modify:
return (
<div className="oo-content-panel oo-share-panel">
<div className="oo-tab-row">
<a className={shareTab} onClick={this.showPanel.bind(this, this.tabs.SHARE)}>{shareString}</a>
<a className={embedTab} onClick={this.showPanel.bind(this, this.tabs.EMBED)}>{embedString}</a>