HTTP Subtitles In WinJS Video Element January 10, 2023 Post a Comment In the HTML media playback sample there's a code that demonstrates how to add subtitles to the video: MEDIA12604: Text Track: Unknown MIME type. hr=8007000b So I added the mime type. My site runs on Apache. I added this line to the .htaccess file: AddType text/vtt;charset=utf-8 .vtt This sets the .vtt type to be text/vtt and set the encoding to utf-8. I'm sure it's not hard to find the ways of adding mime types for other servers. I'm my case I had to add the "www" to the url too... But I think this has something to do with the way the server is set up. You might not need this. Share You may like these postsHtml5 Video Repeat At A Given TimeframeReading Metadata From The Of An HTML5 Using CaptionatorHow To Play Videos One After Another Without GapHtml5 Video - Making The Whole Video Clickable On Android To Play? Post a Comment for "HTTP Subtitles In WinJS Video Element"
Post a Comment for "HTTP Subtitles In WinJS Video Element"