테마 수정

This commit is contained in:
hyeonggil
2024-06-02 19:40:11 +09:00
parent f6370d584b
commit fb5a0a9d50
4 changed files with 64 additions and 3 deletions

View File

@@ -677,7 +677,7 @@
<h5>
사양 이용 영상
</h5>
<div class="youtubeArea youtubeArea_pdp" value="i76z7IQ2Mhk">
<div class="youtubeArea youtubeArea_pdp" value="6Z8r6-qXwoo">
</div>
</div>
</div>
@@ -955,6 +955,12 @@
<!--//footer-->
<script>
AOS.init();
if($(".youtubeArea").hasClass("youtubeArea_pdp") === true) {
var youtube_id = $('.youtubeArea_pdp').attr('value');
var youtube_frame = '<iframe src="https://www.youtube.com/embed/'+youtube_id+'?controls=1&rel=0&showsearch=0" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>';
$('.youtubeArea_pdp').html(youtube_frame);
}
</script>
</body>
</html>