martes, marzo 26, 2019

Embed video stored in Dropbox in another site

EMBED AND STREAM VIDEOS FROM DROPBOX TO YOUR WEBSITE

This video is hosted in my Public folder on Dropbox.  Right click on video stored in your Public Dropbox folder to get the Public link.  Use the html code found below as a template to embed and stream your videos from your Dropbox account.
<video width="640" height="480" controls="controls">
<source src="dropboxvideo.mp4" type="video/mp4" />
</video>
The text in quotes "dropboxvideo.mp4" must be changed to Public link copied from your Public folder.  Change the video width and height number in between the quotes to fit the embedded video into your website or blog post.  The html embed code for the video streaming from my Public Dropbox account can be found under the video.
<video controls="controls" height="480" width="640">
<source src="https://dl.dropboxusercontent.com/u/87532981/Ella%20May%20and%20the%20Wishing%20Stone%20By%20Cary%20Fagan.mp4" type="video/mp4"></source>
</video>


Actually, you can, depending on the platform you're referring to. You'll need to create a share link to the video, then modify the link by changing the ?dl=0 at the end to ?raw=1. That results in a direct link to the file which you can use to embed it on most sites.

Just remember that when embedding a file like that (or really, anytime a file is played directly from Dropbox) there are bandwidth limitations to consider. Depending on the size of the file and your account type, you could easily use up all of alotted bandwidth for your account.