AnsweredAssumed Answered

YouTube videos in HTML files using iFrames not working

Question asked by brian.t.anders@mcpsmd.net on Jul 27, 2017
Latest reply on Jul 27, 2017 by Ken Black

I am using iFrames to display .html files that I have created in Dreamweaver. When I open the .html file in Dreamweaver, I see my YouTube video and I can play it perfectly fine. When I upload the .html file to my Canvas files, and use iFrames to reference the file, it shows all of the content in my .html file except the YouTube video.

 

Any suggestions?

 

The HTML code containing the YouTube video is below.

 

<div align="center"><strong>Can Launching Refrigerator:</strong> <br />
<iframe title="YouTube video player" class="youtube-player" type="text/html"
width="540" height="390" src="http://www.youtube.com/embed/dAMsvrz5xdc"
frameborder="0" allowFullScreen></iframe>
</span></div>

Outcomes