Comments (13)
Yeah, it would be cool to have a tvOS app. Now I'm using AirPlay from my Mac, but an app is nicer.
Unfortunately, I don't think there are supported ways for playing YouTube or Vimeo videos on tvOS.
Although there is https://github.com/hellozimi/HCYoutubeParser, that is not allowed under the YouTube Terms of Service, so it might stop working.
from pomotv.
Hm, and there's no web view, right? Is there a YouTube app on tvOS that we could link to?
from pomotv.
We could use https://github.com/0xced/XCDYouTubeKit to play videos in tvOS. The project says to support tvOS but I don't have any experience with it.
from pomotv.
Today, I hacked together an iOS app: https://github.com/Q42/pomotv-app
Because there's no API (#11) I've used the recents.xml
Atom feed. The app doesn't show all videos since there are only a few youtube links in the recents file. However I think its better to use an actual API instead of putting work into parsing the feeds.
The code isn't very nice, but it's playing videos. Also I got distracted, because I was watching one of the talks.
from pomotv.
Very cool! I think @johankj was thinking of adding an API. What would you need? I think we could probably just present the JSON variant of the current data in the .yml files, right?
from pomotv.
Yes, JSON version of the current data would be nice.
I just now realised the search is happening in JavaScript, since this is a static site.
I'll have a look at the index (http://www.pomo.tv/search/index.json) to see if I can use that as well.
from pomotv.
I hacked up a tvOS app. It currently displays and plays all youtube and vimeo videos, and shows the videos of the most recent event on the top shelf.
from pomotv.
Oh, awesome! What are your plans with this? Maybe we could put this on the website or in the README once you're comfortable with it?
from pomotv.
That would be cool. My only concern is that I currently use XCDYoutubeKit
and I don't really know what this would mean in the worst case (would the app be rejected? could YouTube sue me?). I have tried to use UIApplication.sharedApplication().openURL(youtubeURL)
with the YouTube app installed but it doesn't work on tvOS.
Besides that I would like to reach feature parity with the website (browse events, speakers, tags), get WWDC videos to play and clean up the code.
I'd like to offer the app as a free download from the App Store if (legally) possible. If that doesn't work maybe keep it available on GitHub only. Because the target audience is iOS developers we could assume they are able to build and run the app themselves.
from pomotv.
@DerLobi What would you like in terms of an API? (#11) I see you’re now using the YAML from the repository, ideally ‘something’ should be exposed directly at pomo.tv itself to make it a bit less fragile.
From https://github.com/0xced/XCDYouTubeKit:
XCDYouTubeKit is against the YouTube Terms of Service
If I understand it correctly, the app would violate 4.A and users of the app would violate 4.C. The consequence could be termination of your account (7.A). But, more importantly, this also means the app would/should not pass app review, since the guidelines clearly state that “Apps may not [...] violate 3rd party terms of use” (8.5)
It might be ‘best’ to create a radar and ask for openURL
support and submit a request to YouTube for an SDK 😞 For now, keeping it available on GitHub is of course great 👍
from pomotv.
if you could expose the data from the YAML files as JSON that would be great.
Also for the recently added videos I currently get the last event from editions.yml
and show all corresponding videos. Would be cool to have the feed XML as a JSON array too. Then could show the same videos on the top shelf as are currently shown on the home page.
openURL
generally works on tvOS (so no radar necessary), but the YouTube app does not support any of the URL schemes I tried.
from pomotv.
Any news about the api? @DerLobi do you need help with the tvOS app? Saw that there are still some topics left to implement.
from pomotv.
There is no news on this, it should be quite easy to generate JSON straight from the YAML. Is anyone interested in doing this?
from pomotv.
Related Issues (20)
- Recently added list, isn't HOT 3
- Add Seattle Xcoders videos HOT 1
- License HOT 1
- Video ID generation struggles with some characters
- Build is broken HOT 1
- Optimize page speed HOT 5
- Conferences vs Meetups HOT 15
- New design HOT 5
- [search] Limits/paging to prevent building huge search result pages HOT 1
- [search] More content in search results (e.g. tags for events and speakers, speakers for events)
- [search] Include individual videos in search results (this would require adding a page for each video) HOT 12
- Make it easier to import videos HOT 1
- User video queue HOT 5
- pomocast - convert video -> audio HOT 5
- Invalid Feed
- Create events pages
- NSLondon Videos HOT 4
- Realm.io Videos HOT 5
- Twitter account HOT 5
- Watched episodes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pomotv.