-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add cover image for audio on the player page #322
Comments
Or just go hacky way and use |
Not a bad idea at all. Are there any downsides to that you can think of? |
Depends on what range of browsers you are targeting, so there are probably going to be problems with Safari and IE. |
Would music-metadata be useful to extract covers from audio files? It can be used to get the duration as well. |
That's fine, it's probably the cleanest/nicest solution so I'd support it even if for some browsers it doesn't work. Is there a caniuse link I can check to see the browser support? |
@mayeaux there is MDN article. div.audioplayer
div.picturewrapper
a(href="")
picture
img(srcset="", src="", width="", height="", alt="")
div.audiowrapper
//- `<audio> doesn't support subtitles`
video(controls)
each source of sources
source(src="", type="audio/*")
each track of tracks
track(kind="", label="", src="")
p Your browser doesn't support HTML5 media. Here is a #[a(href="") link to the audio] instead.
div.audiocontrols
div.transcription Will require some changes to the model for full support. |
Since |
You could also drop the audio.svg file above it, will fix the issue of the speed selector being inaccesible to audio files
The text was updated successfully, but these errors were encountered: