Skip to content

Commit

Permalink
Use only data related to this repository
Browse files Browse the repository at this point in the history
  • Loading branch information
simongeorges committed Jan 4, 2013
1 parent 0680597 commit c7505f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ reference and provided as helpers to ease the Dailymotion Cloud API integration.
--------------------------

This method manages files uploads to the Dailymotion Cloud upload servers. Information pertinent
to the API media creation processus (especially the media_set_asset method) will be returned as
a `dict`.
to the API media creation processus will be returned as a `dict`.

Arguments:

Expand All @@ -55,7 +54,7 @@ Example:
# The list of encoding assets that we want
$assets = array('mp4_h264_aac', 'mp4_h264_aac_hq', 'jpeg_thumbnail_medium', 'jpeg_thumbnail_source');
# Metadata
$meta = array('title' => basename($file->uri), 'author' => 'Author');
$meta = array('title' => 'My video', 'author' => 'Author');
$media = $cloudkey->media->create(array('assets_names' => $assets, 'meta' => $meta, 'url' => $file->url));

`media.get_embed_url(id)`
Expand Down

0 comments on commit c7505f2

Please sign in to comment.