Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
yarkinzhan
3 years agoExplorer | Level 4
Embed video code. video not playing on iPhone (Safari, Chrome)
Hi, Dropboxcommunity!
I have the following problem:
I embed the code on the website to play the video:
<video width='100%' autoplay='true' playsinline='' loop='true' muted='true\'>
<source src='https://www.dropbox.com/s/0acg085wlvdpfti/spaten_identity.mp4?raw=1' type='video/mp4'> </video>
1. Everything works fine on desktop
2. On mobile devices on Android, it is also ok
3. On the iPhone, it does not play (chrome / safari)
Has anyone been in a similar situation?
Thanks in advance 🙏
13 Replies
Replies have been turned off for this discussion
- Walter3 years ago
Dropbox Community Moderator
Hey yarkinzhan - sorry for the nudge here, but did tparaizo's suggestion work out for you?
- Dan T.202 years agoExplorer | Level 4
For anyone else having this issue, I have found a solution that works for me. The problem seems to be IOS wants to play videos full screen by default. Adding the "playsinline" command forces it to stay small.
In my case, I wanted a video that autoplays and loops without controls, but you can adjust your commands to suit (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video).
<video webkit-playsinline playsinline width="100%" height="auto" muted autoplay loop>
<source src="INSERT YOUR DROPBOX LINK HERE (see below)">
</video>The native dropbox link should be modified in the following way:
1. www.dropbox.com replaced with dl.dropboxusercontent.com
2. &dl=0 replaced with &dl=1 or &raw=1 (both seem to work)
- Arismendy lorenzo2 years agoNew member | Level 2Hola buenos días bueno no sé cómo agradecer primeramente a dios y. Lugo a estas aplicacion pone. Me es sacado de un fuerte apuro
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!