I want to display YouTube videos on my website, but I need to be able to add a unique id for each video that\'s going to be shared by users. So I put this toget
id
Here is the reusable function to generate the random IDs :
function revisedRandId() { return Math.random().toString(36).replace(/[^a-z]+/g, '').substr(2, 10); }
// It will not start with the any number digit so it will be supported by CSS3