XVideosharing video hosting script

High performance video streaming site solution

Latest version: 2.3
Release date: Sep 2024

XVideoSharing FAQ



Usefull pages:

Q: What is "Static embed code"? Is it better for my site?
A: It's regular emb.html page in your htdocs folder. It's using thumbnail from the URL and making fake player with play button. After clicking this button user redirecting to real embed page with auto-play option. This was made to lower the load on your script and database. Cause embed pages can be loaded on pages with high views and can be never clicked to play the video. This will use your site resources just to show the Play button. Static embed only serve small HTML page with no script/DB load.

Q: Is HLS better than regular streaming?
A: Yes, regular streaming send video as MP4 file, to start playing it you need to load video meta-data, for long videos it can be 10MB+ and this will take few seconds to start the video. This is not nice for your users.
HLS sends video stream with few seconds chunks, so player can preload and start playing the video much faster.
Also it's possible to proxy and cache HLS chunks through special proxy servers. This lower load on storage servers disks and network. It's important that only requested chunks are caching, not the whole video, this way we save lot of space on Proxy servers caches.