* Use InnerTube API to fetch caption tracks as ytplayer method now gives us empty content when fetching from its content url. It also fixes unresponsive content fetching due to callback will never be called when xml parsing failed. * Fix AIChatBrowserTest.YoutubeNavigations * Add ParseYoutubeTranscriptXml util function along with unit tests * Remove AIChatResourceSniffer along with old YT <transcript> xml handling * Add missing PageContentExtractorRenderViewTest * Enforce browser/ai_chat runtime data files deps * Add support for separate components unit test exe * add brave_components_unittests ci feature * Add missing PageContentFetcherTest * URLEncoded InnerTube API key * Make components/ai_chat/core/common/yt_util.h as non-public API * Add validations for YT video id and innertube API key * Disable brave_components_unittests becasuse it failed on Android test runner. We will re-enable it in a seperate PR. --------- Co-authored-by: bridiver <34129+bridiver@users.noreply.github.com>
7 lines
141 B
XML
7 lines
141 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<timedtext format="3">
|
|
<body>
|
|
<p start="0" dur="5.1">Initial content</p>
|
|
</body>
|
|
</timedtext>
|