MantisBT - ATutor
View Issue Details
0003992ATutorContentpublic2009-11-10 10:542009-12-01 08:41
greg 
cindy 
normalminoralways
closedfixed 
 
1.6.4 
SVN
0003992: text alternative for audio
Output of text file to append or replace audio generates broken markup.
No tags attached.
Issue History
2009-11-10 10:54gregNew Issue
2009-11-10 10:54gregAffects version => SVN
2009-11-10 11:29gregNote Added: 0003854
2009-11-12 02:49gregStatusnew => assigned
2009-11-12 02:49gregAssigned To => cindy
2009-11-20 11:18cindyStatusassigned => resolved
2009-11-20 11:18cindyFixed in Version => 1.6.4
2009-11-20 11:18cindyResolutionopen => fixed
2009-11-20 11:18cindyNote Added: 0003892
2009-12-01 08:41gregStatusresolved => closed

Notes
(0003854)
greg   
2009-11-10 11:29   
fails on the following object/embed block.


<object type="audio/mpeg" data="audio/ADO-1.mp3">
        <param name="src" value="audio/ADO-1.mp3" />
        <param name="autoplay" value="false" />
        <param name="autoStart" value="0" />
<embed src="audio/ADO-1.mp3" height="60" width="144">
</object>
(0003892)
cindy   
2009-11-20 11:18   
SVN revision: 8951

Solution: check on file extension and file content, if html file, use iframe to display and auto adjust iframe height; if text file, insert/replace into content.

Affected scripts:
include/lib/output.inc.php
jscripts/infusion/jquery.autoHeight.js
themes/default/include/header.tmpl.php
themes/blumin/include/header.tmpl.php
themes/greenmin/include/header.tmpl.php
themes/fluid/include/header.tmpl.php
themes/default_classic/include/header.tmpl.php