remove video specific stuff, base off of video, and add support for HTML
Some checks are pending
docker / Docker (push) Waiting to run
test / Test (push) Waiting to run

This commit is contained in:
Failure 2024-07-30 02:34:01 -07:00
parent 3d03f45eac
commit f348bb92e3
166 changed files with 85 additions and 1430 deletions

View file

@ -1,4 +1,4 @@
package imagorvideo
package imagorvideoextended
import (
"flag"
@ -9,14 +9,10 @@ import (
// Config imagorvideo config.Option
func Config(fs *flag.FlagSet, cb func() (*zap.Logger, bool)) imagor.Option {
var (
ffmpegFallbackImage = fs.String("ffmpeg-fallback-image", "",
"FFmpeg fallback image on processing error. Supports image path enabled by loaders or storages")
logger, isDebug = cb()
)
return imagor.WithProcessors(
NewProcessor(
WithFallbackImage(*ffmpegFallbackImage),
WithLogger(logger),
WithDebug(isDebug),
),