Using street map and street view side by side in a xaringan slide

I came across this example from Google that shows how we can place a street map and a street view in a side-by-side fashion. But I don't know how I can create such a view in a xaringan slide.

I tried copying the code under "All" tab, saved the contents as an html file, and later imported that file in the xaringan slide. But this approach doesn't seem to work. Can somebody point me in the right direction?