Latest 1.0
Homepage https://github.com/muhammadbassio/WebPlayer
License MIT
Platforms ios 9.0
Authors

WebPlayer (swift)

A Wrapper around WKWebView to embed videos into your iOS app, tested on:

  • YouTube
  • Vimeo
  • Dailymotion
  • Streamable
  • Twitch
  • Facebook

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate Alamofire into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'WebPlayer'
end

Then, run the following command:

$ pod install
Manual

Drag the folder "source" to your Xcode project.

How to use

Check the Example app.

License

MIT License (MIT)

Copyright (c) 2018 MuhammadBassio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Latest podspec

{
    "name": "WebPlayer",
    "version": "1.0",
    "summary": "A Wrapper around WKWebView to embed videos into your iOS app.",
    "description": "A Wrapper around WKWebView to embed videos into your iOS app (YouTube, Vimeo, Dailymotion, Facebook, ...etc).",
    "homepage": "https://github.com/muhammadbassio/WebPlayer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Muhammad Bassio": "[email protected]"
    },
    "source": {
        "git": "https://github.com/muhammadbassio/WebPlayer.git",
        "tag": "1.0"
    },
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "source/*.swift"
}

Pin It on Pinterest

Share This