Javascript/JWPlayer help?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mutt
    Too lazy to set a custom title
    • Sep 2002
    • 34431

    #1

    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

    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);
    Last edited by Mutt; 07-14-2012, 11:11 PM.
    I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
  • Denny
    Too lazy to set a custom title
    • Feb 2005
    • 17393

    #2

    Comment

    Working...