QC play recording
Posted: Tue Feb 03, 2015 1:50 pm
Trying to play the recording from qc screen without downloading
this is the code that the provides recording location
We should be able to add this but I am doing something wrong
When i inspect element for player it is there but its not access the recording
Any ideas on how to correct this -
if not this if i can add a button that open this url in new window something like this
Any help on this would be appreciated and it will make anyone that listens to recording while QC'ing life easier
this is the code that the provides recording location
- Code: Select all
if (strlen($location)>30)
{$locat = substr($location,0,27); $locat = "$locat...";}
else
{$locat = $location;}
if ( (preg_match('/ftp/i',$location)) or (preg_match('/http/i',$location)) )
{$location = "<a href=\"$location\">$locat</a>";}
else
{$location = $locat;}
$u++;
echo "<tr $bgcolor>";
echo "<td><font size=1>$u</td>";
echo "<td align=left><font size=2> $row[12] </td>";
echo "<td align=left><font size=1> $row[4] </td>\n";
echo "<td align=left><font size=2> $row[8] </td>\n";
echo "<td align=left><font size=2> $row[0] </td>\n";
echo "<td align=center><font size=1> $row[10] </td>\n";
echo "<td align=left><font size=2> $location </td>\n";
echo "<td align=left><font size=2> <A HREF=\"user_stats.php?user=$row[13]\" target=\"_blank\">$row[13]</A> </td>";
echo "</tr>\n";
We should be able to add this but I am doing something wrong
- Code: Select all
echo "<td align=left><font size=2> <audio controls> <source=$location type=\"audio/mpeg\"> Your browser does not support the audio tag.</audio> </td>\n";
When i inspect element for player it is there but its not access the recording
Any ideas on how to correct this -
if not this if i can add a button that open this url in new window something like this
- Code: Select all
echo "<td align=left><font size=2> openUrl(/"data:text/html,<audio src=$location controls>/", /"Popup window/", /"height=100,width=100/"); </td>\n";
Any help on this would be appreciated and it will make anyone that listens to recording while QC'ing life easier