browser based video clipping and playing