javascript - HTML5 <video> Tag Performance -
i have <video> element @ top of page playing animation in background (very similar 1 found on google hangouts page). on computers, video plays smoothly , seems fine, on older hardware there lot of lag , browser slows down quite lot.
is there anyway detect performance of video playback? i'd either replace video static image or pause video if performance issue.
use video metrics if available in browser. here's example using webkit prefixed droppedframecount.
see also: http://wiki.whatwg.org/wiki/video_metrics moz prefix.
Comments
Post a Comment