Skip to content

Commit

Permalink
Merge pull request #553 from shoutem/release/4.0.16
Browse files Browse the repository at this point in the history
Release/4.0.16
  • Loading branch information
Definitely-Not-Vlad authored Dec 9, 2020
2 parents cb5b6eb + 3546697 commit d93dc4e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions components/Video/Video.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class Video extends PureComponent {
return (
<View style={style.container}>
<WebView
allowsFullscreenVideo
mediaPlaybackRequiresUserAction={false}
style={{width, height}}
source={createSourceObject(source, playerParams, poster)}
scrollEnabled={false}
Expand Down
2 changes: 1 addition & 1 deletion components/Video/VideoSourceReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function getYouTubeEmbedUrl(id, playerParams) {
}

function getVimeoEmbedUrl(id) {
return `https://player.vimeo.com/video/${id}?title=0&byline=0&portrait=0`;
return `https://player.vimeo.com/video/${id}?title=0&byline=0&portrait=0&playsinline=0`;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shoutem/ui",
"version": "4.0.15",
"version": "4.0.16",
"description": "Styleable set of components for React Native applications",
"dependencies": {
"@shoutem/animation": "~0.12.4",
Expand Down
2 changes: 1 addition & 1 deletion theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ export default (variables = defaultThemeVariables) => ({
NAVIGATION_BAR_HEIGHT +
(Platform.OS === "ios"
? variables.extraLargeGutter + variables.extraLargeGutter
: variables.mediumGutter),
: variables.extraLargeGutter + variables.mediumGutter),
},
},
},
Expand Down

0 comments on commit d93dc4e

Please sign in to comment.