This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//classe dos elementos DIV que contem o vídeo | |
//k-u-P-m | |
//o attribute que precisamos para pegar o id do vídeo | |
//data-id | |
//pegando os vídeos | |
VideoElements = document.getElementsByClassName('k-u-P-m'); | |
for (var i = 0, total = VideoElements.length; i < total; i++) { |