14 Replies Latest reply on Oct 18, 2017 10:37 AM by resdesign

    Embed YouTube Video


      I am trying to embed a youtube video, but am having issues with getting the video to show up. One of my professors showed us how to do it and it looked something like this:

      var videoholder = sym.$("video");

      var sym.$('video') = story.html;

      story.html('<iframe width="560" height="315" src="https://www.youtube.com/embed/uFnGwI3ZoIM" frameborder="0" allowfullscreen></iframe>');


      I know that the second line is wrong, but I cannot remember what it is suppose to be. Also, I know she mentioned changing the width and height so its easier to readjust the size.

      Does anyone know what this should like look?


      Thanks in advance!