0xced / XCDYouTubeKit

YouTube video player for iOS, tvOS and macOS
MIT License
2.92k stars 626 forks source link

[XCDYouTubeKit] Failed to decode response Code: -3 #555

Open haroonakram opened 2 years ago

haroonakram commented 2 years ago

I am facing this issue where videos are not working on IOS.

I saw the issue #525 #530 #531 none of them are giving any solution....

Can anyone help in this regards.....

[XCDYouTubeKit] Failed to decode response from https://www.youtube.com/get_video_info?el=embedded&hl=en&ps=default&video_id=XXX (response.textEncodingName = utf-8, data.length = 0) 2022-04-07 12:26:43.614337+0300 App[35454:2561464] [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -3.) Domain: XCDYouTubeVideoErrorDomain Code: -3 User Info: { }

beiliubei commented 2 years ago

@haroonakram

https://github.com/0xced/XCDYouTubeKit/pull/552

this pr is ok

pod 'XCDYouTubeKit-kbexdev', :git => 'https://github.com/kbex-dev/XCDYouTubeKit.git'

antenehs commented 2 years ago

@haroonakram

552

this pr is ok

pod 'XCDYouTubeKit-kbexdev', :git => 'https://github.com/kbex-dev/XCDYouTubeKit.git'

This works for me!!

NguyenNgocLe commented 2 years ago

it's helpful

ToshMeston commented 2 years ago

@haroonakram

552

this pr is ok

pod 'XCDYouTubeKit-kbexdev', :git => 'https://github.com/kbex-dev/XCDYouTubeKit.git'

Thanks beiliubei.

mayurchaudhary-kiwi commented 2 years ago

@haroonakram

552

this pr is ok pod 'XCDYouTubeKit-kbexdev', :git => 'https://github.com/kbex-dev/XCDYouTubeKit.git'

Thanks beiliubei.

Hello Please help me , currently I am using this

pod 'XCDYouTubeKit', git: 'https://github.com/jatin19121990/XCDYouTubeKit', branch: 'hotfix/Can-Not-Play-video-any-more---XCDYouTubeVideoErrorDomain-Code=-3-#525', submodules: true

what I have to do for updating to the correct one .

Facing this issue :- [XCDYouTubeKit] Failed to decode response from https://www.youtube.com/get_video_info?el=embedded&hl=en&html5=1&ps=default&video_id=UtN1jwsdyxI (response.textEncodingName = utf-8, data.length = 0) 2022-05-30 11:55:31.355397+0530 TopFan[2505:92476] [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -3.) Domain: XCDYouTubeVideoErrorDomain Code: -3 User Info: { }

beiliubei. Please help me

JaydeepVirani303 commented 1 year ago

[XCDYouTubeKit] Failed to decode response from https://www.youtube.com/get_video_info?c=ANDROID&cver=16.05.7&eurl=https://youtube.googleapis.com/v/ILAU8Kr5Pq4&hl=en&html5=1&sts=&video_id=ILAU8Kr5Pq4 (response.textEncodingName = utf-8, data.length = 0) [XCDYouTubeKit] Video operation finished with error: The operation couldn’t be completed. (XCDYouTubeVideoErrorDomain error -3.) Domain: XCDYouTubeVideoErrorDomain Code: -3 User Info: { }

@beiliubei I face the same issue, can you please help me?

JaydeepVirani303 commented 1 year ago

I found this issue, in my case, this is not working due to a region issue. some video is not available in a specific region so you will get this error.