Youtube video updated date - json

In the version 2 of the youtube api, there was an updated tag that would give me the time the video was last updated. In version3 of the api I can't find the tag that represent this value. Is it possible that they removed it?

There is not an equivalent field in V3 yet, but it could be implemented in future.

Related

Get YouTube channel ID in chrome extension

I want to make a chrome extension for YouTube. I need to obtain a user's YouTube channel id, if it exists. How to do that?
I tried to obtain google account id, but it does not look like YouTube channel ID.
chrome.identity.getProfileUserInfo(function(userInfo)
{
console.log(userInfo.id);
});
After it is executed, I get 10053**7950021, but my YouTube channel has UCMEh1bYibhq7tCRRm6cA2dw, as I get from the link. Either they use a very weird base to transform that base-10 number into UC..., or google account is not the same as YouTube channel. Could you help please?
Well there is help on this at https://developers.google.com/youtube/v3/guides/working_with_channel_ids
It tells you how to work with YouTube channel ids.
There is more info on it here, here, here, and here.

Google maps set heading not working and map remains on heading to north

I am trying to do: map.setHeading(180) but this doesn't work and map remains heading to north. Everything else is working - I am using the very basic template of Gmaps from their docs, zoomings, pannings, markers and other things work as excepted, but the heading not. What am I missing in here?
For example, I got the position and heading from the GPS and I move the marker using marker.setPosition(position) which also works as excepted.
Tilt and rotation are now supported programmatically and by user input when using WebGL rendering. Please see https://developers.google.com/maps/documentation/javascript/webgl/tilt-rotation for documentation and examples.
Try beta version of JavaScript API. add v=beta in url.
The reason for this is that you can use setHeading if your map is displaying 45 degrees imagery as stated on the documentation.
It looks like your use case is the same as this existing Feature Request which is requesting for a feature to change the orientation of the map. You can star the issue to receive updates regarding the issue. You can also leave a comment on the issue regarding your use case.

Sending route to Google Map via q attribute

I have a link that opens Google Map with the q attribute like this example
https://maps.google.com/maps?q=a+to:+b+to:+c
The problem is that it doesn't work when people have accepted the newest version of Google Map, but it works with the old one.
Is there a way to force a version or a work around so that it works with both versions?
I just tried to make some directions up, and it seems like the format now is https://www.google.com/maps/dir/a/b/c

popcorn.js googlemaps

Is there a secret to getting the googlemaps plugin to work with popcorn.js. I can get footnotes, normal video, youtube etc. to work but not the googlemaps stuff. Is there some other configuration or extra scripts required? I have looked at the videos on the popcorn.js site and cannot even get their googlemaps example to work. I cannot find any reference in their api documentation to any additonal scripts required.
The solution was rather easy - I needed to set a width and height for the div I was using to display the map.

Google-Maps and Play framework

The user should enter a valid adress and click ok. Then a Google-Map should be shown. Then the user shoult simply say ok(if the wright place is shown in the map) or he should be able to change the adress (if the wrong place is shown in the map), by entering a new adress or by moving the pin on the map.
Is this possible with play framework?
And how can i get the gps-coordinates of the selected point?
Kind regards, joe
This can be done entirely client side using JavaScript and the GoogleMaps API, so you could build this in pure HTML if you wanted to! So, yes Play can easily support this.
Yes, this is possible given that the Google Maps API let's you do it. This is not something limited by Play, which in itself it only helps you create websites, but by the Maps API and what you can do with it.
In other words, you could do this with Play, Lift, Struts, Ruby or your own framework.
I just wrote this article/application using Scala, Play Framework and Google Maps--it might help you!
http://geeks.aretotally.in/location-based-play-framework-scala-google-maps-clustering-postgresql-and-anorm-appli