Latest 1.0.0
License MIT
Platforms ios 8.0

A Youtube Video Player for iOS built with Swift.


📦 Requirements

  • iOS 8+
  • Xcode 9.0+
  • Swift 4.0

👨🏻‍💻 Installation

BTYoutubePlayer is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'BTYoutubePlayer'

💻 Usage

It only takes a few simple steps to and setup BTYoutubePlayer to your project. First of all import BTYoutubePlayer

import 'BTYoutubePlayer'

Load video with Youtube Url

BTYoutubePlayer.loadWith(youtubeUrl: "", target: self)


Load video with Youtube ID

BTYoutubePlayer.loadWith(id: "AJtDXIazrMo", target: self)

💁🏻‍♂️ Example

The iOS Sample App included with this project demonstrates one way to correctly setup and use BTYoutubePlayer

🙋🏻‍♂️ Author

Bhavik Thummar, Email : [email protected]

📬 Support

Open an issue or shoot me an email. Check out previous issues to see if your’s has already been solved. (I would prefer an issue over an email. But will still happily respond to an email.)

💰 Contribution

Feel free to fork the project and send me a pull-request! 😎

📜 License

You are free to make changes and use this in either personal or commercial projects. Attribution is not required, but highly appreciated. A little "Thanks!" (or something to that affect) is always welcome. If you use BTYoutubePlayer in your app, please let us know!. BTYoutubePlayer is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "BTYoutubePlayer",
    "version": "1.0.0",
    "summary": "BTYoutubePlayer is a YouTube video player for iOS",
    "description": "The only official way of playing a YouTube video inside an app is with a web view & the iframe player API. So I wrote this player to play youtube videos using WKWebView & give users a better viewing experience.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "BhavikThummar": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "social_media_url": "",
    "platforms": {
        "ios": "8.0"
    "source_files": "BTYoutubePlayer/Classes/**/*",
    "resource_bundles": {
        "BTYoutubePlayer": [

Pin It on Pinterest

Share This