Trouble Embedding Google Street View
I am trying to embed a google street view scene in a blog post. It worked on first try, then we I edited the post it didn’t. I have cut and pasted the HTML from the google map page. Any help is appreciated.
The blog I need help with is williamsburgsrealestate.com.
Please paste the code here between backticks, so we can look at it line by line.
<iframe width=”700″ height=”394″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps/sv?cbp=12,297.27605397944484,,0,5&cbll=37.309829,-76.767735&v=1&panoid=&gl=&hl=en”></iframe>
<small>View Larger Map</small>
That cannot be used here, sorry. iframes are not allowed.
Thanks, odd that it seemed to work at first.
What is the difference in that and a regular google map which I can embed ?
code for reg map:
<iframe width=”425″ height=”350″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=114418637777095827713.0004648416bea7a659101&s=AARTsJolcb1PjEqrB9Ox00wRGZ8A39m18w&ll=37.315965,-76.751818&spn=0.095566,0.145912&z=12&output=embed”></iframe>
<small>View Larger Map</small>
Google maps are whitelisted, much as YouTube videos are:
@mrwilliamsburg: If the Support instructions won’t work, just copy the URL of the map (the “src” part of the code you pasted) and use it with the googlemap shortcode in the html post editor. That would be:
This is odd:
Google gives you an option to customize the maps.
If you customize In street view and copy that code, wordpress does not accept the map.
If you customize in map view, wordpress does accept and embed the map.
Interesting, I wonder if staff would fix that.
Ok, so I’m not as dumb as I thought ? How does staff look into issues such as this ? Will they read the forum or do I submit the issue somewhere else ?
ok. I contacted support. It is odd, but did you try it? May be I just did something dumb?
No, I have tried it multiple times it doesnt work…Thanks
Did you paste the code for the street view/customize Google maps?
For some reason, my test blog is public so you can see:
a street view in the area where I work
the code I copied from the customize option at Google (unsuccessful)
your code pasted in (successful)
etc. from maps of my own, medium and small, street views and maps.
I just tried again unsuccessfully . Maps are no problem. It is just the street view I am having the problem with.
If it works when you paste it in the HTML editor, but messes up when you go back and try to edit it, then the solution (sadly) is to never, ever edit the post again. I’ve seen a couple of codes that work this way.
No, sorry to disagree. Yes, I’ve seen code that works only if one stays in HTML forever, but I’ve switched back and forth between visual and HTML, changed themes, and it still applies. In fact with the code panaghiotisadam wrote, I’ve even pasted in in either visual or HTML.
Yes, but I mean the street view. The OP said it worked until he edited it.
The topic ‘Trouble Embedding Google Street View’ is closed to new replies.