Feross Aboukhadijeh
06f18ccb01
Disable view menu items when window is hidden
2016-03-05 16:47:16 -08:00
Feross Aboukhadijeh
a38b27876b
state.client.torrents will always exist
2016-03-05 16:26:05 -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
Nate Goldman
1c701329f3
Merge pull request #25 from feross/fix-fullscreen-state
...
Start in correct full screen state
2016-03-05 15:33:41 -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
b166c05a06
Merge pull request #23 from feross/simulate-devices
...
menu: new "Add Fake Airplay" and "Add Fake Chromecast" items
2016-03-05 14:05:31 -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
Feross Aboukhadijeh
ff1d5a6bb0
correct boolean attribute
2016-03-05 13:32:53 -08:00
Feross Aboukhadijeh
cad740a88a
Merge pull request #20 from feross/metadata
...
improve torrent metadata display
2016-03-05 13:26:43 -08:00
Nate Goldman
86f4ad29a6
fix renderering errors
...
giving prettyBytes anything but a number causes the torrent-list render to fail
2016-03-05 11:43:25 -08:00
Nate Goldman
6e5a481903
fix chromecast play
2016-03-05 11:39:32 -08:00
Nate Goldman
4a4d5cc4ed
better approximation of byte progress
2016-03-05 11:13:08 -08:00
Nate Goldman
b479f3d9f6
Merge pull request #19 from feross/greenkeeper-electron-prebuilt-0.36.10
...
Update electron-prebuilt to version 0.36.10 🚀
2016-03-05 10:53:06 -08:00
Nate Goldman
90a1094073
improve torrent metadata display
2016-03-05 10:50:59 -08:00
Nate Goldman
67cb0505af
Merge pull request #18 from feross/resize
...
autoresize window on play
2016-03-05 10:47:48 -08:00
greenkeeperio-bot
8b943b19c4
chore(package): update electron-prebuilt to version 0.36.10
...
http://greenkeeper.io/
2016-03-05 10:23:36 -08:00
Nate Goldman
efc116f0ad
rm console.log
2016-03-05 10:03:31 -08:00
Nate Goldman
82732aae11
fix #17 - autoresize window on play
...
function references in hyperx need to look like:
```
onloadedmetadata=${onLoadedMetadata}
```
and not:
```
onloadedmetadata="${onLoadedMetadata}"
```
also removed some unnecessary `torrent.ready` checks in the player.
2016-03-05 09:24: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
1b630b5025
Playback controls: fix scrub ghosting
2016-03-05 02:13:04 -08:00
Feross Aboukhadijeh
4c010cb642
build: overwrite old files
2016-03-05 01:44:29 -08:00
Feross Aboukhadijeh
e3954851b1
Merge pull request #16 from feross/dc/player-controls
...
Cast buttons and fullscreen in player controls
2016-03-05 01:34:09 -08:00
DC
b7b30ed7c4
Cast buttons and fullscreen in player controls
2016-03-05 01:09:34 -08:00
Nate Goldman
2b17c1dabd
Merge pull request #14 from feross/hyperx-pr
...
Use class instead of className; use standard html
2016-03-04 23:38:57 -08:00
Feross Aboukhadijeh
09d390e0b3
use feross/hyperx until PR is merged
2016-03-04 23:35:23 -08:00
Feross Aboukhadijeh
ad84e8853e
Merge pull request #13 from feross/lock-electron
...
Lock the electron version
2016-03-04 23:29:19 -08:00
Feross Aboukhadijeh
1475e5f95e
Use html "class" property
...
As of this PR (https://github.com/substack/hyperx/pull/22 ) to hyperx,
attributes are automatically converted to properties for the few cases
where they’re different: class, for, and http-equiv.
2016-03-04 23:21:52 -08:00
Feross Aboukhadijeh
223edebf04
build: package with same version as electron-prebuilt
2016-03-04 22:00:30 -08:00
Feross Aboukhadijeh
1c6cf0bac6
lock electron-prebuilt dependency
2016-03-04 21:59:58 -08:00
Feross Aboukhadijeh
79cfb2a8c6
package.json: remove unused "files" property
2016-03-04 21:58:13 -08:00
Feross Aboukhadijeh
ebb8d77287
Merge pull request #9 from feross/hyperx
...
try hyperx
2016-03-04 21:18:30 -08:00
Nate Goldman
b913997fad
use fancier className notation everywhere
2016-03-04 19:06:40 -08:00
Nate Goldman
4e1de57f55
update class notation
2016-03-04 19:00:10 -08:00
Feross Aboukhadijeh
10f13174a6
Merge pull request #11 from feross/player-controls
...
fix scrubbing
2016-03-04 18:20:31 -08:00
Feross Aboukhadijeh
1944d262f2
no-drag on the scrubber
2016-03-04 18:19:22 -08:00
Nate Goldman
b5561f13b4
try hyperx
2016-03-04 18:11:06 -08:00
Nate Goldman
42ccaf995d
Merge pull request #10 from feross/player-controls
...
seek the player cursor instantly
2016-03-04 18:10:54 -08:00
Feross Aboukhadijeh
60614ccd49
seek the cursor instantly
2016-03-04 18:08:45 -08:00
Feross Aboukhadijeh
7868f9f33e
Merge pull request #8 from feross/player-controls
...
Nicer player controls
2016-03-04 17:51:26 -08:00
Feross Aboukhadijeh
ad8399af1c
Nicer player controls
...
- make bottom bar match header bar color
- enlarge cursor and loading bar on hover
- remove extraneous .bottom-bar class
2016-03-04 17:46:42 -08:00
Feross Aboukhadijeh
e11082f6b5
Merge pull request #7 from feross/fix-ipc
...
Fix IPC calls after PR #4
2016-03-04 16:52:19 -08:00
Feross Aboukhadijeh
b6f24f7726
fix: hide add button when on player page
2016-03-04 16:48:37 -08:00
Feross Aboukhadijeh
6d1223e090
add css transition to player controls
2016-03-04 16:24:57 -08:00
Feross Aboukhadijeh
11f36468e1
native apps don't use the pointer cursor
...
Even video player apps. Confirmed by looking at VLC, Quicktime, and
Playback.
2016-03-04 16:24:33 -08:00
Feross Aboukhadijeh
d148d4c97b
Fix IPC calls after PR #4
...
No biggie, just FYI @ngoldman
2016-03-04 16:15:30 -08:00
Feross Aboukhadijeh
90068b69d0
Merge pull request #6 from feross/start-time
...
move config.startTime to app.startTime
2016-03-04 16:13:54 -08:00