Archived
wikipedia e altro
This commit is contained in:
+3
-2
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user