google map travel mode in iframe - google-maps

Its showing all possible mode, I want direction for only flying mode.
(&mode=flying ) not working here, what is the solution?
<iframe width=100% height=100% frameborder="0" style="border:0" src="http://maps.google.com/maps?saddr=Current+Location&daddr=delhi&ie=UTF8&output=embed&mode=flying" allowfullscreen>
</iframe>

replaced src url with : https://www.google.com/maps/embed/v1/directions?key=MY-KEY&origin=Current+Location&destination=delhi&mode=flying
Now its working fine

Related

How to remove google map address box by keeping marker in iframe?

I am using google map iframe embedded at my site and the code is
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1085.7167751755183!2d90.3674116098519!3d23.750896076109!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3755bf51d563ecbb%3A0x1c5247613aecf1e8!2zS2lkcyAmIE1vbXMg4KaV4Ka_4Kah4Ka4IOCmj-CmqOCnjeCmoSDgpq7gpq4!5e0!3m2!1sen!2sbd!4v1493197219814&output=embed&iwloc=near" width="800" height="400" frameborder="0" style="border:0" allowfullscreen></iframe>
I want to remove address box from it and for that I have followed a solution
How to remove box from new Google Maps embeds? rawnewdlz solution. But the solution also removes the marker pointer. I need to keep that.
Please need help!
I have noticed a pattern just a few characters had to be removed.
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2624.9916256937586!2d2.2922926160647448!3d48.858370079287475!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!3m2!1sen!2sin!4v1493209164303" width="600" height="450" frameborder="0" style="border:0" allowfullscreen></iframe>
I have removed the following portion: 1m2!1s0x47e66e2964e34e2d%3A0x8ddca9ee380ef7e0!2sEiffel+Tower!5e0!

How can I add marker to google map embed api?

I try to add google map embed api to my site. That like from documencation, like the following
<iframe
width="600"
height="450"
frameborder="0" style="border:0"
src="https://www.google.com/maps/embed/v1/place?key=API_KEY
&q=Space+Needle,Seattle+WA" allowfullscreen>
</iframe>
But, I don't know how to add marker to embed api. Can someone help me out?
I just had this issue. I tried the "directions" for a set of markers, seems to work. In my case it was an itinerary so it was reasonable.
iframe width="600" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/directions?key=my key here&origin=45.476112,-73.823152&destination=45.800000,-73.823298&mode=walking&waypoints=45.47611153,-73.82315248|45.56712414,-73.82331277|45.6,-73.82318975|45.7,-73.83250646|45.8,-73.82329847&center=45.47611153,-73.82315248&zoom=14" allowfullscreen=""></iframe>
If you happen to know how to get it to go fullscreen, I'd be grateful.

Iframe allowfullscreen not working for dailymotion video

I want to show full screen option in <iframe> for dailymotion video.
I have tried this one
<iframe id="vid_frame" src="http://www.dailymotion.com/embed/video/x2rbh2c" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" oallowfullscreen="true" msallowfullscreen="true" frameborder="0" width="100%" height="260"></iframe>
But fullscreen option is not showing .Same code working for youtube video.
You can also try in online..
The script of dailymotion site is not get access for show full screen.
You can see in JavaScript console.
That works
<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>

html : iframe not showing content in html

I want to show a youtube video in html 4. For that, I am using iframe. But the content of iframe is not showing.
<iframe frameborder="1" width="420" height="345" src="https://www.youtube.com/watch?v=C8kSrkz8Hz8"></iframe>
FYI: I am using Firefox 29.0 and Chrome 35.0. Both browsers are showing the same result.
Change your src with //www.youtube.com/embed/C8kSrkz8Hz8
your code shoud look like this
<iframe frameborder="1" width="420" height="345" src="//www.youtube.com/embed/C8kSrkz8Hz8"></iframe>
Find code under each video on youtoube at Share menu.
When you try to put the whole YouTube page into an iframe, it sends a HTTP header called X-Frame-Options with the SAMEORIGIN value, which tells the browser, that the page can only be displayed in a frame on the same origin as the page itself.
You should use the provided embed code (you can find it below every YouTube video), which is also an iframe, but with a different URL. It will only show the player.
In this case, the embed code would be:
<iframe width="560" height="315" src="//www.youtube.com/embed/C8kSrkz8Hz8" frameborder="0" allowfullscreen></iframe>
replace you Iframe with this one. this works for you.
<iframe width="640" height="390" src="//www.youtube.com/embed/C8kSrkz8Hz8" frameborder="0" allowfullscreen></iframe>
missing attributes are: frameborder="0", allowfullscreen
You should change the youtube URL to remove the "s" so it looks like this:
<iframe width="420" height="345" src="//www.youtube.com/embed/C8kSrkz8Hz8" frameborder="1" allowfullscreen></iframe>
You should also be able to embed a youtube video from the page. Please see the screenshot attached:
I tried it this way and worked for me. Changing your src="https://www.youtube.com/embed/C8kSrkz8Hz8"
following the other parameters.

Embeded video into my website

Is there any way to embed video from this site? http://azdrama.net/watch-online-divas-in-distress-episode-01-21600.html
I tried to copy the link in view source mode, but the video address will be change after some period of time.
Appreciated if anyone could help.
<iframe frameborder="0" marginwidth="0" marginheight="0" scrolling="no" width="665" height="460" src="http://azdrama.net/getvideo/embed.php?id=MTU2LDIxOCwyMTgsMjEzLDE2MywxNTYsOTksMTAwLDE2MiwxNTksMTU0LDE5OSwyMTcsMTQ4LDE2NywxNTIsMTUxLDE0NiwyMDEsMTYwLDE1OSwyMDIsMTU4LDE0OSw5OSwxOTYsMjEyLDE2MCw5NywxNjQsMTU0LDk3LDE2NCwyMDYsMjEzLDIxNywxNTksMTQ1LDE0OSwxMDQsMTQ5LDE1NywxMzgsMjA4LDE4MywxMTgsMTE5LDExOCwxNjUsMjA1LDE2NSwxNzEsMTQ1LDE1MSwxMzIsOTcsMTIzLDE0NiwyMTQsMTA2LDEwNCwxMzMsMTIxLDExOCwxMjcsMTc1LDIyNCwxNTEsMTY3LDIwMywxMzksMTY4LDE2NiwxNDMsMTA5LDIwMCwyMjMsMTQwLDE2OSwxMDQsMTAxLDE2MywyMDAsMTUwLDE0NSwyMTUsMTExLDE0OCwxNTgsMjExLDIwMiwxNTAsMTY2LDE2NCwxNTUsMTYwLDE1OQ==&w=665&h=435"></iframe>​