GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Javascript/JWPlayer help? (https://gfy.com/showthread.php?t=1074643)

Mutt 07-15-2012 12:10 AM

Javascript/JWPlayer help?
 
hi, i'm using a lightbox type script called 'shadowbox' which uses JWPlayer to play videos overlayed above a web page, i'm trying to use a skin for the JWPlayer and can't figure out how to add it to the flashVars in this javascript code. nothing i've tried has worked, granted i'm just throwing shit against the wall hoping something sticks :helpme

any ideas?

(function(b){var a=b.util,c=20;b.flv=function(d){this.obj=d;this.re sizable=true;this.height=d.height?parseInt(d.heigh t,10):480;if(b.options.showMovieControls==true){th is.height+=c}this.width=d.width?parseInt(d.width,1 0):640};b.flv.prototype={append:function(l,e,n){th is.id=e;var j=document.createElement("div");j.id=e;l.appendChi ld(j);var k=n.resize_h,o=n.resize_w,f=b.path+"libraries/mediaplayer/player.swf",m=b.options.flashVersion,d=b.path+"lib raries/swfobject/expressInstall.swf",g=a.apply({file:this.obj.conte nt,height:k,width:o,autostart: (b.options.autoplayMovies?"true":"false"),controlb ar: (b.options.showMovieControls?"bottom":"none"),back color:"0x000000",frontcolor:"0xFFFFFF",lightcolor: "0x557722"},b.options.flashVars),i=b.options.flashParams;swfobject.embedSWF(f,e,o ,k,m,d,g,i)},remove:function(){swfobject.expressIn stallCallback();swfobject.removeSWF(this.id)}}})(S hadowbox);

Denny 07-15-2012 01:05 AM

:thumbsup


All times are GMT -7. The time now is 03:30 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123