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

Customizing Message for Twitter Share (Player V4)

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

Customizing Message for Twitter Share (Player V4)

by Community Manager on ‎04-28-2017 09:50 AM (432 Views)


1. 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. This is the one that is used to generate the Twitter, Facebook, etc for sharing.

2. Modify the source code for Twitter here to append any additional information.

handleTwitterClick: function() {
var twitterUrl = "";
twitterUrl += "?text=" + encodeURIComponent(this.props.contentTree.title+": ");
twitterUrl += "&url=" + encodeURIComponent(location.href);, "twitter window", "height=300,width=750");

Note that the customised skin should be hosted at your web server. The player v4 should point to your customized skin.