Minor fixes
This commit is contained in:
parent
1a26681d87
commit
4dca4bf93c
2
dist/plyr.js
vendored
2
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.js.map
vendored
2
dist/plyr.js.map
vendored
File diff suppressed because one or more lines are too long
2
src/js/controls.js
vendored
2
src/js/controls.js
vendored
@ -79,7 +79,7 @@ const controls = {
|
|||||||
// https://github.com/sampotts/plyr/issues/460
|
// https://github.com/sampotts/plyr/issues/460
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
|
// https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
|
||||||
if ('href' in use) {
|
if ('href' in use) {
|
||||||
use.setAttribute('href', path);
|
use.setAttributeNS('http://www.w3.org/1999/xlink', 'href', path);
|
||||||
} else {
|
} else {
|
||||||
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', path);
|
use.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', path);
|
||||||
}
|
}
|
||||||
|
@ -432,7 +432,7 @@ const listeners = {
|
|||||||
// Airplay
|
// Airplay
|
||||||
utils.on(this.elements.buttons.airplay, 'click', event =>
|
utils.on(this.elements.buttons.airplay, 'click', event =>
|
||||||
proxy(event, 'airplay', () => {
|
proxy(event, 'airplay', () => {
|
||||||
this.airPlay();
|
this.airplay();
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user