Commit Graph

139 Commits

Author SHA1 Message Date
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
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
Feross Aboukhadijeh
5f02b73616 style 2016-03-04 16:00:16 -08:00
Feross Aboukhadijeh
7a7656671e Merge pull request #4 from ngoldman/soc
separation of concerns
2016-03-04 15:49:20 -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
2626525291 correct full screen menu item state after using OS fullscreen button 2016-03-04 02:10:08 -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
b8996468fb webtorrent@^0.82.1 2016-03-04 01:24:26 -08:00
Feross Aboukhadijeh
ef78c2bf8b add screenshot to readme 2016-03-04 01:13:25 -08:00
Feross Aboukhadijeh
690e317c01 menu: add float on top 2016-03-04 01:13:25 -08:00
Feross Aboukhadijeh
88da6879b3 move menu template into function 2016-03-04 01:13:25 -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
Feross Aboukhadijeh
1ca51cc3a9 Merge pull request #2 from dcposch/delete-button
Add button to delete torrents
2016-03-04 01:13:18 -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
eef8a3288f add .travis.yml 2016-03-03 22:20:55 -08:00