mirror of https://github.com/Chocobozzz/PeerTube
Typo when catching play promise
parent
a454d638c3
commit
de2c0de32a
|
@ -46,7 +46,7 @@ export class PeerTubeEmbedApi {
|
|||
|
||||
channel.bind('play', (txn, params) => {
|
||||
const p = this.player.play()
|
||||
if (p) return
|
||||
if (!p) return
|
||||
|
||||
p.catch((err: Error) => {
|
||||
console.error('Cannot play the video', err)
|
||||
|
|
Loading…
Reference in New Issue