Skip to content

Virtual files

Jan T. Sott edited this page Jun 20, 2015 · 5 revisions

Description

Through virtual files, you can bring together your actual files with cloud-based media. The virtual file is a simple JSON file storing information about a media embed, currently supporting Flickr image, SoundCloud music, and videos on YouTube or Vimeo. To make use of this feature, enable_viewer must be enabled.

File Format

Flickr

  • id Photo ID
  • user Flickr user
  • album The photo's album (optional)
  • name Photo caption (optional)
{
    "id": "3334093628",
    "user": "george_eastman_house",
    "album": "72157614812011773",
    "name": "Two women seated on bench, interior"
}

SoundCloud

  • id Track ID
  • type can be track, playlist or group
  • url Track URL
  • name Music title (optional)
{
    "id": "210910118",
    "type": "tracks",
    "url": "https://soundcloud.com/brainfeeder/thundercat-them-changes",
    "name": "Thundercat - Them Changes"
}

Vimeo

  • id Video ID
  • name Video caption (optional)
{
    "id": "48551671",
    "name": "Until the Quiet Comes"
}

YouTube

  • id Video ID
  • name Video caption (optional)
{
    "id": "vg0Ozh46mak",
    "name": "BADBADNOTGOOD - Bugg'n"
}