Author: andre Date: 2010-05-25 20:19:35 +0200 (Tue, 25 May 2010) New Revision: 42262
Modified: openimages/trunk/src/main/webapp/style/js/main.js.jsp Log: moved oiplayer init script to here Modified: openimages/trunk/src/main/webapp/style/js/main.js.jsp =================================================================== --- openimages/trunk/src/main/webapp/style/js/main.js.jsp 2010-05-25 17:03:44 UTC (rev 42261) +++ openimages/trunk/src/main/webapp/style/js/main.js.jsp 2010-05-25 18:19:35 UTC (rev 42262) @@ -162,7 +162,14 @@ initTabs('tabs'); initTabs('usertabs'); initFieldInfos(); - initBlank() + initBlank(); + + $('.main-column, .b_user-mediapreview').oiplayer({ + 'server' : '<mm:url page="/" absolute="true" />', + 'jar' : '${mm:link('/oiplayer/plugins/cortado-ovt-stripped-wm_r38710.jar')}', + 'flash' : '${mm:link('/oiplayer/plugins/flowplayer-3.1.5.swf')}', + 'controls' : false + }); }); </mm:content> _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs