content: import React from 'react'
  import { webcastPropType } from '../../utils/webcastUtils'
  
  const EmbedDacast = (props) => {
    const channel = props.webcast.channel
    const file = props.webcast.file
    const iframeSrc = `https://static.viewer.dacast.com/b/${channel}/c/${file}`
    return (
      <iframe
        src={iframeSrc}
        width="100%"
        height="100%"
        frameBorder="0"
        scrolling="no"
      />
    )
  }
  
  EmbedDacast.propTypes = {
    webcast: webcastPropType.isRequired,
  }
  
  export default EmbedDacast
  