Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Youtube web version navigation

$
0
0

I have a question: Im developing a chrome extension and when retrieve data from youtube api, it looks like

{"channelId": "UCdN4aXTrHAtfgbVG9HjBmxQ","title": {"simpleText": "Key & Peele"    },"navigationEndpoint": {"clickTrackingParams": "CNsDENowGD8iEwi2tNP20IyHAxWfhbkFHfuIDWM=","commandMetadata": {"webCommandMetadata": {"url": "/@KeyAndPeele","webPageType": "WEB_PAGE_TYPE_CHANNEL","rootVe": 3611,"apiUrl": "/youtubei/v1/browse"            }        },"browseEndpoint": {"browseId": "UCdN4aXTrHAtfgbVG9HjBmxQ","canonicalBaseUrl": "/@KeyAndPeele"        }    },... 

how can i use this data for navigating in youtube like they do(without reload the page). I can render the ui with that data but i have no idea how to navigating

window.location made the page reload. I guess I have to use some global youtube property to do so.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>