Community Forums

ATutor Bug Reports

Bugs with [media] tags

Page: 1

Avatar for IndieRect
Subject: Bugs with [media] tagsQuote this post in your reply
There're a few bugs in the newly introduced [media] tags .

In embed_media() function, the regexp supposedly checking for MID files actually checks for OGG extension, that's why MID files end up not recognized.
I would also suggest at least a change in the regexps, so that $1 reference would contain file name with an extension. That will leave less space for bugs like this and shorten the regexp.

The regexps also should match common variations of the file extensions, like MIDI or MPEG.
Posted: 2007-08-09 02:46:17
Page: 1

You must be signed-in to post.

Related Articles