(function ($) {
    $('body').on('click', '.start-video', function () {
        var $container = $(this).closest('.yt-video-place'),
            $url = $container.data('yturl');

        $container.append('<iframe src="' + $url + '?rel=0&showinfo=0&autoplay=1" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen frameborder="0"/>');
    });
})(jQuery);
