$(function(){ var tech, i, techList = ["html5","h5swf","flowplayer"], props = "error,currentSrc,networkState,buffered,readyState,seeking,initialTime,duration,startOffsetTime,paused,played,seekable,ended,videoWidth,videoHeight,textTracks,preload,currentTime,playbackRate,autoplay,loop,controls,volume,muted,defaultMuted".split(","), methods = "play,pause,src,load,canPlayType,addTextTrack", notUsed = "mediaGroup,controller,videoTracks,audioTracks,defaultPlaybackRate"; for (i=0; i < techList.length; i++) { tech = techList[i]; var player = _V_("vid"+(i+1), { "techOrder":[tech] }); _V_.each(_V_.html5Events, function(evt){ player.addEvent(evt, _V_.proxy(tech, function(evt){ var eventsId = "#"+this+"_events", type = evt.type, prev = $(eventsId+" div").first(); if (prev && prev.html() && prev.html().indexOf(type + " ") === 0) { var countSpan = prev.children(".count"); countSpan.html(parseInt(countSpan.html() || 1) + 1); } else { $("#"+this+"_events").prepend("