Latest 1.0.0
Homepage https://github.com/BhavikThummar/BTYoutubePlayer
License MIT
Platforms ios 8.0
Authors

A Youtube Video Player for iOS built with Swift.

screenshot_1_opt
screenshot_2_opt

📦 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: "https://www.youtube.com/watch?v=euCqAq6BRa4", target: self)

or

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": "https://github.com/BhavikThummar/BTYoutubePlayer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "BhavikThummar": "[email protected]"
    },
    "source": {
        "git": "https://github.com/BhavikThummar/BTYoutubePlayer.git",
        "tag": "1.0.0"
    },
    "social_media_url": "https://twitter.com/lazy_coderr",
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BTYoutubePlayer/Classes/**/*",
    "resource_bundles": {
        "BTYoutubePlayer": [
            "BTYoutubePlayer/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This