vendredi 21 juillet 2017

Reload video after new source file in MVC website

I am working on a web service (using ASP.NET MVC), where I need to display two videos. These two videos are regularly updated.

The models used in the MVC project simply store the path to the videos (would it be a better idea to have the video files in the model?).

I expected that, after changing the video files (new .mp4 files, keeping the old path) and reloading, the videos would change, but this is not the case.

How can I make my videos update? So far I have tried creating an HTML function with "load()", similarly as in this link, but it does not work. (Also I am not sure this would be a good solution for me, since I need to force the update from the controller.)

Thank you!




Aucun commentaire:

Enregistrer un commentaire