gestione visualizzazione dopo 15 secondi

This commit is contained in:
matteo
2018-12-01 02:44:31 +01:00
parent f2b9bd1bfb
commit a55cc2d414
4 changed files with 92 additions and 39 deletions
+2 -6
View File
@@ -17,16 +17,12 @@ class App extends React.Component {
</Row>
<Row className="justify-content-center bg-black">
<Col xs="12" sm="6">
<Switch>
<Route path={["/video/:id",'']} component={VideoPlayer} />
{/* <Route component={VideoPlayer} /> */}
{/* <Route path='/search/:q/:token?' component={Search} /> */}
</Switch>
<Route path={["/video/:id", "/*"]} component={VideoPlayer} />
</Col>
</Row>
<Row className='scrollable'>
<Switch>
<Route path={["/video/:id","/search/:query"]} component={VideoInfo} />
<Route path={["/video/:id", "/search/:query"]} component={VideoInfo} />
<Route exact path='/' component={VideoList} />
<Route render={() => <div>URL not found</div>}/>
</Switch>