Closed fain182 closed 3 weeks ago
Thanks for reporting. Strange I didn't run into this with the other functions, in dev mode it might be fine. I see Next.js itself sometimes uses string file paths in some config props, maybe that could be a solution for us too.
I will help solve this one in the upcoming weeks.
@fain182 we just released v1.3.0 with a separate next-video config that should solve this serialization issue.
docs can be found here: https://github.com/muxinc/next-video#asset-metadata-storage-hooks-callbacks
let me know how it goes!
A few days ago I tried to deploy next-video with a custom configuration to save assets data in the backend, but there was a strange error, as if the saveAsset and LoadAsset functions were not defined.
I contacted Vercel support, who escalated the issue to the engineering team and informed me that:
I am a little confused about the best way to solve this...