mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-16 14:40:44 +01:00
Fix check for unplayable videos
This commit is contained in:
parent
176d88bb0c
commit
3af6f9b65f
@ -197,7 +197,7 @@ export default Vue.extend({
|
||||
console.log(result)
|
||||
|
||||
const playabilityStatus = result.player_response.playabilityStatus
|
||||
if (playabilityStatus.status !== 'OK') {
|
||||
if (playabilityStatus.status === 'UNPLAYABLE') {
|
||||
const errorScreen = playabilityStatus.errorScreen.playerErrorMessageRenderer
|
||||
const reason = errorScreen.reason.simpleText
|
||||
let subReason
|
||||
|
Loading…
Reference in New Issue
Block a user