Let the clip tool save a clip to a Drive folder
Save to Drive, beside Save to library, puts a finished clip in a folder under Media (Videos or Audio chosen first to match it) as a Files entry, shared by link, so pages can link to it (migration 051). The clip streams from disk through a resumable upload, so a long one isn't read into memory. A clip can be in both the library and Drive. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e1542d8d87
commit
42d1536ee6
6 changed files with 219 additions and 17 deletions
|
|
@ -14,6 +14,16 @@ server once it's downloaded, unless **Save to library** is pressed first,
|
|||
which puts it in the media library as an upload (usable as a featured
|
||||
video or in a video block). Everything is cleared a day after it's made.
|
||||
|
||||
**Save to Drive** puts a copy in a folder under Media in the shared
|
||||
Google Drive (pick it, eg. `Media/Videos` or `Media/Audio`; the list is
|
||||
Tools → Media → Files's folders, and the one named for the clip's kind
|
||||
is chosen first). It becomes a Files entry, shared with anyone who has
|
||||
the link, so pages link to it with Choose a file. It's uploaded straight
|
||||
from the server's copy (the working file, or the library's), streamed
|
||||
rather than read into memory, so a long clip is fine; nginx isn't in the
|
||||
way. A clip can be in both the library and Drive. Needs Google Drive set
|
||||
up (`docs/google-drive-and-mail.md`) and migration 051.
|
||||
|
||||
Only YouTube and Facebook links are accepted, and only for videos NGU owns
|
||||
or has permission to use. Sources can be up to 4 hours and 4 GB; clips up
|
||||
to an hour. Limits are constants at the top of `server/src/clips.js`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue