You can use for free (with some limitations)
such a wonderful player flowplayer.org
On the website a bunch of documentation and examples.
What you ask is called streaming uppod.ru/help/q=streaming
Specifically to convert video in most cases is not necessary,
an example of such a plugin can work with MP4: