CC-4622: Library: AAC file can be preview but is blocked from playlist and content menu
- fixed
This commit is contained in:
parent
5b14c4fe88
commit
d7a5ab4d94
|
@ -14,5 +14,6 @@ function isAudioSupported(mime){
|
||||||
//Note that checking the navigator.mimeTypes value does not work for IE7, but the alternative
|
//Note that checking the navigator.mimeTypes value does not work for IE7, but the alternative
|
||||||
//is adding a javascript library to do the work for you, which seems like overkill....
|
//is adding a javascript library to do the work for you, which seems like overkill....
|
||||||
return (!!audio.canPlayType && audio.canPlayType(bMime) != "") ||
|
return (!!audio.canPlayType && audio.canPlayType(bMime) != "") ||
|
||||||
(mime.indexOf("mp3") != -1 && navigator.mimeTypes ["application/x-shockwave-flash"] != undefined);
|
(mime.indexOf("mp3") != -1 && navigator.mimeTypes ["application/x-shockwave-flash"] != undefined) ||
|
||||||
|
(mime.indexOf("mp4") != -1 && navigator.mimeTypes ["application/x-shockwave-flash"] != undefined);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue