Commit Graph

69 Commits

Author SHA1 Message Date
grunjol
fc6d8e7b7d add volume management 2016-03-23 09:01:07 -03:00
DC
f56af6402c Audio metadata 2016-03-22 03:52:27 -07:00
DC
ebcc814ca7 WebTorrent can now play audio 2016-03-22 02:26:28 -07:00
DC
78f1d4c8eb Add tooltips 2016-03-21 16:51:45 -07:00
DC
1c2cd5f49e Fix default torrents
Big Buck Bunny playable now, files show correctly even before the user starts torrenting
2016-03-21 02:34:52 -07:00
DC
b02f236428 Show files even when torrent isn't torrenting 2016-03-21 02:25:41 -07:00
Feross Aboukhadijeh
ce2a9ceb11 Implement back/forward buttons (fix #180) 2016-03-20 22:54:51 -07:00
DC
26dc1e82fd Airplay support. Nicer looking cast screen 2016-03-20 01:59:25 -07:00
Nate Goldman
f8b968c5ec fix hide on hover, always show playback position 2016-03-19 20:50:57 -07:00
DC
91680cb53d Fix Windows packaging
* Work around a Chrome bug by avoiding Windows-specific backslash paths
* Change the name of the program from "Streaming torrent client" to "WebTorrent"
2016-03-19 03:27:48 -07:00
DC
32a57e79a1 Error popover, no more alert()s 2016-03-19 01:55:24 -07:00
DC
849bbed0ae Chromecast video controls 2016-03-19 01:21:52 -07:00
DC
dd04b4ab62 Fix chromecast button
Next step: Chromecast and Airplay play/pause, scrub, and state management

When casting, the correct cast button should be lit up and the video should be replaced with a title image and text
2016-03-14 09:53:01 -07:00
DC
8108c407d3 Torrent details
Show file list, open folder containing downloaded files, open individual files, play/pause individual videos
2016-03-14 09:18:20 -07:00
DC
e8cc7ac269 Torrent list: fix % complete bug 2016-03-13 17:51:39 -07:00
Nate Goldman
52fc2d88c9 Block "Power Saver" mode while video is playing
fix #106
2016-03-11 16:43:36 -08:00
DC
ca2236da84 Torrent list bug: don't [un]select torrent when clicking download or play button 2016-03-11 16:06:11 -08:00
DC
cf433ddf16 File details 2016-03-11 08:49:58 -08:00
DC
9c8478dbe4 Torrent selection 2016-03-10 23:46:35 -08:00
Dan Flettre
b1678b71c6 ensure video is paused before hiding window 2016-03-11 01:10:39 -06:00
DC
c176e3897a Add Torrent Link modal 2016-03-09 04:27:01 -08:00
Feross Aboukhadijeh
edf08d06ec Limit window title width (fix #99) 2016-03-08 20:01:09 -08:00
Feross Aboukhadijeh
adf53bb7cc Fix scroll bar goes under header bar (fix #101) 2016-03-08 19:29:30 -08:00
Feross Aboukhadijeh
70aacf96af Merge pull request #98 from feross/window-ui-improvements
Lighter window background; small state changes
2016-03-08 18:41:53 -08:00
Liam Gray
9324765db9 Fix looping video 2016-03-08 17:36:20 -08:00
Feross Aboukhadijeh
67217bdc7e Lighter window background
Native windows get lighter when they’re backgrounded so they stand out
less (at least on OS X). Let’s do this too.

Even the Spotify app, which has dozens of developers gets this wrong.
We’re so awesome :)

Also:

- Renamed a bunch of state variables (next time will make separate
commit, sry)
- All window-related variables (e.g. isFullScreen, isFocused, etc.)
live in `state.window` now
- Remove negative class name, use CSS :not() instead
2016-03-08 17:18:31 -08:00
Feross Aboukhadijeh
6946ab3507 style improvements
- make torrent placeholder the exact size of a normal torrent
- make torrent list window minimum size of two torrents
- make window start out sized for 4 torrents
- increase font size responsively
2016-03-08 15:39:39 -08:00
Feross Aboukhadijeh
9fce4d9741 Merge pull request #93 from Flet/even-prettier-bytes
switch to prettier-bytes
2016-03-08 12:41:58 -08:00
Dan Flettre
302d485bc8 switch to prettier-bytes 2016-03-08 10:45:55 -06:00
DC
ff56d818f6 Torrent list styling
* Download button is a lot easier to read: white down arrow when off, animated and pulsating green down arrow when downloading, solid green up arrow when seeding

* Play button shows a spinner if you click play before a torrent is ready, then an exclamation point if the torrent still isn't ready after 10 seconds

* Drop target shows up always, not just when the torrent list is empty. Lights up when you drag something

* Fixed alignment, the Xs to delete torrents are now aligned with the + to add a new torrent
2016-03-08 04:20:37 -08:00
DC
4c03e98a19 Video controls: never hide when paused
Also simplifies CSS
2016-03-08 02:36:33 -08:00
Feross Aboukhadijeh
1681b8980b Merge pull request #81 from Flet/prettier-bytes
prettier bytes: drop fractional number if integer side is more than one digit
2016-03-07 22:47:51 -08:00
DC
4b890ee9f6 Show Blender Foundation videos by default
* Finishes the saved torrents feature!
* Torrents load and save correctly. Poster is autogenerated only once.
* Torrents can be paused and restarted
* Download button indicates state:
 - White means paused
 - Pulsating green means downloading
 - Solid green means finished downloading, only seeding
2016-03-07 22:15:47 -08:00
Dan Flettre
6a596fdde5 prettier bytes: drop fractional number if integer side is more than one digit 2016-03-07 23:48:32 -06:00
Nate Goldman
96fa5747a7 add empty list state 2016-03-07 15:28:19 -08:00
Chris Morris
fa93891574 Prevent playback controls from hiding while the user is scrubbing
Fixes #64
2016-03-07 22:13:56 +11:00
Chris Morris
096e4bfd9b Double-click video to enter fullscreen 2016-03-07 21:42:36 +11:00
DC
713c391c05 Add download button
Doesn't do anything yet
2016-03-07 00:01:32 -08:00
Feross Aboukhadijeh
8b1b21c1ee Unsquash the UI when window is small
Fix #44
2016-03-06 01:03:20 -08:00
Feross Aboukhadijeh
e0122f81e5 don't calculate styles in JavaScript whenever possible 2016-03-05 22:06:32 -08:00
Feross Aboukhadijeh
85cdc522c6 header disappear when mouse not over 2016-03-05 21:55:19 -08:00
Feross Aboukhadijeh
1a7b69a19d fix mistake 2016-03-05 21:14:17 -08:00
Nate Goldman
7c1c430097 hide header on video after mouse idle 2016-03-05 20:33:12 -08:00
Feross Aboukhadijeh
52427dd183 Hide player controls when mouse is still, even when not fullscreened (fix #37) 2016-03-05 19:24:42 -08:00
Feross Aboukhadijeh
1b269189b7 no need for '|| 0' 2016-03-05 19:20:17 -08:00
Feross Aboukhadijeh
edb16a1bf1 Use single quotes in hyperx 2016-03-05 19:02:40 -08:00
Feross Aboukhadijeh
c8a8d28473 Merge pull request #34 from feross/progress
improve progress percent & bytes display
2016-03-05 18:50:43 -08:00
Nate Goldman
2a52dbb600 improve progress percent & bytes display 2016-03-05 18:41:20 -08:00
Feross Aboukhadijeh
69a078ad4c Header tweaks
This change does the following:

- Show the header on Linux/Windows when fullscreened, but not in the
player. Users might fullscreen the app when they’re not playing a video.
- Always show the header on OS X (even when fullscreened) since that’s
how the user will exit the video. We can work on adding auto-hiding to
it later.
2016-03-05 18:31:18 -08:00
DC
d1b61bdc07 Hide cursor after 2s in fullscreen 2016-03-05 17:01:20 -08:00