Commit graph

137 commits

Author SHA1 Message Date
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
Pierre Rudloff
ae1bb4d3f9 fix: Missing translatable string 2018-01-25 00:00:11 +01:00
Pierre Rudloff
4972c8ab8e feat: Add a new convertAdvanced option
It allows user to convert videos to several other audio/video formats

Fixes #148
2018-01-24 23:31:21 +01:00
Pierre Rudloff
bd00fd76ec perf: Add rel="noopener" on external links
See https://developers.google.com/web/tools/lighthouse/audits/noopener
2018-01-16 13:10:51 +01:00
Pierre Rudloff
8cbf8300d8 fix: Use a main tag for the main part of the page
See https://dequeuniversity.com/rules/axe/2.2/bypass?application=lighthouse
2018-01-16 13:07:10 +01:00
Pierre Rudloff
7c35b7e2f3 Typo 2017-09-12 23:21:38 +02:00
Pierre Rudloff
a04cbeceee Merge branch 'master' into develop 2017-09-09 16:31:22 +02:00
Pierre Rudloff
785a2f01a4 Hotfix: remove buggy autofocus (fixes #117) 2017-09-09 16:24:36 +02:00
Pierre Rudloff
f1d4d2f25c Capitalize locale names 2017-08-07 16:50:25 +02:00
Pierre Rudloff
4343edcdbb Merge branch 'master' into develop 2017-07-03 10:40:13 +02:00
Pierre Rudloff
dd00e9d279 Remove Google Cast support since the JS library does not seem to be maintained anymore and it frequently breaks 2017-07-03 10:19:50 +02:00
Pierre Rudloff
2e93ab867c Hide language switcher if only one locale is supported 2017-06-01 23:45:35 +02:00
Pierre Rudloff
be1163a408 Fix locale switcher position on mobile 2017-06-01 22:48:14 +02:00
Pierre Rudloff
4b174d297b Add title on share links 2017-06-01 11:43:07 +02:00
Pierre Rudloff
19bbe3f11c Lint CSS 2017-06-01 11:38:35 +02:00