Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtcodes/reddit-gallery
Browse through reddit's media contents easily and quickly.
https://github.com/jtcodes/reddit-gallery
imageslider media-slider reddit twitter youtube-player
Last synced: 6 days ago
JSON representation
Browse through reddit's media contents easily and quickly.
- Host: GitHub
- URL: https://github.com/jtcodes/reddit-gallery
- Owner: jtCodes
- Created: 2018-10-27T20:42:50.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T01:32:15.000Z (over 3 years ago)
- Last Synced: 2023-03-04T16:13:01.261Z (over 1 year ago)
- Topics: imageslider, media-slider, reddit, twitter, youtube-player
- Language: Swift
- Homepage:
- Size: 56.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reddit-Gallery
Browse Reddit's videos subreddit## Installation
- git clone this project
- open terminal and cd to Reddit-Gallery directory
- then do
```
pod install
```
:exclamation: then open Reddit-Gallery.xcworkspace and do the following: :exclamation:
- search for XCDYouTubeVideoOperation.m in xcode
- open the file
- do a CMD + f for get_video_info
- append &html5=1 to the query string for https://www.youtube.com/get_video_info? requests. There are two.
```obj-c
NSString *queryString = [XCDQueryStringWithDictionary(query) stringByAppendingString: @"&html5=1"];
```## Design
![](https://i.imgur.com/B3j1BpY.png) ![Demo CountPages alpha](https://i.imgur.com/Wg4VlZb.png)## Features
Swipe through all the media contents with media slider and drag image to dismiss when done.![Demo CountPages alpha](https://thumbs.gfycat.com/HealthyScalyCockatiel-size_restricted.gif)
Support for image and video.
![Demo CountPages alpha](https://thumbs.gfycat.com/SerpentineLividIrishdraughthorse-size_restricted.gif)
Support for video streaming sites like Youtube.
![Demo CountPages alpha](https://thumbs.gfycat.com/PepperyCheapCuttlefish-size_restricted.gif)