15 Replies Latest reply on Oct 17, 2018 8:03 AM by benj76550280

    Embed YouTube Video

    garcia_britt Level 1

      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!