Commit Graph

64 Commits

Author SHA1 Message Date
Feross Aboukhadijeh
edb16a1bf1 Use single quotes in hyperx 2016-03-05 19:02:40 -08:00
DC
d1b61bdc07 Hide cursor after 2s in fullscreen 2016-03-05 17:01:20 -08:00
DC
098827ec78 State: put temp state directly in state, saved in state.saved 2016-03-05 16:00:41 -08:00
DC
5b383d3ed0 Split state into temp and saved
Also stop using IPC to calculate window width

Add default torrents--the Blender Foundation videos--not displayed yet
2016-03-05 15:51:43 -08:00
Nate Goldman
c2b5f7a7bb Merge pull request #28 from feross/main-loop
Batch virtual-dom changes (fix #27)
2016-03-05 15:35:02 -08:00
Feross Aboukhadijeh
5c45a81665 Batch virtual-dom changes (fix #27)
From `main-loop`:

> main-loop is an optimization module for a virtual DOM system.
Normally you would re-create the virtual tree every time your state
changes. This is not optimum, with main-loop you will only update your
virtual tree at most once per request animation frame.

> main-loop basically gives you batching of your virtual DOM changes,
which means if you change your model multiple times it will be rendered
once asynchronously on the next request animation frame.
2016-03-05 15:25:15 -08:00
Feross Aboukhadijeh
11464176cb Start in correct full screen state
If the app is already fullscreen when it is loaded, set
state.view.isFullScreen to the correct state.
2016-03-05 14:56:55 -08:00
Feross Aboukhadijeh
fc68a08de7 menu: new "Add Fake Airplay" and "Add Fake Chromecast" items
Fixes #21
2016-03-05 14:04:33 -08:00
Nate Goldman
6e5a481903 fix chromecast play 2016-03-05 11:39:32 -08:00
Nate Goldman
efc116f0ad rm console.log 2016-03-05 10:03:31 -08:00
DC
e4f2716d06 Video player polish
No header on Linux and OSX, just a back button on mouseover

ESC exits fullscreen, or if already not in fullscreen, goes back

More accurate scrub position

Removed the calc(100% -38x) hack, replaced with flexbox
2016-03-05 06:12:02 -08:00
DC
59b3bd04a9 Letterbox video. Hide toolbar in fullscreen
Cleaner-looking Chromecast and Airplay icons

Hide top bar in full screen mode
2016-03-05 05:14:24 -08:00
DC
b7b30ed7c4 Cast buttons and fullscreen in player controls 2016-03-05 01:09:34 -08:00
Nate Goldman
9a0f361e14 separation of concerns 2016-03-04 13:14:22 -08:00