1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 15:05:56 +00:00

use html5 audio player instead of flash when possible

This commit is contained in:
Andrew Dolgov
2010-11-30 12:40:23 +03:00
parent d769a0f75a
commit c3edc667f1
5 changed files with 88 additions and 10 deletions

View File

@@ -318,8 +318,10 @@ function init() {
loading_set_progress(20);
var hasAudio = !!((myAudioTag = document.createElement('audio')).canPlayType);
new Ajax.Request("backend.php", {
parameters: {op: "rpc", subop: "sanityCheck"},
parameters: {op: "rpc", subop: "sanityCheck", hasAudio: hasAudio},
onComplete: function(transport) {
backend_sanity_check_callback(transport);
} });