Code: Select all
http://www.longtailvideo.com/addons/plugins/110/Sharing
Code: Select all
http://www.longtailvideo.com/addons/plugins/110/Sharing
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 thatRihan 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>'));
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 wrote:Code: Select all
so.addVariable('plugins', 'sharing-3');
if u dont even know how to add a simple variable to your code than maybe u shoudl stop using itRihan wrote:here you providing embed code undefined. so if you post on sibsoft page sharing embed will show sibsoft link.spotted wrote:Code: Select all
so.addVariable('plugins', 'sharing-3');
i doubt you even know. otherwise you would not suggest to add meaningless code.spotted wrote:if u dont even know how to add a simple variable to your code than maybe u shoudl stop using itRihan wrote:here you providing embed code undefined. so if you post on sibsoft page sharing embed will show sibsoft link.spotted wrote:Code: Select all
so.addVariable('plugins', 'sharing-3');
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>