Skip to content

Commit

Permalink
Breaking change: WEBVTT should be a URL
Browse files Browse the repository at this point in the history
  • Loading branch information
muan committed Oct 29, 2024
1 parent d390a1c commit 82f4d97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Common fields between Image Stories and Video Stories:
Fields unique to Video Story:

- `mime_type` (required, _String_ beginning with `video/`): the MIME type of the video.
- `webvtt` (optional, _String_ beginning with `WEBVTT\n`): The VTT of the video.
- `webvtt` (optional, _String_): The URL of the WEBVTT of the video.

### Authors

Expand Down
2 changes: 1 addition & 1 deletion dist/openstories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ interface ImageStory extends OpenStory {

interface VideoStory extends OpenStory {
mime_type: `video/${string}`;
webvtt?: `WEBVTT\n${string}`;
webvtt?: string;
}

export default OpenStoriesFeed;

0 comments on commit 82f4d97

Please # to comment.