﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
1076	videos are not supported in the API	Jessica Tallon		"You should be able to upload and interact with videos like you can with images now. There is support for this in the [https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md#audio-and-video-objects Activity Streams 1.0 specification], if I have understood this correctly we will want to produce an API object which looks something like:

{{{
{
    ""id"": ""https://gmg.site.tld/api/video/someid"",
    ""objectType"": ""video"",
    ""displayName"": ""Title of this video"",
    ""embedCode"": ""<html><to><embed></embed></to></html>"",
    ""stream"": {
        ""url"": ""https://gmg.site.tld/path/to/video.ogv"",
    },
    ""author"": {
        ""id"": ""acct:someone@gmg.site.tld"",
        ...
    },
    ""url"": ""https://gmg.site.tld/html/version/for/users/click""
}
}}}

Pump.io does have a model to store a video which is [https://github.com/e14n/pump.io/blob/master/lib/model/video.js here]. This notably in addition to the base attributes all objects share (id, objectType, etc.) it also has:

- ID
- [https://github.com/activitystreams/activity-schema/blob/master/activity-schema.md#binary-objects attachments]
- embedCode
- stream"	enhancement	new	major		programming		api, media types, video		
