I have been trying load a video in a presentation. I can do it, if the to provide of Google Drive or Youtube, but I wanna do it from storage of firebase.
This is my code:
const requests = [
{
createVideo: {
source: 'YOUTUBE',
id: 'lH9DhQv6nqo',
elementProperties: {
pageObjectId: slideId,
}
}
}
];
await service.presentations.batchUpdate({
presentationId,
requestBody: {
requests,
}
});
Can a video be uploaded to a presentation, when the origin is from firebase storage?
Is there any documentation to achieve this?