Return to site

Subtitles player for mac

broken image
broken image

Im pretty sure I produced valid WebVTT code.

broken image

It's very similar to SRT, so I used a python script to generate WebVTT files from SRT. Now, you cant use SubRipText (.srt) files because no browser supports it, instead mostly all recent browsers use the WebVTT format. Now I wanted to add subtitles to the video. It plays fine on firefox (win, mac, android, ios), opera (win, mac), chrome (win, mac, android, ios), ms edge (win) and safari (mac, ios). Not a problem right know, I am able to embed the video with html file that is locally stored on the filesystem. With the HTML video tag, you can embed a MP4 video on a HTML site in a. Everyone does have one, and a high percentage of users have browsers with HTML5 support. I first thought I'll code a player in C++ using wxWidgets, but then I thought why not just using the web browser. I have currently a project running, where I need to play MP4 videos. I hope that belongs to stackoverflow, if not than I'm sorry.