Youtube or Vimeo video as slide

To place a video from Youtube or Vimeo on an slide I need to place the "Video embed src" on a box. But It does not work. I tried to copy/paste the iframe codes and also the pages address but none of them worked for me. How can I do that?