W
el[0].style.transform = el[0].style.transform==''?"rotate(180deg)":'';
Size: a a a
W
el[0].style.transform = el[0].style.transform==''?"rotate(180deg)":'';
ZS
function ()
-> function (event)
dQw4w9WgXcQ
), там точно http://www.youtube.com/embed/ ...
?SB
net::ERR_TIMED_OUT
?RK
(!) Missing global variable names
Use output.globals to specify browser global variable names corresponding to external modules
@babel/runtime/helpers/typeof (guessing '_typeof')
@babel/runtime/helpers/classCallCheck (guessing '_classCallCheck')
@babel/runtime/helpers/createClass (guessing '_createClass')
@babel/runtime/helpers/typeof (guessing '_typeof')
@babel/runtime/helpers/classCallCheck (guessing '_classCallCheck')
@babel/runtime/helpers/createClass (guessing '_createClass'
ugins: [commonjs(), nodeResolve(), babel({вообще ничего не гуглится
babelHelpers: 'runtime',
exclude: 'node_modules/**',
presets: [
'@babel/env'
],
plugins: [
'@babel/plugin-transform-runtime'
]
})],
a
videoContent.innerHTML = `
<iframe width="560" height="315" src="https://www.youtube.com/embed/yB0w10Sc2Eg?frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
`;
src="https://www.youtube.com/embed/yB0w10Sc2Eg?frameborder="0"вы протеряли кусочек видимо. не факт что в этом дело правда
^ ^^^ ^
a
ZS
videoContent.innerHTML = `
<iframe width="560" height="315" src="https://www.youtube.com/embed/yB0w10Sc2Eg?frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
`;
src="https://www.youtube.com/embed/yB0w10Sc2Eg?frameborder="0"вы протеряли кусочек видимо. не факт что в этом дело правда
^ ^^^ ^
videos.forEach((video) => {
video.addEventListener("click", function (e) {
if (e.path[1].dataset.videoid == 2) {
videoContent.innerHTML = `
<iframe width="560" height="315" src="https://www.youtube.com/embed/yB0w10Sc2Eg?frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
`;
} else if (e.path[1].dataset.videoid == 3) {
videoContent.innerHTML = `
<iframe width="560" height="315" src="https://www.youtube.com/embed/BCPVMJeBb3I?frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
`;
} else if (e.path[1].dataset.videoid == 1) {
videoContent.innerHTML = `
<iframe width="560" height="315" src="https://www.youtube.com/embed/puPa9mKJFbI?controls=0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
`;
}
videoOverlay.style.display = "flex";
});
});
a
a
ZS
a
e.path[1].dataset
?MK
ZS
a
path
a
a
if (e.path[1].dataset.videoid == 2) {
if (e.currentTarget.dataset.videoid == "2") {
ZS
a
a
event.path
нестандартная хрень, которая возможно работает в хромеa
currentTarget