Embed: many general updates
This commit is contained in:
parent
de3043a8e3
commit
a596d90573
7 changed files with 227 additions and 172 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue