Go
Not registered? Sign up!

Problem with D-related combined with Viral Plugin

Google Translate
4 posts | return to the Plugins forum | get the rss feed for this thread

Oct. 14, 2009krisiun

I have a lisenced player and I use the following syntax:

*********************************************************************************
var objPlayer = new SWFObject('<%=ResolveUrl("~") %>Video/player-licensed-viral.swf','ply','510','441','9','#ffffff');
objPlayer.addParam('allowfullscreen','true');
objPlayer.addParam('allowscriptaccess','always');
objPlayer.addParam('wmode','opaque');
objPlayer.addVariable('file',file);
objPlayer.addVariable('autostart','true');
objPlayer.addVariable('menu', 'false');
objPlayer.addVariable('logo', '<%=ResolveUrl("~") %>images/Logo510.png');
objPlayer.addVariable('skin', '<%=ResolveUrl("~") %>Video/stijl.swf');
objPlayer.addVariable('lightcolor','008FCB');
objPlayer.addVariable('plugins','viral-2');
objPlayer.addVariable('viral.functions','link,embed');
objPlayer.addVariable('viral.email_subject','MagnesiaNews - WebTv');
objPlayer.addVariable('viral.email_footer','');
objPlayer.addVariable('viral.oncomplete','false');
objPlayer.addVariable('plugins', 'drelated-1');
objPlayer.addVariable('drelated.dxmlpath', '<%=ResolveUrl("~") %>Video/GetRelatedVideos.ashx?FileId='+fileId);
objPlayer.addVariable('drelated.dposition','bottom');
// objPlayer.addVariable('drelated.dskin','skins/grayskin.swf');
objPlayer.addVariable('drelated.dtarget','_self');
objPlayer.write('mediaspace');


****************************************************************************************
Normaly viral plugin is enabled on pause of video and when i press the button menu of the player...
When i add D-Related plugin too , Viral becomes unaccesible as D-Related is enabled on pause and at the end of the video (is it possible to disable on pause function????) and also make menu button to dissaperare....

What can i do in ordet to enable viral on pause and d-related oncomplete of the video and to reappear the menu button ??

Oct. 14, 2009SMack

objPlayer.addVariable('plugins','viral-2,drelated-1');
From http://developer.longtailvideo.com/trac/wiki/FlashVars#API
plugins (undefined): a powerful new feature, this is a comma-separated list of swf plugins to load (e.g. yousearch,viral). Each plugin has a unique ID and resides at plugins.longtailvideo.com. Go to the LongTailVideo AddOns section to see all available plugins.

Oct. 15, 2009krisiun

Thanks.
I tried that and the menu button re-appeared but when you press it both of plugins are trigered.. So in my situation it would be perfect if D-related plugin configured not to function on pause and on menu click but only at the end of the video...Is that possible?? I searched into documention for that kind of configuration unsuccessfully ..

Oct. 25, 2009Zachary Ozer

Hi Krisiun,

D-related doesn't currently support this. Sorry!

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.