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"/>')
|
||||
span.click(function() {
|
||||
if (span.text() == ON){
|
||||
videoNode.remove("iframe");
|
||||
embedNode.remove();
|
||||
span.text(OFF);
|
||||
} else{
|
||||
videoNode.append(embedNode);
|
||||
|
|
Loading…
Reference in New Issue