feat: ✨ plays radio stream from url
feat: ✨ api structure
This commit is contained in:
parent
c908fdc097
commit
8f2b6f1e3f
17 changed files with 3534 additions and 0 deletions
18
front/src/main.rs
Normal file
18
front/src/main.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
use dioxus::prelude::*;
|
||||
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
launch(app);
|
||||
}
|
||||
|
||||
fn app() -> Element {
|
||||
rsx!{
|
||||
h1 {
|
||||
"Radioxide"
|
||||
}
|
||||
div {
|
||||
audio{ autoplay:true, controls:true, muted:false, src:"https://playerservices.streamtheworld.com/api/livestream-redirect/METRO_FM128AAC.aac?/;stream.mp3" }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue