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="'+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=""></video>

(Just replace the URL with another video)

In action: