diff --git a/resources/views/fo/modules/video-frame.blade.php b/resources/views/fo/modules/video-frame.blade.php index e400c59..b593b30 100644 --- a/resources/views/fo/modules/video-frame.blade.php +++ b/resources/views/fo/modules/video-frame.blade.php @@ -1,7 +1,9 @@ @php $uniqueID = uniqid(); @endphp - + - {{ $alt }} - - + {{ $alt }} + + + diff --git a/resources/views/vendor/cn-cookies.blade.php b/resources/views/vendor/cn-cookies.blade.php index 2b4fa50..fcc5a79 100644 --- a/resources/views/vendor/cn-cookies.blade.php +++ b/resources/views/vendor/cn-cookies.blade.php @@ -76,7 +76,7 @@ function () { for (let item of youtubeVids) { let id = item.dataset.id; let e = document.createElement('iframe'); - e.src = "https://www.youtube.com/embed/" + id; + e.src = "https://www.youtube.com/embed/" + id + '?autoplay=1'; e.width = "640"; e.height = "360"; e.frameBorder = "0";