Function that returns the state of a given video
The id of the Video element
the API response envelope as a JSON string: { code, isSuccess, message, value? }
{ code, isSuccess, message, value? }
Function that returns the state of a given video