fixed error if video info is undefined
bug fixing