Neocities.org

Well, that figures...

thatfigures.neocities.org

6,537 views
7 followers
855 updates
0 tips
woah whats the code u used to add music? also love the magenta theme (edit: thank you so much!!)
1 like
thatfigures 1 year ago

Hi! I use a single line of code placed in (usually at the bottom away from everything else) that goes like this (without quotations): ' '! The "audio" class hides the controls - I add this in my css, consisting of .audio { display:none;}.

1 like
thatfigures 1 year ago

Seems I can't paste code here due to formatting issues! You can check out the code I use by going to my page and checking its source (crtl+u/right-click and select 'view source'). Scroll down until you get to the code that starts with "video controls autoplay" and copy the whole line. W3school's HTML video autoplay tutorial will explain more!!

1 like
thatfigures 1 year ago

The type attribute at the end of that autoplay code can be changed around depending on your audio source - because my music links are direct .mp3 files from Zophar's Domain/Khinsider I set the type to type=audio/mpeg! Youtube videos typically use the type=video/mp4 codec. Don't forget to hide it! :) And thank you very much for the compliments!! ^^

1 like

Website Stats

Last updated 2 months ago
CreatedDec 10, 2022
Site Traffic Stats

Tags

vintage lgbt photography figurines