Created: Monday 8 July 2024 at 9:00 am
Updated: Monday 8 July 2024 at 9:00 am
A sample file to show how to embed media in CaC.
You can embed YouTube videos and other media in CaC, here is some examples of how it works and how is can be used in CaC.
Images, videos, and gifs shouldn't be added to the Git repo of your course. Adding media files to the repo will result in its size getting exponentially large with every added file and will make contributing difficult.
For now make sure to upload your videos to your favourite hosting service. YouTube is a great platform for videos, and Imgur is great for images. Both support private (unlisted) media where you can only find said media through a provided link.



![alt text][logo]
[logo]: image path or link

while you can't embed YouTube videos (except using an iframe )directly, you can embed a clickable image that will open the video in a new tab:
[](video link)
this is the as clickable images but using the first frame of the video instead of an image:
[](https://www.youtube.com/watch/?v=VIDEO_ID)
[](https://www.youtube.com/watch?v=dQw4w9WgXcQ)
[audio name](audio link)
<audio controls> <source src="audio link" type="audio/mpeg"> </audio>