if(skin_video_setup_done !== true, set(skin_video_setup_done, true);

set(plugin[video].onvideoready, jscall(window.onVideoSceneReady());); set(plugin[video].onvideoplay, jscall(window.onVideoScenePlay());); set(plugin[video].onvideopaused, jscall(window.onVideoScenePaused());); set(plugin[video].onvideocomplete, jscall(window.onVideoSceneComplete());); set(plugin[video].onerror, jscall(calc('window.onVideoSceneError("' + videoerror + '")'))); );
skin_video_setup();

set(videosources['v%1'].sourcename, '%1'); set(videosources['v%1'].videourl, '%2'); set(videosources['v%1'].posterurl, '%3');
copy(vs, videosources['v%1']); plugin[video].playvideo(get(vs.videourl), get(vs.posterurl), get(plugin[video].pausedonstart), get(plugin[video].time));