nhoizey’s avatarnhoizey’s Twitter Archive—№ 116,355

  1. In one single day, I created my first Web Component (vanilla flavor), put the code on @github, published it on @npmjs, and made a demo on @CodePen… 💪 codepen.io/nhoizey/pen/YzawBrq BTW, it's made to responsively use videos as background of content! nicolas-hoizey.com/notes/2022/07/08/1/
    1. …in reply to @nhoizey
      With just released v1.1.0, the video should now load and play only if the user didn't prefer reduced motion in their system, a must have for #accessibility! cleverage.github.io/responsive-video-background/
    2. …in reply to @nhoizey
      @github @npmjs @CodePen I'm not sure the question makes sense 😅, but… Is it necessary/useful to build an UMD version for a Web Component? It looks like @unpkg wants an UMD version, for example: unpkg.com/#workflow Feedback welcome here: github.com/cleverage/responsive-video-background/issues/10