adding handling for video page and adding popcorn.js