I would like to insert video instead of an image into a popup. Will it work by simply putting in the URL of the video clip?
Wouldn't the video be extremely small if it were in a popup? Also, I have not heard of this happening before, but that doesn't mean it can't happen. If you put the URL of the video into the popup, it will not automatically display a video.
What Story Map are you using?
I’m using a Series map. Also the video is only a still picture with audio included. The audio is the important part. So I don’t think the small size will mater.
Preservation & Technology
As opposed to having the video in a popup, could you just load the video as one of the tabs?
Or you can also embed the video within the text as well.
On further thought, there are a few examples out there in which people have done this. Take a look at this thread:
Embedding Audio &amp;amp; Video Content - Instructions &amp;amp; Examples
And at this thread:
HTML pop-up define AGOL with Video
I am going through all the links. Some of the thing I found relate to Gis online, and others to editing the code in GitHub (I think).
But thought I would describe my purpose. I have many audio and video clips that describe gathering certain traditional foods, with elders speaking of them. Since audio doesn’t embed, I wanted to create small videos with a still image and sound. I will have a number of them, so thought a popup would work best.
My series map does have tabs, but each tab describes a different aspect of traditional life. The pop-up indicate a traditional food (or other tab topic).
Does this make sense? If not, here is a link. http://arcg.is/1pzILWK
Did some experiments. I made an MP4 with a still image and about 2 minutes of audio. Tried putting the URL where the picture URL goes, but it doesn’t work. I put a link in and it opens in a player window. That’s better than nothing, but it would be great if it just showed in the popup.
You have a very nice map. I really like all of the tabs and how diverse the content is. I can tell that a lot of time was spent on this map.
First question, is your map series map an out-of-the-box template or is it one you got from GitHub and then customized?
Second question, which tab on your map series are you wanting the video popups?
In any case, here is what I suggest. In the web map that you want to have custom popups, go into your configure popup page and look at the custom attribute display (some step-by-step instructions here: Crafting custom attribute displays in pop-ups | ArcGIS Blog )
In the html coding section of it, try typing in this code:
EDIT: I can't make the syntax work right.....
Of course, change the video link to your own video (might need to change video type to webm/ogg/mp4 or whatever too).
<video controls="true" preload="auto" width="200">
<source src="https://www.youtube.com/watch?v=dQw4w9WgXcQ" type="video/mp4">
Thanks for your good comments. Yes, my map is out-of-the-box series map. I’m not ready for Git Hub yet. One of these days.
Right now the video I want is on the Traditional Foods tab. It is the blue-green stick pin. The link to the video is http://www.yan-culture.org/Images/Map/Community/<http://www.yan-culture.org/Images/Map/Community/Max.jpeg>ER-Cherry.mpg
I saw that blog, but when I looked at my web map I did’t see the “configure Popup page.” I will look again.
Judie, those links do not work for me
On the map? Or the video link I sent? Here it is again.
I typed this into the custom config html properties of the popup:
<source src="http://www.yan-culture.org/Images/Map/Community/ER-Cherry.mp4" type="video/mp4">
It mostly worked for me. It will take a little bit of tweaking. It would not work in Firefox but it gave me the audio when I did this in Chrome.
I don’t seem to have that custom config link. See my attachment. Am I in the right spot?
You first need to be able to enable popups. What kind of layer is Traditional Foods? It might need to be a feature service layer.
This article might tell more on what needs to be done in order to enable popups:
Configure pop-ups—ArcGIS Online Help | ArcGIS
(and once they're enabled, then you can configure them).
Hmmm. Its a layer I made from Add>Add Map Notes. Probably not the right kind…? All my layers were made that way. Once again, I don’t seem to have enable pop-ups.
Needless to say, I am a Newbie. That was the only way I could figure out to add a layer. So its not a feature service layer?
Yeah, map notes are virtually push pins on a map that do not allow much functionality. You will need one of the supported layers in order to configure popups.
How to I add that kind of layer?
And before you get sick of me… thanks for all your help. You have been wonderful.
There are several different ways to add layers. See here:
Add layers—ArcGIS Online Help | ArcGIS
Do you have access to ArcGIS Desktop (ArcMap or Pro)? I would publish layers from there (which is what I do). Looking at the popups situation: "You can configure pop-ups in ArcGIS Server service layers, hosted feature layers, hosted tile layers, and layers from files."
So you need some kind of feature layer. Here is an article on publishing a hosted feature layer:
Publish hosted feature layers—ArcGIS Online Help | ArcGIS
If you have found any of the comments helpful, please mark the "Yes" next to helpful in this thread.
Thank you. I fear now I have made some drastic mistakes. Right now I don’t have access to ARC-GIS yet. Our IT people are slow to get me set up. I will do some studying and see where I land.
Maybe you could make a CSV file if you know the lat/long of the locations. Then that could potentially be your file-loaded layer. It would be worth trying a few locations out on to see if the popups work.
Hmmm. You have given me lots of food for thought. It appears I have gotten a wrong start. In the beginning of the map, adding a Map Notes layer was the only way I could figure how to do it. I think I asked support at the time, or maybe saw the layers file you sent. So thought I was on the right track.
I considered making a CSV in the beginning, but realized I would never have all my translations. I need(ed) to be adding points all the time, not all at once.
So all this bring up many more questions…
Can I convert my Map Notes layers to feature layers? That would be the easiest.
Can I copy my points and place them on a new layer? How can I get a new layer without Arc-Gis?
Can I add a CSV file with only a few points and add others later?
I am thinking I had better fix this problem now when I have only a few hundred points… instead of later when I have thousands. Or just leave it as Map Notes…?
I don't think it's too late to make your data go a different direction. We all have these hurdles that we go through and much of the time learn things the hard way (unfortunately).
I would advise not using Map Notes for permanent fixtures. I do not know of a way to convert them to a feature service.
I would suggest starting a CSV with all the pertinent information on it (especially location). This way it's useable in AGOL and will be useable in ArcGIS Desktop later as well.
Start with one, for now, and add to it as time allows. It will be a time consuming process but, like you said, good thing the dataset is "small" now compared to later.
This morning I tried a CSV. I made a small one just to try it out. I must have done something wrong because my points don’t show up. I did go back to an old tutorial to view how the map works with CSV data. But what I see is that I then can no longer add points individually. As I understand it to add new data I would have to reimport the CSV and redo any formatting I did. I also cannot edit the PopUp directly. I might want to add language later when I get it. Also to change symbols.
Another factor… I work at the Culture Center for an Indian tribe. We have elders and youth here doing different activities. It is great to have them use the map, I show them how to explore and to add points. Then we enter the language directly at the time. I also record what they are saying (that’s where my goal of adding video comes in). I am planning on doing this at summer camp for the kids, as well.
Soon confused…. What to do…..
What format is your lat/long in? For ArcGIS Online, it needs to be in the WGS84 coordinate system. You may need to tweak it some for it to come in.
Unfortunately, AGOL does not behave as nicely as Google Earth does in terms of easily adding data to the map. But the difference is the power of GIS and what it can do and how it handles data.
The best situation for you, since it appears you will be continually updating this map, is to have a feature class (likely in the form of a Geodatbase like a File Geodatabase) in ArcGIS Desktop, and then continue to publish from ArcGIS Desktop in order to keep your AGOL map alive and up-to-date. This will give you the functionality that you need and provide the service that you need to provide.
I know you said you do not have this now, but that is really your best bet. I really don't know how trial licenses work when it comes to both desktop and online capabilities, but it may be worth looking into in order to get some data out there?
I am not sure if this is helpful or not but you may be stuck dealing with not being able to add audio to your popups for awhile, until you get more functionality, etc.
Retrieving data ...