solaryasha / youtube-implementation

Missing sandbox in iframe JS-D010
Bug risk
Minor
a year agoa year old
iframe element is missing a sandbox attribute
13  return (
14    <div className="video-container">
15      <div className="video">
16        <iframe17          className="video-player"18          src={embedUrl}19          frameBorder="0"20          allow="autoplay; encrypted-media"21          allowFullScreen22          title="video"23        />24      </div>
25    </div>
26  );