Skip to content

Commit

Permalink
Merge pull request #8727 from alexandrevryghem/added-vtt-to-default-s…
Browse files Browse the repository at this point in the history
…upported-bitstream-types

Added WebVTT to default supported bitstream formats
  • Loading branch information
tdonohue committed Apr 4, 2023
2 parents 5641844 + 0e0962e commit 5d14b23
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Expand Up @@ -56,7 +56,7 @@ public class BitstreamFormatRestRepositoryIT extends AbstractControllerIntegrati
@Autowired
private BitstreamFormatConverter bitstreamFormatConverter;

private final int DEFAULT_AMOUNT_FORMATS = 84;
private final int DEFAULT_AMOUNT_FORMATS = 85;

@Test
public void findAllPaginationTest() throws Exception {
Expand Down
9 changes: 9 additions & 0 deletions dspace/config/registries/bitstream-formats.xml
Expand Up @@ -115,6 +115,15 @@
<extension>csv</extension>
</bitstream-type>

<bitstream-type>
<mimetype>text/vtt</mimetype>
<short_description>WebVTT</short_description>
<description>Web Video Text Tracks Format</description>
<support_level>1</support_level>
<internal>false</internal>
<extension>vtt</extension>
</bitstream-type>

<bitstream-type>
<mimetype>application/msword</mimetype>
<short_description>Microsoft Word</short_description>
Expand Down

0 comments on commit 5d14b23

Please sign in to comment.