I am looking to embed a youtube video in Survey123. I want someone to be able to see the video and hit play after reading a question. Is there a way to embed a video in survey123 like this?
Unfortunately, videos cannot be displayed in surveys.
From documentation "Media other than images and audio cannot be displayed in your survey."
You might be able to insert a video HTML element in a Note question that would function while in a the web browser per this post: https://community.esri.com/t5/arcgis-survey123-questions/embed-video-in-survey123/m-p/1056427/thread-id/34492#M34495
You could add a note with a hyperlink to your video, either in the web design tool or in connect add a note with something like <a href="https://www.youtube.com/">Help with submission</a>
I don't believe you can embed a video currently in survey123 but it's a great idea
Actually..., you can add a video to the web app, but not to the device app.
As noted in the other replies, using the 'note' question, you can add the <video> tag, in either the label or hint. Note that by excluding the width and height attributes of the video, it will automatically fit to the width of the survey.
Check it out here...
<video controls> <source src="https://www.appsloveworld.com/wp-content/uploads/2018/10/640.mp4"" type=""video/mp4"> Your browser does not support the video tag. </video>
AbeCoughlin,
I tried to check out your example of in your Survey that said "Check it out here..." from above and it say's it does not exist or is not accessible:
Was this survey deleted? If not, can you share it publicly so that I can see the <video> tag example.
Thanks,
Greg
@GregHeintz1
My apologies - cleanups are necessary..., but sometimes they go awry.
I've updated the link in the post but FYI the URL is https://arcg.is/1byD5W0.
I've also uploaded the spreadsheet.
Abe.
Thanks! Much appreciated.
Hello - I have a weird instance where I have used the video tag and it works for some URLs and not for others. For instance, anything using YouTube or Vimeo does not show in the survey but another video hosting service does.
Not working, as in the video is "shown" in the survey but the play option is not functional:<video controls width="100%"> <source src="https://youtu.be/_t9dEz5e6YM"> </video>
Working:<video controls width="100%"> <source src="https://links.imagerelay.com/cdn/4720/ql/4c017a58079c42578e95716f8c65d74a/2025-Section-1-Video.mp4"> </video>
Are YouTube and Vimeo URLs not compatible with the video tag?
@Ruth_JiatengXu
@DougBrowning
@ZacharySutherby
@Neal_t_k
For youtube you would have to use iframe and Survey123 doesn't currently support that tag.
Style a survey—ArcGIS Survey123 | Documentation
My understanding is that a youtube link is not a link to a video but more like a website that detects some browser capabilities and plays a version of the video that works best for your machine. They also don't expose the actual video link. I believe that is why an iframe is necessary as it is more like embedding a webpage whereas a video link that ends in .mp4 or something can use the <video> tag. I am sure you could find more technical information if you want, But it is basically youtube not allowing their content to be embedded through the video tag.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.