Skip to content

Instantly share code, notes, and snippets.

@dailymotion-api
Created January 3, 2014 17:48
Show Gist options
  • Save dailymotion-api/8242657 to your computer and use it in GitHub Desktop.
Save dailymotion-api/8242657 to your computer and use it in GitHub Desktop.
How to edit a video
<?php
// Using our php-sdk
$api->post(
'/video/' . $videoId,
array('title' => 'New Title',
'description' => 'New Description',
....
)
);
curl -F 'access_token=XXX' -F 'title=New title !' https://api.dailymotion.com/video/[VIDEO_ID]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment