Commit Graph

58 Commits

Author SHA1 Message Date
Erik Thuning
75a47261bb Fixed getArgs() returning a non-null value for the playlist when no playlist was passed. 2024-09-06 15:14:05 +02:00
Erik Thuning
f0b3b19598 Added very rudimentary support for packages with multiple subtitle files,
treating the first subs file as the only file so the button can remain a toggle
2022-12-08 14:16:36 +01:00
Erik Thuning
d5cb2021cf presentation.sources is now expected to be an object instead of a list 2022-11-30 11:16:38 +01:00
Erik Thuning
353b4af391 Added random subdomains to video sources in order to work around limitations on open connections per server. 2022-11-03 13:48:54 +01:00
Erik Thuning
0992b25488 Updated the playlist to list descriptions, and changed the styling a bit 2022-04-01 00:17:41 +02:00
Erik Thuning
ed72db6057 Never mind 2022-03-14 17:13:20 +01:00
Erik Thuning
60eab865b8 Maybe changing the media event type will work more consistently? 2022-03-14 17:08:51 +01:00
Erik Thuning
11aa7cb994 Fixed a bug preventing stream switching if there are no subs 2022-03-11 14:10:01 +01:00
Erik Thuning
b39914e478 Added language detection based on cookie (named 'language') 2022-02-24 14:25:46 +01:00
Erik Thuning
c3e9636ed9 Added token to subtitles so they can be accessed 2022-02-24 14:25:05 +01:00
Erik Thuning
6c42a1402e Added support for jumping 5s forwards/backwards with the arrow keys 2022-02-21 18:46:23 +01:00
Erik Thuning
2fbd02421d Volume level is remembered between page loads via cookie 2022-02-21 18:30:14 +01:00
Erik Thuning
ebcfee3030 Subtitle state will now be remembered across page loads by cookie 2022-02-21 18:20:52 +01:00
Erik Thuning
74203f4807 Buttons that toggle state now switch their tooltips as appropriate 2022-02-21 18:07:28 +01:00
Erik Thuning
6588386571 Stop hiding the UI if the playlist is visible 2022-02-21 17:54:46 +01:00
Erik Thuning
06a5b7110e Implemented subtitles display 2022-02-21 16:31:56 +01:00
Erik Thuning
e98bbbb646 Saved the player from crashing when playing local video 2022-02-21 14:41:18 +01:00
Erik Thuning
6bda4ef34a Fixed link generation when not using the debug flag 2022-02-21 12:58:10 +01:00
Erik Thuning
9091de8a65 Added a button to copy a link to the current time
Also self-closed some tags for consistency
2022-02-18 14:54:14 +01:00
Erik Thuning
4c0cd8d887 Added the ability to link to a specific time in the video
A new GET parameter 'timecode' is added, which takes a number of seconds.
Synonyms are 'time', 'timestamp' and 't'.
2022-02-18 13:07:00 +01:00
Erik Thuning
f011c7901b Made default resolution dynamic.
The first resolution listed in the first video stream is now the default.
2022-01-26 11:53:24 +01:00
Erik Thuning
78f32649d9 Moving hardcoded thins into hardcoding places 2021-10-01 11:29:29 +02:00
Erik Thuning
8a778520d6 Fixed the player crashing in production if playlist is null 2021-04-28 16:34:46 +02:00
Erik Thuning
4eece90b93 Fixed the popup display bug in chrome and re-enabled the popup.
It should still follow the mouse on hover, but that will have to wait.
2021-04-23 14:02:06 +02:00
Erik Thuning
9c4c44caf4 Disabled the progress popup for the time being 2021-04-23 13:32:57 +02:00
Erik Thuning
bea54ce38f Fixed the player always starting playback on resolution switch.
It now only plays if it was already palying.
2021-04-23 12:52:17 +02:00
Erik Thuning
8c113080cb Removed stray console logging 2021-04-23 12:43:52 +02:00
Erik Thuning
9df539be2b Resolution switching now keeps track of the timecode
Added a debug parameter to disable automatic prefixing
2021-04-23 12:38:23 +02:00
Erik Thuning
6af4882b2c Implemented support for embedding with a scroll-down description pane 2021-04-23 12:20:05 +02:00
Erik Thuning
a913fa557c Revert "Removed automatic adding of path prefixes to playlist and presentation paths."
This was in error, mixed up presentation and stream paths
2021-04-21 16:41:33 +02:00
Erik Thuning
27a7fff51a Removed automatic adding of path prefixes to playlist and presentation paths. 2021-04-21 13:01:00 +02:00
Erik Thuning
9ac5d7ec04 Implemented basic resolution switching.
Doesn't keep track of the position in the video currently, needs fixing.
2021-04-21 12:43:28 +02:00
Erik Thuning
c5ea26d397 Fixed the player choking on missing localPresentation 2021-04-20 15:45:54 +02:00
Erik Thuning
b97287141e Player now supports both types of stream specification:
'video': 'somefile.webm'

and

'video': {
  480: 'somefile.webm',
  720: 'otherfile.webm',
  ...
}
2021-04-20 15:16:42 +02:00
Erik Thuning
5ee43ea49b Implemented support for new multi-resolution package format.
No resolution switching yet.
2021-04-20 15:07:35 +02:00
Erik Thuning
3b32357ed1 Added support for playback of locally hosted content 2021-04-12 16:02:14 +02:00
Erik Thuning
9582c4bfc1 Removed token from image paths since it's unnecessary. 2021-03-11 17:43:11 +01:00
Erik Thuning
8db5631377 Added a token to all media paths 2021-03-03 15:38:01 +01:00
Erik Thuning
e9beac2f28 Made sure encoded presentation and playlist URLs work.
Small tweak to the package.json format etc.
2020-11-26 20:32:44 +01:00
Erik Thuning
57693568d2 Added debug output on ajax erorrs 2020-11-26 16:33:12 +01:00
Erik Thuning
e03bcc7ccc Minor tweaks and refactoring 2020-11-24 23:55:49 +01:00
Erik Thuning
065c3a5f42 Removed redundant listener 2020-11-18 17:05:17 +01:00
Erik Thuning
ca1c293331 Refactored playback handling and added a throbber
Also some housekeeping
2020-11-18 17:02:48 +01:00
Erik Thuning
7816846412 Playlist functions, splash screen 2020-11-16 16:42:41 +01:00
Erik Thuning
3b6508b5a7 Added playlist buttons. Js formatting tweak.
Playlist definition is now its own json file.
2020-11-16 12:57:31 +01:00
Erik Thuning
dcaee6be8e Initial playlist support, minor tweak to init 2020-11-15 08:54:17 +01:00
Erik Thuning
028e411604 Improved the progress bar 2020-11-15 03:32:09 +01:00
Erik Thuning
f8513f5b0f Pretty transitions, fixed a bug with the buffer bar 2020-11-15 03:14:33 +01:00
Erik Thuning
a675fc5789 Revert "Revert "Halfway to a real progress bar""
This reverts commit e88e24b308.
2020-11-14 20:23:22 +01:00
Erik Thuning
e88e24b308 Revert "Halfway to a real progress bar"
This reverts commit d5311a731d.
2020-11-14 20:18:45 +01:00