Custom code works on all paid plans (except for the archived Creator plan). With a Free plan, you can see working code in Preview mode but not in a published project.
We recommend enlisting a professional web developer to work with Code Injection—Readymag support won’t be able to assist with custom code issues.
To embed a video from Dropbox on your Readymag website, please follow these steps.
- Open your Dropbox and find the sharing link for the video you’d like to use. Your sharing link should look something like this:
https://www.dropbox.com/s/eld898yj9625tlq/Medium%204%20Hiding%20in%20editor.mp4?dl=0
- Replace `dl=0` with `raw=1`:
https://www.dropbox.com/s/eld898yj9625tlq/Medium%204%20Hiding%20in%20editor.mp4?raw=1
- Replace the link in the code below with your intended link, then copy the code and paste it into the Code widget.
<video width='100%' autoplay='true' playsinline='' loop='true' muted='true'> <source src='https://www.dropbox.com/s/eld898yj9625tlq/Medium%204%20Hiding%20in%20editor.mp4?raw=1' type='video/mp4'> </video>
A video embedded with this code will fill the entire widget container. It will also be auto-played, muted, and looped. You can alter the following HTML attributes depending on the desired effect: video_width
, autoplay
, muted
, video_poster
, etc.
Learn more about HTML videos in MDN Web Docs.