Skip to content

Commit

Permalink
Added WebVTT to default supported bitstream formats
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevryghem committed Mar 20, 2023
1 parent b956bcd commit 29550a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class BitstreamFormatRestRepositoryIT extends AbstractControllerIntegrati
@Autowired
private BitstreamFormatConverter bitstreamFormatConverter;

private final int DEFAULT_AMOUNT_FORMATS = 81;
private final int DEFAULT_AMOUNT_FORMATS = 82;

@Test
public void findAllPaginationTest() throws Exception {
Expand Down
9 changes: 9 additions & 0 deletions dspace/config/registries/bitstream-formats.xml
Original file line number Diff line number Diff line change
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 29550a8

Please sign in to comment.