Play Button Pause Button

5min JS - dynamic placeholder text

sroehrl profile image neoan ・1 min read

Placeholder text how you want it to be

This is an older project of mine I just updated and wanted to take the opportunity to finally try out dev.to's video function.

What it is addressing

Rather than generating static placeholder text, this little helper generates the placeholder text dynamically, allowing you to:

  • account for differences in dynamic content
  • easily switch between development & "real" content
  • check loading behaviour

YouTube mirror



Editor guide