1. add js to application.html.erb,2. create a function that executes each time a search event is triggered, 3. place in youtube api code that links search keyword with http request 4. add  encodeURIComponent() function, 5. store youtube api data in a variable and parse through data for vid id, vid title and vid view counter, 6. add code to embed iframe on page, 7. return result and store id title in div and view count in another div.