mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 16:51:28 +00:00
disable dead frontend code for html5 audio tags (refs #246)
This commit is contained in:
@@ -2133,6 +2133,8 @@ function truncate_string(s, length) {
|
|||||||
if (s.length > length) tmp += "…";
|
if (s.length > length) tmp += "…";
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
function switchToFlash(e) {
|
function switchToFlash(e) {
|
||||||
try {
|
try {
|
||||||
var targ = e;
|
var targ = e;
|
||||||
@@ -2158,6 +2160,7 @@ function switchToFlash(e) {
|
|||||||
exception_error("switchToFlash", e);
|
exception_error("switchToFlash", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function html5AudioOrFlash(type) {
|
function html5AudioOrFlash(type) {
|
||||||
var audioTag = document.createElement('audio');
|
var audioTag = document.createElement('audio');
|
||||||
if(! audioTag.canPlayType || audioTag.canPlayType(type) == "no" ||
|
if(! audioTag.canPlayType || audioTag.canPlayType(type) == "no" ||
|
||||||
@@ -2166,4 +2169,4 @@ function html5AudioOrFlash(type) {
|
|||||||
switchToFlash($('switchToFlashLink'));
|
switchToFlash($('switchToFlashLink'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} */
|
||||||
|
|||||||
Reference in New Issue
Block a user