# EmbeddedVideoInput

Source: https://swapcard.dev/organizer/content-api/graphql-event-api-schema/inputs/embedded-video-input


const [open, setOpen] = useState(startOpen);
  return (
    <details {...(open ? { open: true } : {})} className="details" style={{ border:'none', boxShadow:'none', background:'var(--ifm-background-color)' }}>
      <summary
        onClick={(e) => {
          e.preventDefault();
          setOpen((open) => !open);
        }}
        style={{ listStyle:'none' }}
      >
      {open ? dataOpen : dataClose}
      </summary>
      {open && children}
    </details>
  );
};

If more than one field is provided, an error will be returned.

```graphql
input EmbeddedVideoInput {
  youtube: YoutubeEmbeddedVideoInput
  vimeo: VimeoEmbeddedVideoInput
  iframe: IframeEmbeddedVideoInput
  uploadedVideo: UploadedFileEmbeddedVideoInput
  rtmp: RTMPLiveStreamVideoInput
}
```

### Fields

#### [<code style={{ fontWeight: 'normal' }}>EmbeddedVideoInput.<b>youtube</b></code>](#)<Bullet />[`YoutubeEmbeddedVideoInput`](/organizer/content-api/graphql-event-api-schema/inputs/youtube-embedded-video-input) <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>EmbeddedVideoInput.<b>vimeo</b></code>](#)<Bullet />[`VimeoEmbeddedVideoInput`](/organizer/content-api/graphql-event-api-schema/inputs/vimeo-embedded-video-input) <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>EmbeddedVideoInput.<b>iframe</b></code>](#)<Bullet />[`IframeEmbeddedVideoInput`](/organizer/content-api/graphql-event-api-schema/inputs/iframe-embedded-video-input) <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>EmbeddedVideoInput.<b>uploadedVideo</b></code>](#)<Bullet />[`UploadedFileEmbeddedVideoInput`](/organizer/content-api/graphql-event-api-schema/inputs/uploaded-file-embedded-video-input) <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

#### [<code style={{ fontWeight: 'normal' }}>EmbeddedVideoInput.<b>rtmp</b></code>](#)<Bullet />[`RTMPLiveStreamVideoInput`](/organizer/content-api/graphql-event-api-schema/types/inputs/rtmplive-stream-video-input) <Badge class="badge badge--secondary" text="input"/> 
> 
> 
> 
> 

### Member Of

[`BannerInput`](/organizer/content-api/graphql-event-api-schema/inputs/banner-input)  <Badge class="badge badge--secondary" text="input"/><Bullet />[`OnDemandComponentInput`](/organizer/content-api/graphql-event-api-schema/inputs/on-demand-component-input)  <Badge class="badge badge--secondary" text="input"/><Bullet />[`PreRecordedComponentInput`](/organizer/content-api/graphql-event-api-schema/inputs/pre-recorded-component-input)  <Badge class="badge badge--secondary" text="input"/>
