forked from indymedia/epicyon
Set audio player dimensions
parent
041ed5bf53
commit
ad54923b1a
|
@ -1206,7 +1206,7 @@ def addEmbeddedAudio(content: str) -> str:
|
|||
if not (w.startswith('http') or w.startswith('dat:') or '/' in w):
|
||||
continue
|
||||
url=w
|
||||
content+='<center><audio controls>'
|
||||
content+='<center><audio width="400" height="50" controls>'
|
||||
content+='<source src="'+url+'" type="audio/'+extension.replace('.','')+'">'
|
||||
content+='Your browser does not support the audio element.'
|
||||
content+='</audio></center>'
|
||||
|
|
Loading…
Reference in New Issue