# Architecture

The below diagram represents the PDF player components.

<figure><img src="https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FHbGSgZ07rkrHCvLl2lZu%2FPDF%20Player.png?alt=media&#x26;token=22d88f27-cd27-40f2-b6cd-ec3a7f332afe" alt=""><figcaption><p>PDF Player</p></figcaption></figure>

### Flow-diagram&#x20;

![](https://1767651289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaanfWbeVT74C5lXDPde3%2Fuploads%2FUgPOfJZ3BOd76Xa0Lts8%2FcontentPlayerV2Pdf.png?alt=media\&token=ca8c8d13-6a4c-4ea3-9032-5b9a77d97e5c)

##

**Common Service Lib:**\
This is used for generating the telemetry from the player as a utility dependency library.

**Sunbird Player SDK:**

SDK contains common components used by all the V2 players to make it consistent and reusable across players, It contains Start, End Page components along with Navigation and Side menu components

**PDF JS:**

PDF Js library is used for rendering the pdf content and it will also provide options to implement zoom, rotate, and navigation features. Refer [here](https://github.com/mozilla/pdf.js) for more details


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowlg.sunbird.org/learn/product-and-developer-guide/player/v2/pdf-player/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
