[Add] TencentEffect_S1-00 3.0.1.5
[CocoaPods.git] / Specs / 8 / b / 7 / FAVPlayer / 3.1.0.2 / FAVPlayer.podspec.json
blobeef8f15c43ca016df2cb600ee5f9c8ad6878e9e3
2   "name": "FAVPlayer",
3   "version": "3.1.0.2",
4   "summary": "The FAVPlayer or Frequency AVPlayer is a iOS and tvOS native player which let you easily play Frequency's videos.",
5   "description": "The FAVPlayer or Frequency AVPlayer is a iOS and tvOS native player which let you easily play Frequency's videos.\n\n            The FAVPlayer encapsulate all the logic required to play a video with advertisement, reporting and beaconing. This project leverage the Javascript Core framework to allow the existing Javascript code of the Javascript Player SDK to be interfaced with Swift and objc. The native part, written in Swift 4, is only responsible for playback and sending/handling events. The Javascript part handles requests to the Frequency API, request to the ad decisioning server, parse the VAST responses, tracks the activity of the player, and sends beacons to the appropriate ad servers.\n\nTo play a video\n\nFirst you'll have to authenticate, then create the player and pass it the token and deviceId.\n\nvar f = FAVPlayer.init(apiUrl: \"https://prd-freq.frequency.com\", token: \"TOKEN_ID\", deviceId: \"DEVICE_ID\")\n\nCreate an avPlayerViewController and assign the newly created favPlayer as its player.\n\nvar avPlayerViewController = AVPlayerViewController.init()\navPlayerViewController.player = favPlayer\n\nLoad a videoId provided by a Frequency service\n\nfavPlayer.load(videoId: \"VIDEO_ID\")\n\nPresent the AVPlayerViewController.\n\nself.present(avPlayerViewController, animated: true, completion: nil)",
6   "homepage": "https://confluence.frequency.com/display/HOME/iOS+SDK+3.1.0",
7   "license": {
8     "type": "Apache License, Version 2.0",
9     "file": "LICENSE.txt"
10   },
11   "authors": {
12     "clementperez": "clement@frequency.com"
13   },
14   "platforms": {
15     "ios": "10.0",
16     "tvos": "10.0"
17   },
18   "source": {
19     "git": "https://github.com/frequency/frequency-ios-sdk-public.git",
20     "tag": "3.1.0.2"
21   },
22   "source_files": [
23     "Sources",
24     "Sources/**/*.{h,m,swift}"
25   ],
26   "exclude_files": [
27     "Demo",
28     "Sources/Ejecta/*.{h,m}",
29     "Sources/Ejecta/**/*.{h,m}"
30   ],
31   "requires_arc": true,
32   "resources": "Assets/*.js",
33   "documentation_url": "https://confluence.frequency.com/display/HOME/iOS+SDK+3.1.0",
34   "subspecs": [
35     {
36       "name": "noarc",
37       "source_files": [
38         "Sources/Ejecta/*.{h,m}",
39         "Sources/Ejecta/**/*.{h,m}"
40       ],
41       "requires_arc": false
42     }
43   ]