|
|
|
@ -338,12 +338,9 @@ if (bpb) {
|
|
|
|
|
player.ready(function() {
|
|
|
|
|
var promise = player.play();
|
|
|
|
|
|
|
|
|
|
if (promise === undefined) {
|
|
|
|
|
bpb.show();
|
|
|
|
|
} else {
|
|
|
|
|
promise.then(function() {
|
|
|
|
|
bpb.show();
|
|
|
|
|
}, function() {
|
|
|
|
|
if (promise !== undefined) {
|
|
|
|
|
promise.then(_ => {
|
|
|
|
|
}).catch(error => {
|
|
|
|
|
bpb.show();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|