Latest 1.9.9
Homepage https://github.com/SRGSSR/SRGMediaPlayer-iOS
License MIT
Platforms ios 8.0, requires ARC
Dependencies libextobjc/EXTScope, TransitionKit
Authors , , , ,

SRG Media Player logo

About

The SRG Media Player library for iOS provides a simple way to add a universal audio / video player to any application. It provides:

  • A default player with the same look & feel as the standard iOS player, and automatic support for picture in picture for compatible devices
  • A set of overlays which can be combined to create the user interface you need
  • Support for segments. Those are simply sections of a video, defined by non-overlapping time ranges, which can be blocked or hidden
  • Support for DVR streams
  • Ability to use several instances of the player at the same time

Compatibility

The library is suitable for applications running on iOS 8 and above.

Installation

The library can be added to a project using CocoaPods version 1.0 or above by adding the SRGMediaPlayer dependency to its Podfile:

pod 'SRGMediaPlayer', '<version>'

For more information about CocoaPods and the Podfile, please refer to the official documentation.

Demo project

To test what the library is capable of, try running the associated demo by opening the workspace and building the associated scheme.

Usage

To learn about how the library can be used, have a look at the getting started guide.

License

See the LICENSE file for more information.

Latest podspec

{
    "name": "SRGMediaPlayer",
    "version": "1.9.9",
    "summary": "Shared media player for SRG mobile apps.",
    "homepage": "https://github.com/SRGSSR/SRGMediaPlayer-iOS",
    "authors": {
        "Fru00e9du00e9ric Humbert-Droz": "[email protected]",
        "Ceu0301dric Luthi": "[email protected]",
        "Ceu0301dric Foellmi": "[email protected]",
        "Samuel Du00e9fago": "[email protected]",
        "Pierre-Yves Bertholon": "[email protected]"
    },
    "license": {
        "type": "MIT"
    },
    "source": {
        "git": "https://github.com/SRGSSR/SRGMediaPlayer-iOS.git",
        "branch": "master",
        "tag": "1.9.9"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "RTSMediaPlayer",
    "public_header_files": "RTSMediaPlayer/*.h",
    "private_header_files": "RTSMediaPlayer/*+Private.h",
    "resource_bundles": {
        "SRGMediaPlayer": [
            "RTSMediaPlayer/*.xib",
            "RTSMediaPlayer/*.png",
            "RTSMediaPlayer/*.lproj"
        ]
    },
    "dependencies": {
        "libextobjc/EXTScope": [
            "~> 0.4.1"
        ],
        "TransitionKit": [
            "~> 2.2.0"
        ]
    },
    "subspecs": [
        {
            "name": "Version",
            "source_files": [
                "RTSMediaPlayer/RTSMediaPlayerVersion.m",
                "RTSMediaPlayer/RTSMediaPlayerVersion.h"
            ],
            "compiler_flags": "-DRTS_MEDIA_PLAYER_VERSION=1.9.9"
        }
    ]
}

Pin It on Pinterest

Share This