fix same video not playing bug
This commit is contained in:
parent
79c3a88c12
commit
f281c300ba
|
@ -69,14 +69,11 @@ function setupPadmaLink(videoObj, data) {
|
||||||
// sidebarAnimateIn();
|
// sidebarAnimateIn();
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var currentVideo = padmaContainer.data("currentVideo");
|
var currentVideo = padmaContainer.data("currentVideo");
|
||||||
if (currentVideo == videoObj) {
|
|
||||||
/*
|
if ($(this).hasClass("nowPlaying")) {
|
||||||
if (!isSidebarVisible()) {
|
|
||||||
sidebarAnimateIn();
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentVideo) {
|
if (currentVideo) {
|
||||||
cleanupVideo(currentVideo);
|
cleanupVideo(currentVideo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user