XFileSharing Pro - JWPlayer plugin help

Message
Author
Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

JWPlayer plugin help

#1 Postby Rihan » Mar 09, 2012 5:19 am

How can i add this plugin in jwplayer? any help please?

Code: Select all

http://www.longtailvideo.com/addons/plugins/110/Sharing

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#2 Postby Rihan » Mar 09, 2012 9:38 am

bump!

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#3 Postby ankurs » Mar 09, 2012 11:16 am

modify index_dl.pm file

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#4 Postby Rihan » Mar 09, 2012 1:49 pm

i know i have to modify index_dl.pm but embed code does not working. what will be sharing.code for iframe embed code? any help please?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#5 Postby ankurs » Mar 10, 2012 5:49 am

you will need to modify the player plugin itself and is not related to xfs

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#6 Postby Rihan » Mar 10, 2012 11:22 am

yes i know but will be helpful for me if someone can help me coz still i could not able to figure out how to add it. i stuck at sharing.code what will be the code to show the iframe. someone please help. here is the code:

Code: Select all

s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addVariable('duration','$file->{vid_length}');
s1.addVariable('file','$direct_link');
s1.addVariable('image','$file->{video_img_url}');
s1.addVariable('provider','video');
s1.addVariable('plugins', 'sharing-3');
s1.addVariable('sharing.code', encodeURIComponent('<IFRAME SRC="WHAT WILL BE THIS???" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=480 HEIGHT=400></IFRAME>'));

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#7 Postby Rihan » Mar 14, 2012 5:25 am

bump!

ikky
Posts: 14
Joined: Jan 30, 2012 2:08 pm

#8 Postby ikky » Mar 24, 2012 6:03 pm

Rihan wrote:yes i know but will be helpful for me if someone can help me coz still i could not able to figure out how to add it. i stuck at sharing.code what will be the code to show the iframe. someone please help. here is the code:

Code: Select all

s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addVariable('duration','$file->{vid_length}');
s1.addVariable('file','$direct_link');
s1.addVariable('image','$file->{video_img_url}');
s1.addVariable('provider','video');
s1.addVariable('plugins', 'sharing-3');
s1.addVariable('sharing.code', encodeURIComponent('<IFRAME SRC="WHAT WILL BE THIS???" FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=480 HEIGHT=400></IFRAME>'));
I have the same question, if anybody knows how to solve that

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#9 Postby Rihan » Apr 06, 2012 3:25 pm

bump!

spotted
Posts: 14
Joined: Jan 27, 2012 11:54 pm

#10 Postby spotted » Apr 06, 2012 9:28 pm

Code: Select all

so.addVariable('plugins', 'sharing-3');

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#11 Postby Rihan » Apr 07, 2012 2:30 am

spotted wrote:

Code: Select all

so.addVariable('plugins', 'sharing-3');
here you providing embed code undefined. so if you post on sibsoft page sharing embed will show sibsoft link.

spotted
Posts: 14
Joined: Jan 27, 2012 11:54 pm

#12 Postby spotted » Apr 07, 2012 2:37 pm

Rihan wrote:
spotted wrote:

Code: Select all

so.addVariable('plugins', 'sharing-3');
here you providing embed code undefined. so if you post on sibsoft page sharing embed will show sibsoft link.
if u dont even know how to add a simple variable to your code than maybe u shoudl stop using it

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#13 Postby Rihan » Apr 07, 2012 6:35 pm

spotted wrote:
Rihan wrote:
spotted wrote:

Code: Select all

so.addVariable('plugins', 'sharing-3');
here you providing embed code undefined. so if you post on sibsoft page sharing embed will show sibsoft link.
if u dont even know how to add a simple variable to your code than maybe u shoudl stop using it
i doubt you even know. otherwise you would not suggest to add meaningless code.

spotted
Posts: 14
Joined: Jan 27, 2012 11:54 pm

#14 Postby spotted » Apr 08, 2012 10:16 am

Code: Select all

<script type='text/javascript' src='http://yoursite/player/swfobject.js'></script>
<div id='mp3player'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('http://yoursite/player/player.swf','mpl','900','200','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('duration','<TMPL_VAR mp3_secs>');
so.addVariable('file','<TMPL_VAR song_url>');
so.addVariable('plugins', 'sharing-3');
so.write('mp3player');
</script>

ah ok just noticed you want to use it with the iframe code
above this would be for xfs version 1.9

Rihan
Posts: 25
Joined: Mar 08, 2012 4:27 am

#15 Postby Rihan » Apr 08, 2012 10:42 am

sorry i wanted to add sharing code for video plugin. many many thanks for helping