embedd video correctly

hide video when user clicks to home page again
This commit is contained in:
2020-06-01 17:58:48 +02:00
parent 27cfe7df59
commit e0f5d62edf
6 changed files with 72 additions and 22 deletions

View File

@@ -43,7 +43,8 @@ class HomePage extends React.Component {
{this.state.loadeditems.map(elem => (
<Preview
name={elem.movie_name}
movie_id={elem.movie_id}/>
movie_id={elem.movie_id}
showvideo={this.props.showvideo}/>
))}
</div>
);