Skip to content

Commit

Permalink
feat(video): add test video with subtitles (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
KatvonRivia authored Mar 23, 2020
1 parent 3bd8bc4 commit 5d8bd27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/scripts/components/story-video/story-video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const StoryVideo: FunctionComponent<Props> = ({videoId}) => (
<iframe
width="100%"
height="100%"
src={`https://www.youtube.com/embed/${videoId}?rel=0`}
src={`https://www.youtube.com/embed/${videoId}?rel=0&cc_load_policy=1`}
frameBorder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen></iframe>
Expand Down
4 changes: 1 addition & 3 deletions storage/stories/story2/story2-de.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
{
"text": "# Story title\n\n## Das ist ein subheader\n\nPraesentium quidem mollitia explicabo voluptatem aperiam deleniti ut sunt atque eaque, voluptate commodi in.",
"shortText": "- Lorem ipsum",
"images": [
"https://storage.googleapis.com/esa-cfs-storage/stories/story2/assets/story1.jpeg"
]
"videoId": "byBFY9iJke4"
}
]
}
4 changes: 1 addition & 3 deletions storage/stories/story2/story2-en.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@
{
"text": "# Story title\n\n## This is a subheader\n\nPraesentium quidem mollitia explicabo voluptatem aperiam deleniti ut sunt atque eaque, voluptate commodi in.",
"shortText": "- Lorem ipsum",
"images": [
"https://storage.googleapis.com/esa-cfs-storage/stories/story1/assets/story1.jpeg"
]
"videoId": "byBFY9iJke4"
}
]
}

0 comments on commit 5d8bd27

Please sign in to comment.