Open GernBlanston12 opened 4 years ago
(Just an idea and i don't know if this is doable or not)
Is it possible to embed a piece of "HTML5 Audio" code into Performers.tsx
?
<!-- audio attributes can be changed -->
<audio controls autoplay loop>
<source src="mp3folder/model name.ogg" type="audio/ogg">
<source src="mp3folder/model name.mp3" type="audio/mpeg">
<source src="mp3folder/model name.wav" type="audio/wav">
Your browser does not support the audio element.
</audio>
https://www.w3schools.com/tags/tag_audio.asp
I made a quick & dirty mockup here with the loop
attribute (ignore the loading icon, just hit the play button) --> https://uncleroger33.github.io/stash_music_test/index.html
If this is possible,
model name.ogg/mp3/wav
can be populated from performers:name
column, user just renames that custom theme music.ogg/mp3/wav
to the model name.mp3/ogg/wav
and puts in mp3folder
No, I'm serious. You know how in Plex, when you browse to a given TV series, it shows the banner/background image for that series, and plays the theme music in the background? Would love it if you could link either a song or an interview .mp3 to play when browsing a given Performer's page.