StreamElements / widgets

282 stars 119 forks source link

CustomChat widget throwing Uncaught ReferenceError: md5 is not defined #48

Open beepsandbleeps opened 4 hours ago

beepsandbleeps commented 4 hours ago

On the CustomChat widget I'm getting an error "Uncaught ReferenceError: md5 is not defined" when the md5 function is called if the user's displayColor is empty. I've copied over the same scr path to the blueimp-md5 library in the html file as your example. Any ideas?

c4ldas commented 4 hours ago

On widget.html, add https: to the md5 script URL on the first line, so it will look like this:

<script src="https://cdnjs.cloudflare.com/ajax/libs/blueimp-md5/2.12.0/js/md5.min.js"></script>

beepsandbleeps commented 4 hours ago

Awesome! Nice catch! Thank you!!