ElementalAlchemist
37f94cb754
We're not going to have transitions this time, so remove the transitions from the ranges for now
3 years ago
ElementalAlchemist
eb9bc708cf
Show errors about ranges so that the user knows to fix them
3 years ago
ElementalAlchemist
491d8dc3a8
Improve the editing experience for live videos
...
Apparently we weren't using VideoJS's new live UI (I thought we were), which caused issues like "the progress bar is not present on the video."
3 years ago
ElementalAlchemist
94e1ecdd6d
Add waveform marker for current video position
3 years ago
ElementalAlchemist
609597a547
Add a way to jump player time to a range start point
3 years ago
ElementalAlchemist
497c7625dc
Fix default formatting of negative times
3 years ago
ElementalAlchemist
4e4c2f4a9f
Handle loading events with no end time (yet)
3 years ago
ElementalAlchemist
3fe2848e60
Add video load time modifications, and account for run-to-live
3 years ago
ElementalAlchemist
344ca041a3
Fix formatting of bus time with milliseconds
3 years ago
ElementalAlchemist
72b34945bc
Handle expanding video on load when a draft video was already saved outside the event start/end times
3 years ago
ElementalAlchemist
9a12134915
Move beta Thrimbletrimmer code to primary Thrimbletrimmer code
3 years ago
Mike Lang
aab8cf2f0f
Set up plumbing for multi-range videos and implement no-transition fast cut videos only
...
This is the simplest case as we can just cut each range like we already do,
then concat the results.
We still allow for the full design in the database and cutter, but error out if transitions
is ever anything but hard cuts or if it's a full cut.
We also update the restreamer to allow accepting ranges, however for usability we still allow
the old "just one start and end" args.
Note this changes the thrimshim API to give and take the new "video_ranges" and "video_transitions" columns.
3 years ago
Mike Lang
2467a64ec3
thrimbletrimmer: Fix missing int parsing in duration parser
...
yay javascript
3 years ago
Mike Lang
783c571cb2
thrimbletrimmer: Fix stupid duration parsing typo introduced in cleanup
3 years ago
Mike Lang
61f55d03fb
thrimbletrimmer: Add waveform image below video
3 years ago
Mike Lang
4db8c8f61c
thrimbletrimmer: undo bad refactor
3 years ago
Mike Lang
714a16bac4
thrimbletrimmer: Use template literals and other cleanup
...
Now that we've fixed the function declarations, prettier has also removed the semicolons on them
3 years ago
Mike Lang
a69bee0548
thrimbletrimmer: Replace var with let/const and other related bits
3 years ago
Mike Lang
241d302220
thrimbletrimmer: Use "function NAME(...)" instead of "NAME = function (...)"
...
It's less confusing and more like other languages
3 years ago
Mike Lang
ce73f7b0ea
Auto-format JS files with prettier
...
Prettier is a tool for formatting JS files.
We add a minimal configuration to suit our purposes, and run it on all our JS files.
The main things this corrects is mixed tab and space indent issues (replacing fully with tabs),
overly long lines, inconsistent quote usage (prefers double-quotes instead), and missing semicolons.
3 years ago
Hubbe
36a5387e26
Change wording on edit submitted alert()
...
An edit has been submitted for the video. The video hasn't been submitted yet, thrimbletrimmer just informs other components how it wants the edit to be.
4 years ago
Mike Lang
74a38bfaeb
thrimbletrimmer: Instead of redirecting on submit, alert but stay
4 years ago
Mike Lang
337111a9ab
thrimbletrimmer: Always alert() on errors
4 years ago
Hubbe
27265f3bca
Set video.js volume to 50% by default
...
When the video.js player is ready, set its volume to 50%
4 years ago
Mike Lang
f8c877775d
Add an alternate manual upload mode specifically for youtube
...
Adds a built-in "youtube-manual" location which is like "manual" except that it only works
with youtube URLs and populates the video_id column.
The intent is so that we can have playlist_manager manage videos we upload manually,
while still being able to distinguish between that and other manual links that shouldn't
be included (eg. links to third party youtube videos).
This is set when setting a manual link in thrimbletrimmer with a new checkbox, default off.
4 years ago
Christopher Usher
84f7ef71c1
More helpful UI if the database has changed plus ignore changes that are
...
just white space or capitalisation
4 years ago
Mike Lang
31d241eecc
thrimbletrimmer: missing tags arg when submitting
4 years ago
Christopher Usher
27c6b70976
fixes in response to review
4 years ago
Christopher Usher
b21a520d3a
Checking for changes in the sheet now working in the thrimbletrimmer
4 years ago
Mike Lang
c26a87565f
Add video tags to thrimbletrimmer
...
Tags default to tags given on the sheet, but can be modified by the editor.
Tags are represented as a comma-seperated string, and are round-tripped on loss of focus
as a way to validate.
4 years ago
Mike Lang
a37d9a0c54
Fix a bug when we fail to load a playlist that prevents loading other playlists
4 years ago
Mike Lang
47584821f9
thrimbletrimmer: Handle null trim in submit
...
mainly for save draft
5 years ago
Mike Lang
58ff90cefe
Further fix for when getRealTimeForPlayerTime is null
5 years ago
Mike Lang
58a2a0402d
thrimbletrimmer: Handle getting trim time when no valid trim time is set
...
Just return null instead
5 years ago
Mike Lang
e2f4162ac7
thrimbletrimmer: Fix a bug when trimming controls aren't enabled
5 years ago
Mike Lang
40f6a72ad7
thrimbletrimmer: Add keyboard shortcuts -/= to adjust playback speed
5 years ago
Mike Lang
fd35c0dc20
thrimbletrimmer: Have a download link instead of a iframe
...
The iframe doesn't always work, this is more reliable.
5 years ago
Mike Lang
c9f2e8e0a5
thrimbletrimmer: Preserve trim timings when re-loading playlist
...
Useful if you've already cut the start
but want to extend the range of times before cutting the end.
5 years ago
Mike Lang
3eb0ed2350
thrimbletrimmer: Fix bug where "Draft Saved" is shown after a failed submission
5 years ago
Mike Lang
8739a7a24a
thrimbletrimmer: Popup on save draft
...
so we know it succeeded
5 years ago
Mike Lang
2342b66db0
thrimbletrimmer: Don't open advanced pane if upload_location is null
5 years ago
Mike Lang
8d3c863a49
Merge pull request #138 from ekimekim/mike/thrimbletrimmer/cancel-upload
...
Allow thrimshim to safely cancel a job while it is cutting
5 years ago
Mike Lang
58d09b419c
thrimbletrimmer: Add option to select cut type for Download button
...
In most cases, you want "rough" because you're going to trim the resulting
video later anyway.
5 years ago
Mike Lang
cc48f17348
thrimbletrimmer: Add cancel row button using the new thrimshim functionality
5 years ago
Mike Lang
bdbfd37c51
thrimbletrimmer: Pad start and end times
5 years ago
Mike Lang
a68684c24c
thrimbletrimmer: Fix use of tabs again
5 years ago
Mike Lang
26f91a02ea
thrimbletrimmer: Parse durations as HH[:MM[:SS]] instead of [[HH:]MM:]SS
...
ie. 1:00 is 1 hour, not 1 minute.
This is consistent with our use of bustime everywhere else.
5 years ago
Mike Lang
a6ee746e6b
thrimbletrimmer: disable autoplay
5 years ago
Mike Lang
5d5358019a
thrimbletrimmer: Improve bustime/ago parsing
...
Allow partial entries like 5:00 instead of 0:05:00.
5 years ago
Mike Lang
ff43e186f6
thrimbletrimmer: Support "time ago" as a third time format
...
This is especially useful for the re-streaming page, and is default there.
5 years ago