this post was submitted on 10 Mar 2024
242 points (95.8% liked)
Asklemmy
43818 readers
828 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
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
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
@[email protected] @[email protected] 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!
@[email protected] @[email protected] 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.
@[email protected] @[email protected] 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.
@[email protected] 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.