You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this $video= Youtube::getVideoInfo('rie-hPVJ7Sw') returns an error of Object of class stdClass could not be converted to string
whereas $video= Youtube::getVideoInfo(['rie-hPVJ7Sw']) returns correct data, albeit in an array. Should the readme be updated or is there a genuine here?
The text was updated successfully, but these errors were encountered:
@alaouy Apologies for the delay, I've just resorted to fetching the data from the array as is returned when passing the id ['rie-hPVJ7Sw'] like so. However, as I said, wasn't obvious from the readme that it is the case.
this
$video= Youtube::getVideoInfo('rie-hPVJ7Sw')
returns an error ofObject of class stdClass could not be converted to string
whereas
$video= Youtube::getVideoInfo(['rie-hPVJ7Sw'])
returns correct data, albeit in an array. Should the readme be updated or is there a genuine here?The text was updated successfully, but these errors were encountered: