{"repo":"SvenTiigi/YouTubePlayerKit","free":true,"listed":false,"github":"https://github.com/SvenTiigi/YouTubePlayerKit","clone":"git clone https://github.com/SvenTiigi/YouTubePlayerKit.git","description":"A Swift Package to easily play YouTube videos 📺","language":"Swift","stars":991,"topics":["youtube","youtube-iframe-player","swift","swiftui","ios","macos","visionos","youtube-player"],"license":"MIT","category":"mobile-apps","readme_excerpt":"YouTubePlayerKit A Swift Package to easily play YouTube videos. Features - [x] Play YouTube videos with just one line of code 📺 - [x] YouTube Terms of Service compliant implementation ✅ - [x] Access to all native YouTube iFrame APIs 👩‍💻👨‍💻 - [x] Support for SwiftUI, UIKit and AppKit 🧑‍🎨 - [x] Runs on iOS, macOS and visionOS 📱 🖥 👓 Example Check out the example application to see YouTubePlayerKit in action. Simply open the Example/Example.xcodeproj and run the \"Example\" scheme. Installation To integrate using Apple's Swift Package Manager, add the following as a dependency to your Package.swift : Or navigate to your Xcode project then select Swift Packages , click the “+” icon and search for YouTubePlayerKit . [!NOTE] When integrating YouTubePlayerKit to a macOS or Mac Catalyst target please ensure to enable \"Outgoing Connections (Client)\" in the \"Signing & Capabilities\" sections. App Store Review When submitting an app to the App Store which includes the YouTubePlayerKit , please ensure to add a link to the YouTube API Terms of Services in the review notes. Limitations - Audio background playback is not supported as it violates the YouTube Terms of Service. - Simultaneous playback of multiple YouTube players is not supported. - Controlling playback of 360° videos is not supported. Usage [!TIP] Please refer to the YouTubePlayerKit documentation for a complete overview. A YouTubePlayer can be easily displayed when using SwiftUI by declaring a YouTubePlayerView . [!TIP]","default_branch":null,"files":null,"tree":[],"storefront":"/r/SvenTiigi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SvenTiigi/YouTubePlayerKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}