Prevent warning in getVideoId method