Commit Graph

68 Commits

Author SHA1 Message Date
Romain Beaumont
251eff830f hide menu bar in fullscreen, fix #51 2016-03-08 04:00:02 +01:00
Feross Aboukhadijeh
2a423a8cb3 Use config.APP_NAME throughout 2016-03-07 15:48:22 -08:00
DC
713c391c05 Add download button
Doesn't do anything yet
2016-03-07 00:01:32 -08:00
Feross Aboukhadijeh
617f0bcf43 export object directly 2016-03-05 20:04:59 -08:00
Feross Aboukhadijeh
79c2295775 move isFullScreen check to ipc.js 2016-03-05 18:28:54 -08:00
Feross Aboukhadijeh
4f1dfc8c1e style 2016-03-05 17:42:03 -08:00
Feross Aboukhadijeh
beca43029d standard 2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
7eeda57b57 Add alternate fullscreen shortcut ⌘+Shift+F (fix #26)
Uses https://npmjs.com/package/electron-localshortcut to workaround a
bug in Electron (https://github.com/atom/electron/issues/1334).

We can remove `electron-localshortcut` once that bug is fixed.
2016-03-05 17:25:22 -08:00
Feross Aboukhadijeh
30ec87e7a7 windows.js: small fix 2016-03-05 17:24:09 -08:00
Feross Aboukhadijeh
06f18ccb01 Disable view menu items when window is hidden 2016-03-05 16:47:16 -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
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
Feross Aboukhadijeh
d148d4c97b Fix IPC calls after PR #4
No biggie, just FYI @ngoldman
2016-03-04 16:15:30 -08:00
Feross Aboukhadijeh
82fc6cabe8 move config.startTime to app.startTime
This also captures the true start time since it runs before any
require() calls, so the time to require() will be taken into account.
2016-03-04 16:10:14 -08:00
Nate Goldman
9a0f361e14 separation of concerns 2016-03-04 13:14:22 -08:00
DC
52e433fd38 Scrubbing works 2016-03-04 04:33:41 -08:00
Feross Aboukhadijeh
e28dd34ae8 torrent delete button color 2016-03-04 02:04:14 -08:00
Feross Aboukhadijeh
56af326d65 only show title in html toolbar on OS X 2016-03-04 01:28:54 -08:00
Feross Aboukhadijeh
0c0d324cf4 remove unused state 2016-03-04 01:26:12 -08:00
Feross Aboukhadijeh
da3500d392 simplify deleteTorrent() 2016-03-04 01:26:04 -08:00
Feross Aboukhadijeh
3f60f1c7f2 only produce poster image from valid file types 2016-03-04 01:13:25 -08:00
Feross Aboukhadijeh
75a33228e8 fix back button exception 2016-03-04 01:13:24 -08:00
DC
28948e0dbc Custom video controls + button to delete torrents
Also:
* Clean up the state object a bit
* Simplify, factor out torrent-list.js
2016-03-04 00:48:19 -08:00
Feross Aboukhadijeh
d72999df57 move more state into state.view 2016-03-03 17:19:31 -08:00
Feross Aboukhadijeh
db29ba7535 allow html5 volume changing 2016-03-03 17:18:56 -08:00
Feross Aboukhadijeh
6ee263b8e3 style 2016-03-03 16:48:13 -08:00
Feross Aboukhadijeh
1c685b3de6 remove ios class 2016-03-03 16:44:38 -08:00
Feross Aboukhadijeh
68824b40dd move dock state to renderer process 2016-03-03 16:44:19 -08:00
Feross Aboukhadijeh
a188b6caaf torrent-list: client always exists now 2016-03-03 16:29:16 -08:00
Feross Aboukhadijeh
36b242cc72 fix: maintain correct aspect ration when video is larger than screen 2016-03-03 16:04:00 -08:00
Feross Aboukhadijeh
2b18821416 dock: inc badge when torrent completes 2016-03-03 15:52:42 -08:00
Feross Aboukhadijeh
5820546dc4 dock: only show progress when active torrents exist 2016-03-03 15:44:21 -08:00
Feross Aboukhadijeh
8041e5faa3 no TURN server 2016-03-03 15:43:41 -08:00
Feross Aboukhadijeh
bf1a0bf376 regular update -> 1000ms 2016-03-03 13:53:04 -08:00
Feross Aboukhadijeh
a744b1ee42 throttled updates -> 1000ms 2016-03-03 13:52:51 -08:00
Feross Aboukhadijeh
aed424d0bc dock: show client progress 2016-03-03 13:52:32 -08:00
Feross Aboukhadijeh
c2ce09aa2c header: small nav buttons 2016-03-03 12:06:15 -08:00
Feross Aboukhadijeh
4bf7996ab7 player: resize on 'loadedmetadata' event 2016-03-03 12:01:40 -08:00
Feross Aboukhadijeh
4449d5ed2a player: add black background 2016-03-03 12:01:27 -08:00
Feross Aboukhadijeh
518edbc67d remove redundant comments 2016-03-03 01:43:24 -08:00
Feross Aboukhadijeh
3143e543c8 show more numbers in the UI
this needs to be simplified later, but let’s show it for now
2016-03-03 01:34:45 -08:00
Feross Aboukhadijeh
abd865a837 move webtorrent client stuff to separate file 2016-03-03 01:17:24 -08:00
Feross Aboukhadijeh
8b4e28ccb6 remove unneeded title tag 2016-03-03 01:16:47 -08:00
Feross Aboukhadijeh
4d094c8209 automatically size player on start 2016-03-03 01:05:00 -08:00
Feross Aboukhadijeh
128cb679aa torrent list: use full width when not hovering 2016-03-03 01:04:17 -08:00
Feross Aboukhadijeh
7e9783fc9b torrent list: show play buttons only on hover 2016-03-03 01:03:58 -08:00
Feross Aboukhadijeh
b861f39b95 chromecast: show WebTorrent before torrent name 2016-03-02 19:53:12 -08:00
Feross Aboukhadijeh
ec5eb8aeae UI progress, material icons 2016-03-02 19:53:04 -08:00