Commit graph

151 commits

Author SHA1 Message Date
Pierre Rudloff
5b0ee7651b Remove Config dependency on LocaleManager 2020-10-21 22:38:09 +02:00
Pierre Rudloff
9a12a2d13b Don't install open-sans in vendor 2020-10-20 01:24:36 +02:00
Pierre Rudloff
1d5a81ad8c Don't override the VarDumper styles 2020-10-20 00:06:25 +02:00
bellington3
83863bd66c
Provide config toggle to disable the 'convert seek' function (#311)
* Provide config toggle to disable the 'convert seek' function in the frontend

* Add convertSeek config option to config.example

* Only send from/to if convertSeek is activated
2020-10-17 14:14:36 +02:00
bellington3
2e8350ce1a
Provide config toggle to set 'audio' conversion on as default (#310)
* Provide config toggle to set 'audio' conversion on as default

* Fix git cherry pick mistake

* Update templates/index.tpl

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>

* Add default audio config option to config.example

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
2020-09-30 00:07:20 +02:00
Pierre Rudloff
3ba720dce0 Get open-sans from Packagist
So we can stop requiring Asset Packagist
2020-07-20 23:04:03 +02:00
Pierre Rudloff
b6b4dad2ec Custom 404 and 405 error pages 2020-07-15 23:17:23 +02:00
Pierre Rudloff
251fbe48ca Add generator meta with the current version 2020-06-21 15:51:28 +02:00
Pierre Rudloff
5c2823e3f1 Move Video class to a separate library
+ improve error handling
+ youtube-dl update
2020-06-21 15:12:03 +02:00
Pierre Rudloff
1d95ba7b57 Fix stream: ask detection (see #283) 2020-05-23 16:21:46 +02:00
Pierre Rudloff
d4c1357c32 Lint 2020-05-14 00:18:39 +02:00
daCaPo
c3b45fe128 Switch to ytdl-org/youtube-dl 2020-03-19 10:12:18 +01:00
Pierre Rudloff
ced0c126f1 Add a way to not check the stream checkbox by default (#255) 2020-01-18 22:56:55 +01:00
Pierre Rudloff
ef493074d4 Refactor error controller 2019-12-02 22:04:14 +01:00
Pierre Rudloff
2f3ab77e8b Stop using grunt and use grumphp and robo instead 2019-11-30 16:34:35 +01:00
Pierre Rudloff
e6cd7682a9 Improved French translation 2019-11-29 22:28:48 +01:00
Pierre Rudloff
850fc80622 Add support for variables in translation (#250) 2019-11-29 22:13:11 +01:00
Pierre Rudloff
5c480f4268 Remove social buttons 2019-11-28 00:08:18 +01:00
Pierre Rudloff
a5bd827d21 Switch to symfony/translation for translations (#250) 2019-11-27 23:15:49 +01:00
Pierre Rudloff
adba68edbc Display download options even when video only has one format 2019-11-07 23:42:48 +01:00
Pierre Rudloff
03b4bb746d fix: Missing space in HTML 2019-10-01 22:17:10 +02:00
Pierre Rudloff
563916267d fix: Fix single format download 2019-10-01 22:14:49 +02:00
Pierre Rudloff
1126239263 Check the stream checkbox by default to avoid surprises with non-HTTP videos 2019-05-08 19:52:38 +02:00
Pierre Rudloff
43d5cc1dbb feat: Make generic formats dynamic
See #223
2019-05-08 19:49:18 +02:00
Pierre Rudloff
b91fe78dcd feat: Make streaming optional when stream mode is enabled
Closes #218
2019-04-28 00:36:14 +02:00
Pierre Rudloff
1df06f7c22 refactor: Use route names that make more sense 2019-04-22 15:31:51 +02:00
Pierre Rudloff
ebed2cea88 refactor: Avoid varible name conflict 2019-04-21 22:19:44 +02:00
Pierre Rudloff
9949a0d32b
Merge pull request #213 from hiwelo/accessibility-improvements
Accessibility improvements
2019-04-19 23:11:39 +02:00
hiwelo
a5fbb74094
Fixes attributes used to link label & form inputs 2019-04-18 23:04:22 +02:00
Damien Senger
596d5e2994
Adds and fixes labels for video.tpl inputs
According to the WCAG success criterias 1.3.1 (Info and relationships),
3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
or instructions are required when content requires user input.

The bit rate label was replaced by a real label announcing the purpose
of the text input _Custom bitrate_. The existing unit indication is now
using a `<span>` attribute and it is linked to the input using an
`aria-describedby` attribute.

Also, the lack of label for the format conversion selectbox is fixed
by using a specific `aria-label` attribute.

Resources:
- https://www.w3.org/TR/WCAG21/#labels-or-instructions
- https://www.w3.org/TR/WCAG21/#info-and-relationships
- https://www.w3.org/TR/WCAG21/#name-role-value
- https://www.w3.org/TR/WCAG20-TECHS/H44.html
- https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
- https://www.w3.org/TR/WCAG20-TECHS/ARIA1.html
2019-04-13 13:18:32 +02:00
Damien Senger
ce07a621e5
Improves a11y of password protected video form
According to the WCAG success criterias 1.3.1 (Info and relationships),
3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
or instructions are required when content requires user input.

To do so, this commit adds a label for the password input and hide it
with a CSS visually-hidden method to not alter the design.

Resources:
- https://www.w3.org/TR/WCAG21/#labels-or-instructions
- https://www.w3.org/TR/WCAG21/#info-and-relationships
- https://www.w3.org/TR/WCAG21/#name-role-value
- https://www.w3.org/TR/WCAG20-TECHS/H44.html
- https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
- https://gomakethings.com/hidden-content-for-better-a11y/
2019-04-13 13:11:09 +02:00
Damien Senger
726e9bf5c1
Adds a label to audio options inputs
According to the WCAG success criterias 1.3.1 (Info and relationships),
3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
or instructions are required when content requires user input.

To do so, this commit adds a label for the "From" and the "To" inputs
displayed when a user chose to get the audio of a file only.

Resources:
- https://www.w3.org/TR/WCAG21/#labels-or-instructions
- https://www.w3.org/TR/WCAG21/#info-and-relationships
- https://www.w3.org/TR/WCAG21/#name-role-value
- https://www.w3.org/TR/WCAG20-TECHS/H44.html
- https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
2019-04-13 12:57:42 +02:00
Damien Senger
27543f9024
Updates the doctype to be lowercase 2019-04-13 12:51:49 +02:00
Damien Senger
60350747a5
Adds a label to social sharing links
According to the WCAG (success criterias 2.4.4 and 4.1.2), the purpose
of each link should be determined from the link text alone or from the
link text together with its programmatically determined link context.

In this case, because there is no text content, we are using
`aria-label` to have an explicit purpose announced to users of
assisting technologies.

Resources:
- https://dequeuniversity.com/rules/axe/3.2/link-name
- https://www.w3.org/TR/WCAG21/#link-purpose-in-context
- https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html
2019-04-13 12:19:11 +02:00
Pierre Rudloff
f315343798 refactor: Cleanup best format logic
Reuse $defaultFormat everywhere instead of duplicating conditions
2019-03-27 00:25:02 +01:00
Pierre Rudloff
506584ceee fix: Specify allowed protocols explicitely
"^=http" also catches http_dash_segments
2019-03-24 15:13:01 +01:00
Pierre Rudloff
93878220b5 fix(playlist): Unset title variable 2019-01-25 21:16:58 +01:00
Pierre Rudloff
c6cf05f8ec refactor: Move app name to a config variable
See #205
2019-01-06 16:59:16 +01:00
Pierre Rudloff
05812e4b0e fix: Use a broader pattern for timestamps
ffmpeg accepts HOURS:MM:SS.MILLISECONDS
2018-09-11 17:04:16 +02:00
Alex Silva
a06d2ec82d
Update index.tpl 2018-09-07 18:17:45 -03:00
Alex Silva
1fd3b7a838
Update index.tpl 2018-09-07 18:14:20 -03:00
Alex Silva
4ef358258c
Added pattern 2018-09-07 15:43:16 -03:00
Alex Silva
7c8a78d574
Update index.tpl
remove placeholder
2018-08-17 11:36:53 -03:00
Alex Silva
d39b301ad2
better input method? 2018-08-17 11:28:27 -03:00
Pierre Rudloff
2efe969212 chore: Missing translations 2018-07-03 20:16:37 +02:00
Pierre Rudloff
f1cf0a2cdc feat: Add a way to trim the audio 2018-07-03 19:47:35 +02:00
Pierre Rudloff
8a3b139603 chore: Add missing string to locales 2018-05-29 18:46:44 +02:00
Pierre Rudloff
27737ef49f feat: Add donate link to footer 2018-05-29 18:41:12 +02:00
Pierre Rudloff
ac4f6e72b8 fix: Remove empty format from format list
Introduced by 4972c8ab8e

Fixes #170
2018-05-19 16:16:20 +02:00
Pierre Rudloff
af07826dac fix: Remove link to Facebook page
Since we don't use it anymore
2018-03-26 11:53:17 +02:00