handle dynamically created video element