video widget web application javascript