video limit and adding to frame