Forum Discussion

Kgarrison's avatar
6 years ago

iframe a youtube video in a custom component

I want to include a few videos on our community home page. I tried creating a custom component and adding youtube embed code which is iframe into the component but I get an error when trying to save. 

Can someone point me in the right direction.

thanks,

Kurt

  • Kgarrison

    Are you getting an error related to the missing value? If yes, it seems you are not passing the iframe value like this https://prnt.sc/l83b29

    It would be easy to get out of this issue if you can share the code. 

  • Kgarrison

    Are you getting an error related to the missing value? If yes, it seems you are not passing the iframe value like this https://prnt.sc/l83b29

    It would be easy to get out of this issue if you can share the code. 

    • Kgarrison's avatar
      Kgarrison
      Guide

      thank you VikasB! I wasn't aware that a value needed to be passed to the iframe. I simply put a   inside and got passed the error.

      appreciate the help!

      Kurt