Error message

User warning: The following module is missing from the file system: fast_404. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of /mnt/www/html/ooyala/docroot/includes/bootstrap.inc).

Añadir un vídeo remoto

Antes de poder gestionar un vídeo remoto, debe añadirlo a la Backlot.

Para añadir un vídeo remoto:

Utilice la ruta /v2/assets. El ejemplo siguiente crea el vídeo remoto "My Remote Asset".
[POST] /v2/assets
{
  "name": "My Remote Asset",
  "asset_type": "remote_asset",
  "duration": 120000,
  "stream_urls": {
    "flash": "http://example.com/my_flash_file.flv",
    "iphone": "http://example.com/iphone_compatible_file.mp4"
  }
}
    

Backlot devuelve una respuesta similar a la siguiente:

{
  "asset_type": "remote_asset",
  "duration": 120000,
  "name": "My Remote Asset",
  "preview_image_url": null,
  "created_at": "2011-05-16T20:35:53+00:00",
  "embed_code": "Y1NWZnMjq-DPsM2",
  "stream_urls": {
    "flash": "http://example.com/my_flash_file.flv",
    "iphone": "http://example.com/iphone_compatible_file.mp4"
  },
  "time_restrictions": null,
  "updated_at": "2011-06-02T00:08:58+00:00",
  "external_id": "myExternalId",
  "hosted_at": null,
  "original_file_name": null,
  "description": null,
  "status": "live"
}
     

Ordenando Pruébelo

El vídeo remoto se ha añadido correctamente.