|
@@ -295,6 +295,17 @@ $('.btn-close').click(function() {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
+$('#exampleModal').click(function() {
|
|
|
+ $('.youtube-video').each(function() {
|
|
|
+ this.contentWindow.postMessage('{"event": "command", "func": "stopVideo", "args": ""}', '*');
|
|
|
+ });
|
|
|
+});
|
|
|
+
|
|
|
$('.stopplay').click(function() {
|
|
|
document.getElementById("videotest").pause();
|
|
|
+});
|
|
|
+
|
|
|
+$('#exampleModal1').click(function() {
|
|
|
+ document.getElementById("videotest").pause();
|
|
|
+
|
|
|
});
|