this post was submitted on 10 Mar 2024
243 points (96.2% liked)
Asklemmy
43945 readers
638 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@ajsadauskas@aus.social @asklemmy@lemmy.ml I think I actually have a few of my 90s-era sites archived. One of them should have an auto play midi for the background music. I'll see if I can dig it up!
@ajsadauskas@aus.social @asklemmy@lemmy.ml I actually started down this path a little while back and have since gotten sidetracked.
https://weblike99.com/
@tokenwizard @asklemmy I'm thinking of eventually doing three websites.
One that's a '90s pastiche (that one), a minimalist personal website that takes some elements of the '90s web but tones them down a notch, and a blog.
@ajsadauskas@aus.social @asklemmy@lemmy.ml I was thinking an old forum like Simple Machines or something.
I think that maybe not knowing how to make the embedded midi auto-play is more authentic!
But I used to use Autostart=true in the Embed tag.
@bandwidthcrisis@lemmy.world I was trying this with the HTML5 audio tag but not having any luck. It may be client browser specific.
Ah, sorry, I was only looking at what I did in the 90s!
Looking at the page, there's a console error that says something about "invoke Tone.start()" so I wonder if it needs some javascript to do that, maybe
<script type="text/javascript">Tone.start();</script>
I think that it's including this player code?
https://www.npmjs.com/package/midi-player-js
But the docs there describe creating a new MidiPlayer object and calling play() instead of start(), so I'm probably not helping.
I don't work with javascript, so this is all pure guesswork.