Feross Aboukhadijeh
432d7d4a56
Simplify play/pause handling ( #410 )
...
I found it awkward to listen to the video tags 'playing' and 'paused'
events, when we're controlling the state that defines what state it's
in in the first place.
This commit removes those listeners, in favor of just setting things to
the right state immediately when play(), pause(), or playPause() is
called.
Added play(), pause() methods for clarity.
2016-04-14 16:16:54 -07:00
Feross Aboukhadijeh
f93685811a
handle case where cb is undefined
2016-04-14 16:06:24 -07:00
Feross Aboukhadijeh
914d07df03
Show error when media format is unsupported ( #409 )
...
* fix error about pop
* location-history: add optional callbacks
* set handler on first tick
discovered by @dcposch
* Show error when media format is unsupported
Before this change, the player would just get stuck on the loading
screen forever without notifying the user.
2016-04-14 15:30:26 -07:00
Feross Aboukhadijeh
9c60f104c8
Use winreg 1.1.1 instead of feross fork ( #408 )
2016-04-14 14:29:44 -07:00
DC
ee7e630177
Block power save (suspend) while casting ( #403 )
...
Fixes #397
2016-04-13 11:51:37 -07:00
Feross Aboukhadijeh
ae168ae885
add default torrent: The WIRED CD ( #401 )
...
* add default torrent: The WIRED CD
* remove additional unneeded files
2016-04-13 00:24:16 -07:00
DC
ad0fcaed46
Fix two tray icon bugs ( #395 )
...
* Stop media on Tray Icon > Hide
* Linux tray support: check for libappindicator1
Fixes #383
2016-04-13 00:23:18 -07:00
Karlo Luis Martinez Martos
304b81908d
Windows Volume Mixer fix ( #387 )
...
Made a smaller version (32x32) of the .png icon
2016-04-13 00:15:10 -07:00
Feross Aboukhadijeh
b10f8c5bed
Fix app.getPath API
2016-04-10 23:10:42 -07:00
Feross Aboukhadijeh
f6b9dbbbc4
Use Electron API to get 'Downloads' folder ( #382 )
...
Fixes #359 and #349 .
2016-04-10 21:46:24 -07:00
Feross Aboukhadijeh
59cc912378
electron-packager@6
2016-04-10 21:33:12 -07:00
Feross Aboukhadijeh
33663bef3e
Linux build: Fix incorrect log output ( #381 )
...
Now we use a function closure to capture the `destArch` variable so the
for loop can't change it.
2016-04-10 21:22:34 -07:00
grunjol
e75cd45ec0
packge all linux versions ( #379 )
2016-04-10 19:54:52 -07:00
Feross Aboukhadijeh
c98f3cd040
Fix JS error on app quit ( #377 )
...
This was a rare race condition during app shutdown where a 'wt-'
message would be sent from the hidden webtorrent window to the main
window after the main window was already closed.
Fixes #373
2016-04-10 18:50:00 -07:00
Feross Aboukhadijeh
4c4caba002
Fix text field focus after repeated open ( #376 )
...
For #333
2016-04-10 18:34:11 -07:00
Feross Aboukhadijeh
45f6cc5247
Preload sound files for instant playback ( #374 )
...
* rm dist at start of build
* renderer style
* preload sound files for instant playback
The first time a sound file is played, the Audio object is cached.
5s after startup, all sound files are automatically preloaded.
2016-04-10 16:46:46 -07:00
DC
69460db294
Exit media when user closes window ( #348 )
2016-04-10 16:46:34 -07:00
Diego Rodríguez Baquero
f8095fcdbf
Use latest webtorrent ( #366 )
...
While we have 0.x versions :)
2016-04-10 16:44:11 -07:00
Feross Aboukhadijeh
1a0a2b3658
Add subtitle support (via drag-n-drop) ( #361 )
...
* issue template
* cleanup closePlayer() and stopServer()
* Add subtitle support (via drag-n-drop)
Drag and drop a subtitles file (.srt or .vtt) onto the player (or the
app icon on OS X) to add subtitles to the currently playing video.
For #281
* add multiple subtitles structure
* add open subtitle dialog from cc player controls
2016-04-10 16:42:18 -07:00
Alex
f9141dd39c
32 bit build for Linux ( #369 )
...
* Add 32 bit arch for Linux
* Fix trailing spaces
2016-04-10 16:38:35 -07:00
Feross Aboukhadijeh
8c2d49f029
Enforce minimimum window size when resizing player ( #342 )
...
For audio-only .mov files, which are 0x0.
Closes #340
2016-04-07 21:27:25 -07:00
Evan Miller
da1e120de9
Create error on zero-byte poster ( #352 )
...
* Error on zero-byte poster
* return cb to stop execution
2016-04-07 21:25:00 -07:00
Rémi Jouannet
457aca25ee
add mute/unmute with the volume icon ( #355 )
2016-04-07 21:06:28 -07:00
grunjol
ae73ae29c4
add volume icon and slider ( #330 )
2016-04-07 14:24:23 -03:00
DC
5abf421f11
Auto updater: tell server which platform we're on
2016-04-07 04:35:23 -07:00
Feross Aboukhadijeh
e792532051
CHANGELOG
2016-04-07 03:15:08 -07:00
Feross Aboukhadijeh
5c39665b6a
0.3.3
v0.3.3
2016-04-07 03:07:56 -07:00
Feross Aboukhadijeh
d1c4579398
Depend on master electron-packager to fix OS X icon
2016-04-07 03:06:25 -07:00
Feross Aboukhadijeh
d80d8ef1f5
0.3.2
v0.3.2
2016-04-07 01:02:07 -07:00
Feross Aboukhadijeh
d49a8e772f
Faster startup time (50ms)
2016-04-07 00:58:37 -07:00
Feross Aboukhadijeh
1947a03e94
Changelog
2016-04-07 00:25:19 -07:00
Feross Aboukhadijeh
bc6ae4523f
Revert "TEMPORARY: Comment out code that requires Electron 0.37.4"
...
This reverts commit 9c550997c9 .
2016-04-06 21:57:11 -07:00
Greenkeeper
442ac9184f
chore(package): update electron-prebuilt to version 0.37.5
...
http://greenkeeper.io/
2016-04-06 21:52:25 -07:00
Feross Aboukhadijeh
824f4ce3cf
CHANGELOG
2016-04-06 21:29:34 -07:00
Feross Aboukhadijeh
cc324024ba
Add ISSUE_TEMPLATE
2016-04-06 21:29:25 -07:00
grunjol
0921f89eb7
Linux .deb file: update symlink on package update
...
* overwrite symlink on update
* fix size and list definition
2016-04-07 00:48:00 -03:00
DC
628c93bc1e
Pause audio reliably when closing the window
...
Before it only paused video...
2016-04-06 05:47:39 -07:00
Feross Aboukhadijeh
25109a7ebb
0.3.1
v0.3.1
2016-04-06 05:10:37 -07:00
Feross Aboukhadijeh
e6963d0307
CHANGELOG
2016-04-06 05:09:14 -07:00
DC
9a2f16b29a
Add crash reporting
2016-04-06 05:05:26 -07:00
DC
6a17aa7c76
Cast screen background: cover, don't tile
2016-04-06 04:48:56 -07:00
Feross Aboukhadijeh
80c549ae77
0.3.0
v0.3.0
2016-04-06 03:42:36 -07:00
DC
9d4c65d1b1
Queue messages for WebTorrent window until it's ready
2016-04-06 03:28:56 -07:00
DC
2e08eea43d
Remove Developer > Reload
...
It will leave the app in a bad state, now that we hae a separate WebTorrent process
2016-04-06 03:28:56 -07:00
Feross Aboukhadijeh
27914ef13b
Merge branch 'f/ux'
2016-04-06 03:27:57 -07:00
Feross Aboukhadijeh
10d9678946
Shortcut tweak
2016-04-06 03:27:43 -07:00
Feross Aboukhadijeh
d8a150a60d
Torrent list title: Show more of the title
2016-04-06 02:57:20 -07:00
DC
5abc319ecf
Show torrent metadata on 'metadata' event, don't wait for 'ready'
2016-04-06 02:55:41 -07:00
DC
e0f02ace9e
Open Torrent File should only let you select torrent files
2016-04-06 02:55:41 -07:00
DC
28c386d916
Fix file list enabled/disabled logic
...
* Files that are either 100% downloaded OR streamble should be enabled
* Disabled files should not be clickable
This fixes both bugs.
2016-04-06 02:55:41 -07:00