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:
@@ -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);
|
||||
} });
|
||||
|
||||
Reference in New Issue
Block a user