Files
RSSHub/lib/v2/transcriptforest/templates/description.art
T
Ethan Shen 8c077f966d feat(route): add Transcript Forest (#14482)
* feat(route): add Transcript Forest

* fix: add transcript text
2024-02-18 00:24:50 +08:00

23 lines
516 B
Arturo

{{ if audios }}
{{ each audios audio }}
{{ if audio?.src }}
<audio controls>
<source
src="{{ audio.src }}"
type="{{ audio.type }}">
<object data="{{ audio.src }}">
<embed src="{{ audio.src }}">
</object>
</audio>
{{ /if }}
{{ /each }}
{{ /if }}
{{ if texts }}
{{ each texts t }}
{{ if t.startTime && t.endTime }}
<small>{{ t.startTime }} - {{ t.endTime }}</small>
{{ /if }}
<p>{{ t.text }}</p>
{{ /each }}
{{ /if }}