Libraryless. Click here for Pure Java version (4170L/24K).
1 | sS haudioWithControls(S src, O... _) {
|
2 | S noAudioMsg = "Your browser doesn't seem to play audio."; |
3 | if (oddL(_)) {
|
4 | noAudioMsg = strOrEmpty(first(_)); |
5 | _ = dropFirst(_); |
6 | } |
7 | ret htag audio(noAudioMsg, paramsPlus(_, +src, controls := true)); |
8 | } |
Began life as a copy of #1009461
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032432 |
| Snippet name: | haudioWithControls |
| Eternal ID of this version: | #1032432/2 |
| Text MD5: | 846f0a38e4e0511d548e0f66156660f0 |
| Transpilation MD5: | 44b2f22480940fff4100964b171feb52 |
| Author: | stefan |
| Category: | javax / html |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-09-22 00:56:09 |
| Source code size: | 259 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 401 / 497 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |