Commit Graph

286 Commits (69d389210144ac34771edb6b86ea935157fbbe59)

Author SHA1 Message Date
ElementalAlchemist 3d4c63a697 Fix uploading a new thumbnail image when updating a thumbnail 2 weeks ago
ElementalAlchemist 0d35e95dc7 Format Thrimbletrimmer files
I forgot to run prettier before my last PR.
3 weeks ago
ElementalAlchemist f4d303147d Allow editing thumbnail data 3 weeks ago
ElementalAlchemist 9435dc8575 Set default crop values
These values were empirically determined to be good from previous thumbnail templates.
3 weeks ago
ElementalAlchemist ef061b6768 Pass the auth token when submitting thumbnails 3 weeks ago
ElementalAlchemist fc82b2b17f Run Prettier on other Thrimbletrimmer files
It had not been run in previous PRs
3 weeks ago
ElementalAlchemist c8899f5133 Implement thumbnail manager
This implements a frontend for submitting new thumbnails and viewing existing thumbnail data.
3 weeks ago
ElementalAlchemist 6290850ff0 Add jcrop to the prettier ignore file 3 weeks ago
Christopher Usher 5bd8fbd65f Static content for creating a template 3 weeks ago
Dan Collins 3c746e569e Match aspect ratio from frame to template or vice versa, or lock
template to frame
3 weeks ago
Dan Collins 33f3b0e0c8 Attach validation to the first chapter marker description field 3 weeks ago
Dan Collins 94aefc46fc Scale thumbnail pixel coordinates for a 1920x1080 video frame in a 1280x720 template 4 weeks ago
Dan Collins 952d760f8d Remove the :focus CSS rule, it obstructed the image making precise positioning difficult. 4 weeks ago
Dan Collins c3cb931e3e Download jcrop, fix newlines, use let instead of var 4 weeks ago
Dan Collins 1c5d37cc04 Thrimbletrimmer: Add JS cropping tool to advanced template options 4 weeks ago
Mike Lang 2391a73ced thrimletrimmer: Support one-off overlays for thumbnails
By picking the "one-off overlay" option for a thumbnail, you swap specifying a template name
for being able to upload a one-off template that is then combined with the requested frame.

The rendering is done by restreamer, and we do it explicitly whenever
a) Generate Thumbnail Preview is pressed
b) The video is submitted

The rendered thumbnail is then included in the submission as a "custom" thumbnail.

The default thumbnail template params (crop and location) do not change
when this mode is selected, so they'll effectively be the default params of the previously-selected
template. In most cases this will be what you want since almost all our templates share the same
params, and custom one-offs will too.
1 month ago
Mike Lang 751271d3c1 thrimbletrimmer: Replace ad-hoc query string building with URLSearchParams
This handles edge cases like special characters properly, and is easier/more readable.
1 month ago
Mike Lang f46481af0c thrimbletrimmer: Add support for advanced crop options
- On load + change of template, set from template defaults
- On load, set from video if not null
- Show only in template mode
- Use when previewing image
- Send when submitting
1 month ago
Mike Lang 20ad8d3ec9 thrimbletrimmer: Use new API for listing thumbnails
This is just the minimum-effort way to keep thrimbletrimmer working with the new API.
More thrimbletrimmer changes to come later.
1 month ago
Mike Lang 1915d98143 thrimbletrimmer: Split error path for submission into a function
and use it correctly when erroring in transition code
1 month ago
Mike Lang ca60852b3d thrimbletrimmer: Add transitions to download URL 1 month ago
Mike Lang 8c6141b5ca thrimbletrimmer: Correct video time conversions due to overlap from transitions 1 month ago
Mike Lang c96c7cedd6 thrimbletrimmer: add transitions when submitting 1 month ago
Mike Lang 54695bcad4 thrimbletrimmer: Set existing transition info when loading a video 1 month ago
Mike Lang 72110821d5 thrimbletrimmer: Show/hide transition duration if "cut" is selected 1 month ago
Mike Lang 5d09115a8a thrimbletrimmer: Load transition types from thrimshim and populate dropdown 1 month ago
Mike Lang 87d4520e61 thrimbletrimmer: Add new DOM elements for specifying transitions
Expects a "transitions" list on the video info that currently isn't there.
Not actually used anywhere yet.
1 month ago
Mike Lang 23e64116bd thrimbletrimmer: Add some helpers for creating elements
No functional changes intended.
1 month ago
Mike Lang a34af372d0
thrimbletrimmer: Validate chapter titles are ascii only
We are not sure what characters are allowed in chapter titles.
Emoji seem to be disallowed. It is unknown whether things like accents or smart quotes are allowed.
To be conservative, we warn if there are any non-ascii characters in the chapter title.
7 months ago
Mike Lang cb144866a6 Change wording of "submit anyway" button when saving a draft 7 months ago
ElementalAlchemist 0f1d125413
Fix jumping to the first chapter marker location (#363) 1 year ago
ElementalAlchemist 8264206f09
Add 4x and 8x playback speeds (#362)
* Add 4x and 8x playback speeds

* Make the "max speed" keyboard shortcut go to 2x first and then to the actual max speed
1 year ago
ElementalAlchemist 179f06b413
Fix loading Thrimbletrimmer and defaulting initial chapter time (#361) 1 year ago
ElementalAlchemist d979b40d9f Make the first chapter marker uneditable and tie it to the first range start time
This is a more usable enforcement of the requirement that YouTube enforces for the first chapter to be at the exact beginning of the video.
1 year ago
Mike Lang 879fe2c70b thrimbletrimmer: Change default download type to smart
The new smart cut type avoids artifacting/playing issues that happen with fast cuts or multi-range rough cuts.

However it is new and experimental so we keep the old options available as backups.
1 year ago
ElementalAlchemist 8382e90659 Highlight the chapter description field as an error if it contains angle brackets 1 year ago
ElementalAlchemist f5c171f5ca Fix formatting 1 year ago
ElementalAlchemist be9b7b8a3c Fix loading chat for non-UTC timestamps in restreamer 2 years ago
ElementalAlchemist d2bcff3ffd Avoid disabling the force reset row buttons on videos that are still transcoding 2 years ago
ElementalAlchemist d2f95bea20 Fix jump to buttons not working on videos that were already submitted 2 years ago
ElementalAlchemist 8648ad52ee Properly handle when video or just metadata can be edited 2 years ago
ElementalAlchemist 2ddf2f8426 Stop adjusting/breaking chapters when range times change 2 years ago
ElementalAlchemist 766b4d111d Confirm leaving when changes are made or confirmation needs to take place 2 years ago
ElementalAlchemist dd747416e0 Sort thumbnails in editor
This sorts the thumbnail by name.
2 years ago
ElementalAlchemist 988b1265ab Increase chapter marker field width 2 years ago
ElementalAlchemist 3ddbbfd31d Sort chapter markers within each range 2 years ago
ElementalAlchemist e0d035f8b9 Add shift versions of currently unshifted shortcuts 2 years ago
ElementalAlchemist cded411188 Update Hls.js 2 years ago
ElementalAlchemist c7ed4cfc03 Remove dashboard page 2 years ago
ElementalAlchemist 6382fd259b Prevent cut modifications when a video that was already uploaded is being modified 2 years ago