How to embed DISC0RD on your own site

To get a random video from DISC0RD on your website, embed the following in the location that you want the video to be:

<script>document.write('<video controls id="disc0rd-video" src="https://disc0rd.xyz/video?'+Math.round(Math.random()*1000000)+'"></video>')</script>

The reason this Javascript is necessary is because most browsers will keep playing the same video even after reload. This adds a random number on the end of the URL when the page loads, so that the browser will be force to load a new video.

To embed an individual video, just use an HTML5 <video> element:

<video controls src="https://static.termer.net/download/drb8mz4e16/el_muchacho.webm"></video>

(Just replace the URL with another video)


In action: