force the reload of the video
This commit is contained in:
parent
acd5ee03e8
commit
9df27a0a37
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ const updateVideo = (videoFolder, videosList, tree, source, newVideoId) => {
|
|||
const mainElement = source.parentElement.parentElement;
|
||||
source.src = `${videoFolder}/${videosList[newVideoId][0]}.${videosList[newVideoId][1]}`;
|
||||
source.type = `video/${videosList[newVideoId][1]}`;
|
||||
source.parentElement.load();
|
||||
|
||||
if (tree[newVideoId]) {
|
||||
tree[newVideoId].forEach((nextVideoId, counter) => {
|
||||
|
|
Reference in a new issue