{"id":31135770,"url":"https://github.com/chris-perkins/twitchplayer","last_synced_at":"2025-09-18T07:09:35.413Z","repository":{"id":56924630,"uuid":"165966262","full_name":"Chris-Perkins/TwitchPlayer","owner":"Chris-Perkins","description":"🖥 Embed Twitch Videos, Streams, Collections, and Clips into your iOS application","archived":false,"fork":false,"pushed_at":"2020-06-14T04:59:02.000Z","size":1929,"stargazers_count":30,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-14T04:25:02.510Z","etag":null,"topics":["clips","cocoapod","ios","library","player","pod","streaming","swift","swift4","twitch","twitch-api","video"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chris-Perkins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-16T03:23:17.000Z","updated_at":"2025-08-27T12:19:01.000Z","dependencies_parsed_at":"2022-08-20T22:50:19.254Z","dependency_job_id":null,"html_url":"https://github.com/Chris-Perkins/TwitchPlayer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Chris-Perkins/TwitchPlayer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-Perkins%2FTwitchPlayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-Perkins%2FTwitchPlayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-Perkins%2FTwitchPlayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-Perkins%2FTwitchPlayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chris-Perkins","download_url":"https://codeload.github.com/Chris-Perkins/TwitchPlayer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-Perkins%2FTwitchPlayer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275725779,"owners_count":25516819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clips","cocoapod","ios","library","player","pod","streaming","swift","swift4","twitch","twitch-api","video"],"created_at":"2025-09-18T07:09:34.288Z","updated_at":"2025-09-18T07:09:35.400Z","avatar_url":"https://github.com/Chris-Perkins.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TwitchPlayer\n\n![](https://github.com/Chris-Perkins/TwitchPlayer/raw/master/Readme_Imgs/StreamPlay.png)\n\n[![CI Status](https://img.shields.io/travis/chrisfromtemporaryid@gmail.com/TwitchPlayer.svg?style=flat)](https://travis-ci.org/chrisfromtemporaryid@gmail.com/TwitchPlayer)\n[![Version](https://img.shields.io/cocoapods/v/TwitchPlayer.svg?style=flat)](https://cocoapods.org/pods/TwitchPlayer)\n[![License](https://img.shields.io/cocoapods/l/TwitchPlayer.svg?style=flat)](https://cocoapods.org/pods/TwitchPlayer)\n[![Platform](https://img.shields.io/cocoapods/p/TwitchPlayer.svg?style=flat)](https://cocoapods.org/pods/TwitchPlayer)\n\n**THIS IS AN UNOFFICIAL, FAN-MADE WRAPPER. IT IS IN NO WAY ENDORSED BY TWITCH.TV**\n\n## What is It?\n\nTwitch Player is a library that helps you embed Twitch Streams, Clips, Videos, and Collections into your application easily. You can embed directly from the Storyboard or programmatically.\n\n### Example Usage\n\nFrom the storyboard, drag a WKWebView onto a ViewController. Set it's subclass to `TwitchPlayer` (for Stream, Video, or Collection playing) or `TwitchClipPlayer` (for Clip playing)\n\n![](https://github.com/Chris-Perkins/TwitchPlayer/raw/master/Readme_Imgs/StoryboardInject.png)\n\nYou can then modify the variables directly from the Storyboard.\n\n![](https://github.com/Chris-Perkins/TwitchPlayer/raw/master/Readme_Imgs/StoryboardProperties.png)\n\n**NOTE: This library uses WKWebView to display libraries. As a result, you cannot use any Twitch Player from the Storyboard before iOS 11.0.**\n\n## Note:\n\nAs of June 2020, Twitch now requires a Base URL in the string you load. Unfortunately, I am without a Macbook for development right now, and cannot address this library to fix the issue. As a workaround, you can change the \"baseURL\" string value in the TwitchClipPlayer/other embedded classes to work around this. Since I can't validate the change, it would be awesome if someone could quickly add that functionality so others can use the library!\n\n## Example Project\n\n![](https://github.com/Chris-Perkins/TwitchPlayer/raw/master/Readme_Imgs/ClipPlay.png)\n\nAn example project is provided with this project that shows the storyboard-creation of a Clip Player, Stream Player, and Video Player\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory. After that, open the resulting `.xcworkspace` file and go nuts!\n\n## Documentation\n\n[Documentation available here](https://htmlpreview.github.io/?https://github.com/Chris-Perkins/TwitchPlayer/blob/master/docs/index.html)\n\n- If the documentation is not loading, clone this repository and open `docs/index.html`.\n\n## Installation\n\n1. Install [CocoaPods](https://cocoapods.org)\n1. Add this repo to your `Podfile`\n\n\t```ruby\n\ttarget 'Example' do\n\t\t# IMPORTANT: Make sure use_frameworks! is included at the top of the file\n\t\tuse_frameworks!\n\n\t\tpod 'TwitchPlayer'\n\tend\n\t```\n1. Run `pod install` in the podfile directory from your terminal\n1. Open up the `.xcworkspace` that CocoaPods created\n1. Done!\n\n## License\n\nTwitchPlayer is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-perkins%2Ftwitchplayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris-perkins%2Ftwitchplayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-perkins%2Ftwitchplayer/lists"}