Embed: many general updates

This commit is contained in:
Cat 2016-12-20 14:07:39 +01:00 committed by Thulinma
parent de3043a8e3
commit a596d90573
7 changed files with 227 additions and 172 deletions

View file

@ -12,8 +12,8 @@ mistplayers.html5 = {
var shortmime = mimetype.split('/');
shortmime.shift();
if ((shortmime[0] == 'audio') && (streaminfo.height)) {
//claim you don't support audio only playback if there is video data
if ((shortmime[0] == 'audio') && (streaminfo.height) && (!options.forceType) && (!options.forceSource)) {
//claim you don't support audio-only playback if there is video data, unless this mime is being forced
return false;
}