Browsing Category
Media
- August 14, 2019
- August 14, 2019
- August 12, 2019
- August 11, 2019
- August 11, 2019
- June 27, 2019
- April 3, 2019
- December 27, 2018
- December 20, 2018
- December 20, 2018
- December 18, 2018
- December 18, 2018
- December 18, 2018
- December 18, 2018
- December 13, 2018
- December 5, 2018
- November 26, 2018
- November 14, 2018
- November 13, 2018
- November 13, 2018
- October 29, 2018
- October 25, 2018
- October 25, 2018
- October 16, 2018
- October 16, 2018
- October 16, 2018
- October 15, 2018
document.addEventListener("DOMContentLoaded", function() {
const youtubeIframes = document.querySelectorAll('iframe[src*="youtube.com"], iframe[src*="youtu.be"]');
youtubeIframes.forEach(function(iframe) {
const parent = iframe.parentElement;
if (!parent.classList.contains('youtube-container')) {
const wrapper = document.createElement('div');
wrapper.classList.add('youtube-container');
iframe.parentNode.insertBefore(wrapper, iframe);
wrapper.appendChild(iframe);
}
});
});