HTML KODU;
<div class="item"> <div class="flex-video"> <iframe src="https://www.youtube.com/embed/G1lq40tR72Q?enablejsapi=1" width="560" allowfullscreen frameborder="0" height="315"></iframe> </div> </div>
JAVASCRIPTKODU;
onTranslate: function(event) { var currentSlide, player, command; currentSlide = $('.owl-item.active'); player = currentSlide.find(".flex-video iframe").get(0); command = { "event": "command", "func": "pauseVideo" }; if (player != undefined) { player.contentWindow.postMessage(JSON.stringify(command), "*"); } }
C#,MVC,MSSQL,Windows Forms