icon + iframe/music issue?

Posted 1 year, 2 months ago by tanim

okay so im using this adorable template by applerolls/codesrolls

there's this piece of code where originally it was a gramophone with no animation, but there was a little note that said you can change that part to x for a spinning disc, which i did

<!-------[ replace [ # ] with youtube video id (found after https://www.youtube.com/watch?v=) ]------------>
<iframe src="https://www.youtube.com/embed/jTJTR742shE"
frameborder="0" style="height:1rem;width:1rem;opacity:.001;position:absolute;"></iframe>

<!--------- / you can replace it with - fas fa-disc fa-lg fa-spin - for a spinning disc :D / ------------->
<i class="fas fa-compact-disc fa-lg fa-spin"></i>

if i used the 'fa-disc' it would show no icon but still play the music. i looked up font awesome site and it seems the name has changed to 'fa-compact-disc', so i changed it to that... now the icon shows but the music wont play (there are like one or two clickable pixels above the icon but thats it)

any idea how to fix this?


tanim

ushiwaka that worked!!! tysm <3