Fixed bug with infinited video adding

Fixed bug with infinited video adding