This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const SET_PLAYER_STATUS = 'SET_PLAYER_STATUS'; | |
const hsVideos = window.hsVideoApi?.getPlayers(); | |
const videoEls = document.querySelectorAll('.video-container'); | |
function manageVideoStatus() { | |
videoEls.forEach((videoEl) => { | |
const iframe = videoEl.querySelector('iframe'); | |
if (iframe) { | |
const videoId = iframe.getAttribute('id')?.replace('hs_player_', ''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Thanks to CSS Tricks for the inspiration: http://css-tricks.com/equidistant-objects-with-css/ | |
@mixin horizontal-list-span-width { | |
margin: 0; | |
padding: 0; | |
list-style-type: none; | |
text-align: justify; | |
&:after { |