<commit_before>import React, { PropTypes } from 'react';

const Video = ({
  src,
  offscreen,
  fullscreen,
  width,
  height,
  videoCreated,
  autoPlay = false,
  loop = false,
  crossOrigin = 'anonymous',
  onLoadedMetadata,
  onCanPlayThrough,
  onEnded,
  onPlaying,
}) => (
  <video
    style={{
      visibility: offscreen ? 'hidden' : 'visible',
      objectFit: fullscreen ? 'cover' : null,
    }}
    ref={videoCreated}
    width={width}
    height={height}
    autoPlay={autoPlay}
    loop={loop}
    controls={false}
    onLoadedMetadata={onLoadedMetadata}
    onCanPlayThrough={onCanPlayThrough}
    onEnded={onEnded}
    onPlaying={onPlaying}
    crossOrigin={crossOrigin}
  >
    <source
      src={`${src}.webm`}
      type="video/webm"
    />
    <source
      src={`${src}.mp4`}
      type="video/mp4"
    />
  </video>
)

Video.displayName = 'Video';

export default Video;
<commit_msg>fix attribute to correct name<commit_after>import React, { PropTypes } from 'react';

const Video = ({
  src,
  offscreen,
  fullscreen,
  width,
  height,
  videoCreated,
  autoPlay = false,
  loop = false,
  crossOrigin = 'anonymous',
  onLoadedMetadata,
  onCanPlayThrough,
  onEnded,
  onPlaying,
}) => (
  <video
    style={{
      visibility: offscreen ? 'hidden' : 'visible',
      objectFit: fullscreen ? 'cover' : null,
    }}
    ref={videoCreated}
    width={width}
    height={height}
    autoPlay={autoPlay}
    loop={loop}
    controls={false}
    onLoadedMetadata={onLoadedMetadata}
    onCanPlayThrough={onCanPlayThrough}
    onEnded={onEnded}
    onPlaying={onPlaying}
    crossorigin={crossOrigin}
  >
    <source
      src={`${src}.webm`}
      type="video/webm"
    />
    <source
      src={`${src}.mp4`}
      type="video/mp4"
    />
  </video>
)

Video.displayName = 'Video';

export default Video;

{'fraction_non_alphanumeric': 0.14332603938730853, 'fraction_numerical': 0.002188183807439825, 'mean_word_length': 3.0554323725055434, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4978515', 'n_tokens_mistral': 639, 'n_tokens_neox': 628, 'n_words': 116}