legacy/src/c/youtube-lightbox.js
Function oninit
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
oninit: function(vnode) {
let player;
const showLightbox = h.toggleProp(false, true),
setYoutube = () => {
const tag = document.createElement('script'),