Archived
ricerca wikidata con id youtube
This commit is contained in:
+6
-2
@@ -3,6 +3,7 @@
|
||||
import Wikipedia from './areainfo/Wikipedia';
|
||||
import { Col, Tabs, Tab } from 'react-bootstrap';
|
||||
import axios from 'axios';
|
||||
const ytclear = require('@c0b41/ytclear');
|
||||
|
||||
class VideoInfo extends Component {
|
||||
constructor(props) {
|
||||
@@ -88,10 +89,13 @@
|
||||
{/* codice per tabs reccomenders */}
|
||||
<Tabs defaultActiveKey="a" id="uncontrolled-tab-example">
|
||||
<Tab eventKey="a" title="A">
|
||||
<Wikipedia query={ this.props.location.state ? this.props.location.state.title : VideoDetails.snippet.title } />
|
||||
<Wikipedia title={ this.props.location.state ? this.props.location.state.title : VideoDetails.snippet.title }
|
||||
artist={ this.props.location.state ? this.props.location.state.artist : '' }
|
||||
videoId={ this.props.match.params.id}
|
||||
/>
|
||||
</Tab>
|
||||
<Tab eventKey="b" title="B">
|
||||
<p>{}</p>
|
||||
<p>{ ytclear(this.state.VideoDetails.snippet.title)}</p>
|
||||
</Tab>
|
||||
<Tab eventKey="c" title="C">
|
||||
<p>C</p>
|
||||
|
||||
Reference in New Issue
Block a user