From 249b9f9a2aa83825bef3c2453c341ad06d31c40c Mon Sep 17 00:00:00 2001 From: reza-kharestani <53730255+reza-kharestani@users.noreply.github.com> Date: Mon, 9 Nov 2020 00:28:38 +0330 Subject: [PATCH] the vodsdk video method should make an object, there is no video method in the file class. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d0c0bfa..05741bf 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ $file->delete('********-****-****-****-********'); ```php $channelId = 'xxxx-xxxx-xxxx-xxxx'; $fileId = 'xxxx-xxxx-xxxx-xxxx'; -$video = $file->video(); +$video = $vodSdk->video(); // GET (get the whole channel videos) $allChannelVideos = $video->showAll($channelId);