Stop video from playing on page load?

Options
Carri-Ann.Scott22
Carri-Ann.Scott22 Posts: 10 ASC Beta Tester
I have embedded a video (using the video lecture template in Daylight) but I would like to have the students click to play it using the controls. Right now it plays on page load, which will be a nuisance if they are revisiting the page . I'm sure it must be a simple tweak, but my eyes are getting blurry from the code. Thanks in advance. Code for reference: 

Welcome Video

Tagged:

Answers

  • Jason.Henslee76
    Jason.Henslee76 Posts: 29 ASC Beta Tester
    edited November 2022

    You can't disable auto-play using an iframe.

     

    How did you originally insert the video? If you use "Insert Stuff" it should be working correctly...

     

    You could try manually replacing it with the following:

     

    <video controls>

    <source src="/content/enforced/636147-ECS_1010_01.02_F20/Media/ECS1010%20-%20Intro%20Movie.mp4" type="video/mp4">

    </video>

  • Carri-Ann.Scott22
    Carri-Ann.Scott22 Posts: 10 ASC Beta Tester
    edited November 2022

    Thank you.

     

    I had originally done some cut and paste from another page and it must have caused problems. Back to basics with the "insert stuff" did the trick.