video module function moved in external file
update in the video module