The usual getVideoEntry method will not return you a editable video entries. you must pass some extra parameters like this (3rd parameter tell to get full metadata)
$videoEntry = $yt->getVideoEntry($id, null, true);
or you can use
$entry = $yt->getFullVideoEntry($id);
No comments:
Post a Comment