var syncFlashFlowplayer = function () { var that = this; that.setTimeCode = function (seconds) { try{ return $f("player").seek(seconds); } catch(e) {} }; that.getTimeCode = function () { try { return $f("player").getTime(); } catch(e){} }; return that; };