JavaScript for front-end.
Building an IS using Web Services and APIs NOTE: this is the whole project description , the purpose of this is to just create the front end for this project We need to use HTML, CSS, JavaScript for front-end and back-end application development (use PHP, Java). the front-end (JavaScript) and back-end code consume some web services (REST), namely YouTube WS and Google Maps JavaScript WS to implement a video search applications as explained below: A user will be able to type a search term (a single keyword or phrase such as a person’s first and last names), a street address including a city, a state and an optional zip code, and radius in km. the application will need find “keyword” videos in a geographic area centered in longitude, and latitude with given radius. For example: >>> Find “cat” videos at “1600 Amphitheatre Parkway, Mountain View, CA”, radius 25 km. The steps in the application are illustrated below: 1. YouTube WS: input: keyword, longitude, latitude, radius; output: title, video id, longitude, latitude | | / 2. Google Maps JavaScript WS: input: title, video id, longitude, latitude; output: a map with video markers use xml to pass data around. Limit the search to top 10 videos if there are more than 10 videos in the search result. The markers can be default Google Maps markers, and use video snapshots as markers When a user hovers his mouse pointer over a marker its title will be displayed. When a user clicks on a marker video will be played using YouTube application. Google Maps JavaScript API Request: load the Google Maps JavaScript API into web page, and write JavaScript that uses the API to add a map with a marker on it. https://developers.google.com/maps/documentation/javascript/adding-a-google-map YouTube WS: Search by location and keyword https://developers.google.com/youtube/v3 use API’s search.list method with the type, q, location and locationRadius parameters to retrieve search results matching the provided keyword within the radius centered at a particular location. Using the video IDs from the search result, call the API’s videos.list method to retrieve location details of each video. Video IDs can be used to get full URLs for each video.