Fixes remove embed
This commit is contained in:
parent
9c4158fea5
commit
2b38969e8a
|
@ -36,7 +36,7 @@ onready(function(){
|
||||||
'?autoplay=1&html5=1" allowfullscreen frameborder="0"/>')
|
'?autoplay=1&html5=1" allowfullscreen frameborder="0"/>')
|
||||||
span.click(function() {
|
span.click(function() {
|
||||||
if (span.text() == ON){
|
if (span.text() == ON){
|
||||||
videoNode.remove("iframe");
|
embedNode.remove();
|
||||||
span.text(OFF);
|
span.text(OFF);
|
||||||
} else{
|
} else{
|
||||||
videoNode.append(embedNode);
|
videoNode.append(embedNode);
|
||||||
|
|
Loading…
Reference in New Issue