BetaPictoris / nook

Missing <track> in<audio> / <video> element JS-0754
Anti-pattern
6 months ago6 months old
Media elements such as <audio> and <video> must have a <track> for captions
57        /> 
58      </audio> 
59 
60      <audio id="weatherPlayer" loop> 61        <source 
62          src={getWeatherURL(props.game, props.weather)} 
63          type="audio/ogg" 
Media elements such as <audio> and <video> must have a <track> for captions
50 
51  return ( 
52    <> 
53      <audio id="gameMusicPlayer" loop> 54        <source 
55          src={getURL(props.game, props.weather, props.hour)} 
56          type="audio/ogg"