/youtube-ios-player-helper-swift

A full swift implementation of https://github.com/youtube/youtube-ios-player-helper. Helper library for iOS developers looking to add YouTube video playback in their applications via the iframe player in a UIWebView

Primary LanguageSwiftApache License 2.0Apache-2.0

youtube-ios-player-helper-swift

Version License Platform

Helper library for iOS developers looking to add YouTube video playback in their applications via the iframe player in a UIWebView

This library is the same of old objective-c https://github.com/youtube/youtube-ios-player-helper

Features

  • Interface builder designable
  • Highly customizable and flexible
  • Easy to use
  • Written in Swift

Installation

CocoaPods

  1. Install CocoaPods
  2. Add this repo to your Podfile
target 'Example' do
# IMPORTANT: Make sure use_frameworks! is included at the top of the file
use_frameworks!
platform :ios, '8.0'
pod 'youtube-ios-player-helper-swift'
end
  1. Run pod install
  2. Open up the .xcworkspace that CocoaPods created
  3. Done!

Usage

Example project

Take a look at the example project over here

  1. Download it
  2. Open the Example.xcworkspace in Xcode
  3. Enjoy!

Author

Moayad Al kouz, moayad_kouz9@hotmail.com

Twitter : @malkouz

License

youtube-ios-player-helper-swift is available under the Apache License. See the LICENSE file for more info.