diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index 71fdefee..b1b3e887 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -546,7 +546,9 @@ export default Vue.extend({ this.recommendedVideos = result.recommendedVideos this.adaptiveFormats = result.adaptiveFormats.map((format) => { format.bitrate = parseInt(format.bitrate) - format.height = parseInt(format.resolution.replace('p', '')) + if (typeof format.resolution !== 'undefined') { + format.height = parseInt(format.resolution.replace('p', '')) + } return format }) this.isLive = result.liveNow