wikipedia e altro

This commit is contained in:
matteo
2019-02-18 03:58:51 +01:00
parent 61d113fd14
commit 8057a99947
7 changed files with 96 additions and 45 deletions
+3 -2
View File
@@ -15,7 +15,8 @@ class VideoPlayer extends React.Component {
modestbranding: 1,
fs: 0,
iv_load_policy:3,
rel: 0
rel: 0,
origin//: 'http://site1854.tw.cs.unibo.it'
}
},
promise1: null,
@@ -91,7 +92,7 @@ class VideoPlayer extends React.Component {
})
.then(
response => console.info(response.data),
error => console.error(error, videoIdWatched.toString())
error => this.setState({error})//console.error(error, videoIdWatched.toString())
);
// local storage logic for recent reccomender//tmp è il video che devo inserire sulla lista
let tmp = JSON.parse(localStorage.getItem('lastWatched'))