Commit Graph

101 Commits (5a9f4502c2443909533c2b834bcd25b6e124abdf)

Author SHA1 Message Date
ElementalAlchemist 5a9f4502c2 Set default time zone for Luxon instead of setting the time zone on each DateTime object 3 years ago
ElementalAlchemist 0340f06170 Initial transition from VideoJS to HLS.js as the video player 3 years ago
ElementalAlchemist 699bea5e9e Fix clip bar placement after video is extended 3 years ago
ElementalAlchemist 394a6c72e2 Fix issues with updating the ranges when the time range updates
There were a couple issues with this:
- The range data was updated in the wrong direction
- If no adjustments were made, the problem was masked by the range data reapplying from draft data. However, if adjustments were made, the adjustments were overwritten (or, if ranges were added, partially overwritten) by the defaults.
3 years ago
ElementalAlchemist 5f79605ee6 Check title and description fields on load 3 years ago
ElementalAlchemist ea5d17df02 Add time conversion functionality
ekim mentioned a workflow during editor training in which he may want to have times be converted for use on the edit page. The restreamer doesn't otherwise currently have the time conversion functionality it did before (which was in the form at the top and was somewhat annoying); this adds time conversion functionality.
3 years ago
ElementalAlchemist 6e3b2e767e Store the user's volume level 3 years ago
ElementalAlchemist 8b475e0bd9 Show real-time errors for issues with video title or description 3 years ago
ElementalAlchemist 6899af4251 Add play from end to ranges 3 years ago
ElementalAlchemist 14900bed4a Fix error updating the submission success message 3 years ago
ElementalAlchemist 20518af627 Fix problems with the Submit Anyway button when sheet data is changed 3 years ago
ElementalAlchemist 058d7b9355 Fix issues with help box being unclosable when stuff moves around by giving it its own close button 3 years ago
ElementalAlchemist d37175f914 Switch date/time handling from JS Date objects to a datetime library to fix padding bug with DST changeover 3 years ago
ElementalAlchemist da2ed19b9d Now that VideoJS has been pared all the way down, move it to more standard directories 3 years ago
ElementalAlchemist cc49e703dc Do a general cleanup of time conversion names to make times overall consistent 3 years ago
ElementalAlchemist 86494797e9 Apparently JavaScript hates its own events 3 years ago
ElementalAlchemist af25a90c4a Update padding video on load (when edited outside the event range) to use multiple time ranges 3 years ago
ElementalAlchemist 5168fd120d Fix incorrect loop variable declaration preventing some load processes 3 years ago
ElementalAlchemist 72227fa366 Fix defaulting ranges to whole video to avoid old start and end fields 3 years ago
ElementalAlchemist 26b8efc093 Fix issue with download link on edit page when a range timestamp is at the exact end of the video 3 years ago
ElementalAlchemist 53bd932963 Update scripts for wubloader endpoints supporting multiple ranges 3 years ago
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