FileVideo

Parent
Relationships
File Access
Initialise the FileVideo Object
const {
  	FileVideo
} = require('@plattar/plattar-api');

// FileVideo holds image data in .mp4 format
const file = new FileVideo('your-filevideo-id');

file.get().then((file) => {
	// this is the full url path to download this file
	const downloadPath = file.path;

	// this is the full url path to download the backup zip of this file
	const backupPath = file.backupPath;
}).catch((error) => {
	console.error(error);
});