Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Custom Sharing Links


<script type="text/javascript">
var playerInstance =jwplayer("container")
playerInstance.setup({
file: "/uploads/video.mp4",
sharing: {
code: encodeURI("<iframe src='http://example.com/embed/12345.html' />"),
link: "http://example.com/page/12345/"
}
});
</script>

By this code, user can simple set custom sharing code overlay. But they have to store video in this website(file: "/uploads/video.mp4").
I am a platform user, I have stored all videos in jw server.
I have enabled social sharing in my video players. but how can I change share overlay links for every single videos?

3 Community Answers

George

JW Player Support Agent  
0 rated :

Could you please send me the test page that is having the issue?

mauricio

User  
1 rated :

http://dreamssoft.net/jwplayer/index2.php

I want to add custom share links/replace current share links..

George

JW Player Support Agent  
0 rated :

Hello Mauricio,
I fixed your player. The issue was your library specified the sharing codeblock and was not overriden by your setup code on the site. Check you your new page here:
http://dreamssoft.net/jwplayer/index2.php

This question has received the maximum number of answers.