Commit Graph
14 Commits
Author SHA1 Message Date
Jared Therriault d94eb03149 Support solo playback in autoplay 2026-01-14 15:49:08 -08:00
Jared Therriault 16e5a5c9eb Improve situations where videos in the imagedrawer all reload when a new video is added 2025-12-16 19:51:31 -08:00
Jared Therriault f9ad4fce51 Check function pointer in video observer 2025-02-26 12:04:24 -08:00
JaredTherriault 0c9eaacf86 Rename onObserve and onUnobserve to onObserverIntersect and onObserverUnintersect 2025-01-31 16:13:30 -08:00
JaredTherriault befd96144e Add preliminary support for video lora previews 2025-01-04 11:15:56 -08:00
JaredTherriault 521569da16 Add catch after try 2024-06-05 16:45:55 -07:00
JaredTherriault 2b43929d7f Suppress some log messages for DOMException 2024-06-05 16:44:11 -07:00
JaredTherriault 7d83372488 Remove await for tryplayvideo, better performance 2024-05-22 11:04:29 -07:00
JaredTherriault b1a44cf0cc Add playbackRate video option, improve menu widget options
-Add option for playback rate (speed)
-Add hotkeys for changing playback rate ( , and . )
-Add labeled number input widget
-Inherit labeled widget types from base class
-Add option for onchange to above base class
-Clamp numbers when setting numeric values on videos
-Add some helper functions to video elements
-Remove bPropagateOnChange, roll functionality into forEachElement delegate
-Add widgetType parameter to inform the widget type to be created
-Removed unnecessary and incorrect comments
2024-04-18 17:58:33 -07:00
JaredTherriault befb7f5093 Observer improvements
-Lower playbackThreshold to avoid flickering
-Only unload videos, not images
2024-04-17 13:08:30 -07:00
JaredTherriault 9b5611e45e Unload videos when they are unobserved and restore playback time when they are observed and loaded 2024-04-15 21:01:18 -07:00
JaredTherriault 678550c042 Unify Video Options, add labeled checkbox factory
-Make ConfigSetting getValue and setValue functions private
-Add labeled checkbox/toggle factory
-Update some checkboxes to use the factory, probably exist some more
-Unify video options (needs an interface to interact with though)
-Preload metadata for videos now that we lazy load them
-Made some names more clear
2024-04-10 17:38:51 -07:00
JaredTherriault 33c12309f5 Sizing, anchoring and aspect ratio updates, linter adherence,
-Update img-sz to column-count var
-Minimum width in left and right mode is now fit to the content inside of it
-Fixed anchoring of sizing menu flyout in top and bottom modes
-Made all images and videos a uniform width based on the column count and max-size
-Add error handling in ImageAndVideoObserver, remove aspect ratio patch
-Add helper function to create labeled sliders or ranges
-linter adherence updates
-Add aspect ratio slider for model contexts, affects model card aspect ratio
-Add class name to extra network cards
-Fix font scaling on model cards
-Improve info box anchoring and sizing on model cards
-Improve CSS declarations
-Fix auto aspect ratio for image and video placeholders
2024-04-09 21:06:56 -07:00
JaredTherriault 5a6623c7b3 Basic video support in image list, backend organizational improvements, image loading optimizations, drag and drop lora into graph
-Change some names for clarity and capitalization linter
-Add SettingsManager to handle Config Settings
-Move some Utilities to SettingsManager
-Added images and videos are observed when they are added to the image list and unobserved when removed
-Add video support in feed and other image lists
-Optimized local image/video loading (for input and output folders and the like)
-Restore last subfolder selection on refresh of folder explorer context if possible
-Add batching code path for image loading (unused for now, needs tuning)
-Add option to drag and drop loras into graph to create lora node automatically
-Images now load in on demand (lazy loading) rather than all at once
-Try/Catch reading of image metadata
-Disable drag/drop for image href, fix issue where dragging image makes redundant toolbar button
-Add UiSettings script to handle adding UI Settings
2024-03-29 20:01:21 -07:00