How would you structure a media player app?


#1

Hi, I’m learning Ember building a media player and would like some input on the structure. I have the following routes:

/songs/:song_id
/playlists/:playlist_id (hasMany: songs)

How would you build the actual player? It should work across routes, meaning it shouldn’t have an URL, I guess. A component or a view? When you enter a song resource, how would you pass that model to the player? How would you take on URLs in an app like this?