Set audio player dimensions

master
Bob Mottram 2019-08-30 17:21:51 +01:00
parent 041ed5bf53
commit ad54923b1a
1 changed files with 1 additions and 1 deletions

View File

@ -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>'