updated nuget
This commit is contained in:
parent
4e815ceaf0
commit
4b951f485f
4 changed files with 16 additions and 35 deletions
|
@ -509,18 +509,7 @@
|
|||
|
||||
self.canPlayNativeHls = function () {
|
||||
|
||||
// Don't use HLS on android 4.x, regardless of what the browser reports
|
||||
//if ($.browser.android) {
|
||||
// var agent = navigator.userAgent.toLowerCase();
|
||||
|
||||
// for (var i = 0; i <= 4; i++) {
|
||||
// if (agent.indexOf('android 4.' + i) != -1) {
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
if ($.browser.android && AppInfo.isNativeApp) {
|
||||
if (AppInfo.isNativeApp) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -541,21 +530,9 @@
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($.browser.chrome) {
|
||||
|
||||
// viblast can help us here
|
||||
//return true;
|
||||
return window.MediaSource != null;
|
||||
}
|
||||
|
||||
if ($.browser.msie) {
|
||||
|
||||
// viblast can help us here
|
||||
//return true;
|
||||
return window.MediaSource != null;
|
||||
}
|
||||
|
||||
return false;
|
||||
// viblast can help us here
|
||||
//return true;
|
||||
return window.MediaSource != null;
|
||||
};
|
||||
|
||||
self.changeStream = function (ticks, params) {
|
||||
|
|
|
@ -327,10 +327,14 @@
|
|||
|
||||
$('a', elem).on('click', function () {
|
||||
|
||||
var card = $(this).parents('.card');
|
||||
var textElem = $('.cardText', card);
|
||||
var card = this;
|
||||
|
||||
var text = textElem.html();
|
||||
if (!this.classList.contains('card')) {
|
||||
card = $(this).parents('.card')[0];
|
||||
}
|
||||
|
||||
var textElem = $('.cardText', card);
|
||||
var text = textElem.text();
|
||||
|
||||
LibraryMenu.setTitle(text);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue