Thinking about video segments in Typescript/React Video Editor | glowing telegram - Episode 145
In this video, I explore the intricacies of building a video editor using TypeScript, focusing on media management and playback handling. I dive into the considerations for loading states and autoplay functionalities, debating whether to include a loading state for the video player. I also examine the challenges of supporting multiple video sources in a timeline, and outline the steps to programmatically manage video URLs.
I discuss the process of creating a timeline provider and breaking down the video metadata from a JSON source. Through clever manipulation of types and metadata, I update the video player to handle a collection of video URLs rather than a single source, thereby preparing it for more complex playback scenarios. This involves understanding and calculating the play time across various video files, and addressing the issues of seeking and play head management.
π Check out my Twitch channel for more streams: https://www.twitch.tv/saebyn
GitHub: https://github.com/saebyn/glowing-telegram & https://github.com/saebyn/glowing-telegram-video-editor
Discord: https://discord.gg/N7xfy7PyHs