Hi,
Awesome Dashboard guys, keep it up!
So I have a dashboard ,its widget page have a table and the data fetched is appended to that end of table like this:
$('#flighttable > tbody:last',el).append();
And there is an if condition which results in a red record for some conditions. Here's the way it's done:
if(....){
$('#flighttable > tbody:last',el).append("<tr><td class='red'>"+quote.AC_REG_CD+"</td></tr>........................}
So, in this if block, I was appending an audio tag after <tr> like this:
$('#flighttable > tbody:last',el).append("<tr><audio autoplay = 'true'><source src='338.mp3'></audio><td class='red'>"+quote.AC_REG_CD+"</td>......and so on....
But, when I restart the application after these changes, the audio file is not playing. I have also tried Audio() class with methods like load() and play() but even that's not working as well.
I am maintaining some other developer's code and am extremely new to Atlasboard. Please suggest where am I going wrong.
Thanks In Advance.
Shubham