Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "dukt/vimeo",
"name": "sidabrinis/vimeo",
"type": "library",
"description": "Composer wrapper for Vimeo PHP library",
"keywords": ["youtube", "vimeo", "video", "videos"],
Expand All @@ -21,4 +21,4 @@
"phpunit/phpunit": "~3.7.16",
"squizlabs/php_codesniffer": "~1.4.4"
}
}
}
2 changes: 1 addition & 1 deletion src/Dukt/Vimeo.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public function upload($file_path, $use_multiple_chunks = false, $chunk_temp_dir
$verify = $this->call('vimeo.videos.upload.verifyChunks', array('ticket_id' => $ticket));

// Make sure our file sizes match up
foreach ($verify->ticket->chunks as $chunk_check) {
foreach ($verify->ticket->chunks->chunk as $chunk_check) {
$chunk = $chunks[$chunk_check->id];

if ($chunk['size'] != $chunk_check->size) {
Expand Down