I tried it and it worked great, congratulations! Looking forward to having chapters or at least separate paragraphs, I think you're doing right by giving that priority, as you mentioned in another comment.
Most YouTube transcripts lack punctuations.
So this app adds them back using a deep learning model based on DistilBert converted to ONNX for inference in your browser.
Very cool, curious if you plan to add a summarize feature along with this? I know there are other apps that do that already, but would be good to follow along inside the same single app.