Play videos with buffering in my server

Not sure about how much control you want to offer to your viewers but you can always use the <video> tag in HTML to display a player. You can read more about this here – https://www.w3schools.com/html/html5_video.asp

If you are looking to provide the option of adjusting the quality and all you might have to host it on YouTube or some similar platform.

Hosting on such platforms also has its own advantages like you don’t have to worry about bandwidth and storage space.