Changed video hiding code