set <audio> preload to none to try and stop browser from trying to load all wavs
This commit is contained in:
parent
18edc8849b
commit
e06121ab13
|
@ -25,7 +25,7 @@ def do():
|
|||
print title
|
||||
indexHtml += "<a target='_blank' href='%s'>%s</a><br />Time: %s<br/>\n" % (outfile, title, time,)
|
||||
indexHtml += "<a target='_blank' href='http://pad.ma/%s'>View on Padma</a><br />\n" % (padmaId,)
|
||||
audioHtml = "<audio controls='controls' src='wav/%s'></audio><br /><br />\n\n" % (audioFile,)
|
||||
audioHtml = "<audio controls='controls' src='wav/%s' preload='none'></audio><br /><br />\n\n" % (audioFile,)
|
||||
print audioHtml
|
||||
indexHtml += audioHtml
|
||||
out = codecs.open(outfile, mode="w", encoding="utf-8")
|
||||
|
|
Loading…
Reference in New Issue
Block a user