and related issues.
Name for the page and tool?
(or video?)
var VideoSchema = new Schema({
shootId : String,
fileName: String,
paths: [String],
proxy: Boolean,
proxyLoc: String,
ffprobeOutput: String,
length: String,
inTc: String,
outTc: String,
inUnixTime: Number,
outUnixTime: Number,
}, {strict: false});
VideoSchema
.virtual('url')
.get(function () {
return '/database/video/' + this._id;
});
ShootSchema
.virtual('deleteUrl')
.get(function () {
return ('/database/video/' + this._id + '/delete');
});