I'm trying to figure out a good pattern to accomplish the following:
<video width="640" height="480" controls>
<source src="@Model.MeetingVideo" type="video/mp4">
<track kind="subtitles" label="English subtitles" src="@Model.Subtitles" srclang="en" default/>
</video>
I want to be able to store the src text in my ViewModel (@Model.Subtitles
) and have it displayed.
It is just text content. Normally, these subtitle files are static text files.
For some reason, taking the approach above is not working.
I am not seeing the subtitles appear.
I think I'm doing something wrong ... think I need some sort of streaming technique to stream the text to the src attribute.
Any ideas or suggestions?
Thanks,
Philip