video audio controls

This commit is contained in:
Sanj 2011-06-30 22:59:58 +05:30
parent c78ac848c6
commit 8765b34683

View File

@ -54,10 +54,10 @@ function getJQ(f) {
html += "<img width='400' src='" + d.thumbnail + "' />";
break;
case "video":
html += "<video width='400' src='" + d.url + "' />";
html += "<video controls='controls' width='400' src='" + d.url + "' />";
break;
case "audio":
html += "<audio width='400' src='" + d.url + "' />";
html += "<audio controls='controls' width='400' src='" + d.url + "' />";
break;
default:
html += "";