Support for HTML5 <audio>

As with <video>,

   [[foo.wav:audio]]

works now, producing an HTML5 <audio> element.
This commit is contained in:
Jacques Distler 2009-03-03 12:17:14 -06:00
parent 8ea8b6a8f7
commit c7418af48d
5 changed files with 32 additions and 17 deletions

View file

@ -105,7 +105,7 @@ module WikiChunk
unless defined? WIKI_LINK
WIKI_LINK = /(":)?\[\[\s*([^\]\s][^\]]*?)\s*\]\]/
LINK_TYPE_SEPARATION = Regexp.new('^(.+):((file)|(pic)|(video)|(delete))$', 0)
LINK_TYPE_SEPARATION = Regexp.new('^(.+):((file)|(pic)|(video)|(audio)|(delete))$', 0)
ALIAS_SEPARATION = Regexp.new('^(.+)\|(.+)$', 0)
WEB_SEPARATION = Regexp.new('^(.+):(.+)$', 0)
end