For video, YouTube video, audio, or animation, Author-it uses a file object to embed a piece of HTML code that links to the video, audio, or animation file(s).
The HTML file created here is for a video file. This same method applies to audio and animation.
-
To create the HTML file:
-
Create a new text file in Notepad.
-
Copy or type the following lines into Notepad:
<body>
<video src="Adding_Videos.mp4"></video>
</body>
-
Replace "Adding_Videos.mp4" with the file name of your video file.
-
Save the file.
-
Change the extension of the file from txt to html.
-
Copy the HTML file and the applicable video/audio/animation files to the external resources folder that is used for video, audio, or animation content.
For embedded YouTube/Vimeo videos, iframe controls are required in the HTML, so it should look like this:
<body>
<iframe height="360" src="https://www.youtube.com/embed/kCzLkS89gc8" </iframe>
</body>
The width of the iframe is automatically set to the maximum available width.