Hello, can you tell me why is the subtitle not showing in the video?
Below is the link to my code:
https://github.com/ujjyan/mdn-tasks/tree/main/html/multimedia-and-embedding/video-and-audio-content/task-2
Hi @Ujjyan_Sanyal and welcome to the community
Are you running this code locally? Loading subtitles from file:///
is restricted. See this post: Assessment wanted: Video and audio content
You could also activate GitHub Pages to see it live there:
https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site
Have a nice weekend,
Michael
Thanks @mikoMK for your prompt response. Indeed I was running this code locally. Now running the code in a local testing python server, I can see the subtitles.
1 Like