Commit Graph

23 Commits

Author SHA1 Message Date
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
90a1094073 improve torrent metadata display 2016-03-05 10:50:59 -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
DC
b7b30ed7c4 Cast buttons and fullscreen in player controls 2016-03-05 01:09:34 -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
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
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
Feross Aboukhadijeh
60614ccd49 seek the cursor instantly 2016-03-04 18:08:45 -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
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
5f02b73616 style 2016-03-04 16:00:16 -08:00
Nate Goldman
9a0f361e14 separation of concerns 2016-03-04 13:14:22 -08:00