cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
BiOsLaSh
Community Member

Simple Video Banner?

Jump to solution

I want to add simple video banners to several courses to liven up the pages. I'm trying to use the following HTML:

<video autoplay loop muted width="100%" height="auto"
src="https://www.launch2success.com/wp-content/uploads/2020/07/Girl-Opening-Tent.m4v"></video>

However, when I add that to a page Canvas strips out "autoplay", "loop", and adds "controls". Thereby turning the banner into a regular video. I want it to autoplay, be muted, loop, and hide video controls. I can't just embed the video from another service (e.g. YouTube, Vimeo, etc.) because I can't hide the controls and autoplay usually doesn't work. Any ideas? Why can't I just put the HTML I want in and have Canvas leave it alone. When I put this code in a normal HTML page it works just perfectly. Thanks!

0 Kudos
1 Solution

Accepted Solutions
chofer
Community Coach
Community Coach

Hello there, @BiOsLaSh ...

Unfortunately, not all HTML elements are allowed in the Rich Content Editor (RCE) of Canvas.  This Guide, How do I use the HTML view in the Rich Content Editor as an instructor?, includes a PDF detailing the HTML Allowlist for elements that are acceptable within Canvas course content.  (See the blue box at the top of that Guide.)

Sorry that I don't have better news for you, but I hope this has helped to answer your question.

View solution in original post

2 Replies
chofer
Community Coach
Community Coach

Hello there, @BiOsLaSh ...

Unfortunately, not all HTML elements are allowed in the Rich Content Editor (RCE) of Canvas.  This Guide, How do I use the HTML view in the Rich Content Editor as an instructor?, includes a PDF detailing the HTML Allowlist for elements that are acceptable within Canvas course content.  (See the blue box at the top of that Guide.)

Sorry that I don't have better news for you, but I hope this has helped to answer your question.

View solution in original post

traciebosket
Community Champion

Hi @BiOsLaSh 

Does your videos need audio, or are they just visual? The closest thing that I have figured out is an illusion of loops. I creating a long loop on Camtasia, produced it as a gif, then uploaded it as an image to the RCE.

My loops are 15 seconds each, I believe I created 15 loops for the banner.

 

The banner looks like this...

 

Escape Rooms the Cavern no strobe lights gif screenshot.png