youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.64k stars 680 forks source link

Cannot run video on M1 mac / iPad app #454

Open dinhnhat0401 opened 2 years ago

dinhnhat0401 commented 2 years ago

Facing issue while trying to play video on M1 mac. Using the same code base as iOS app. Video displayed as expected. When I click play button, video plays for 0.5s have sounds, then reload init screen. Please check. Thanks.

m1-video-bug

error:

[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "(

originator doesn't have entitlement com.apple.runningboard.assertions.webkit
 AND
originator doesn't have entitlement **com.apple.multitasking.systemappassertions**)"\

UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)}>
brol1dev commented 2 years ago

Hi @dinhnhat0401 ,

Thank you for using the library! However we don't currently support and test our library against mac OS. Because of that, you can expect errors there.

I'll chat with the team to see if we want to start supporting mac OS as well.

dinhnhat0401 commented 2 years ago

hi, @rcvrgs thanks for your response. Our team member also reported a similar problem happening with iPad devices. Could you check with an iPad?

brol1dev commented 2 years ago

@dinhnhat0401 ,

Is this issue happening on iPads with M1 chips only or any iPad?

dinhnhat0401 commented 2 years ago

@rcvrgs the tested device is:

Device: iPad Air3 - iOS 14.4.2

Since this is not an M1 iPad, I believe it happening with any iPad.