Technical Specifications

The main function of Nap browser is to present the web resources the client chooses, by requesting them from a server and displaying them in the browser window. The resources supported by Nap are av-ml documents.

The location of the resource is specified by the user using a URI (Uniform Resource Identifier).

The way the browser interprets and displays av-ml files is specified in the av-ml specifications.

Encoding

The av-ml documents MUST be encoded using JSON-ST.

Search

Nap supports OpenSearch protocol to perform search queries. The search engine configuration is discoverd using WebFinger protocol.

In addition to the global search engine Nap provides a site specific search engine(if it's available) on the same web address. This allows the client to perform in-site queries provided by the internal search engine of that specific site.

Headers

Nap supports Web Linking to allow efficient navigation and an enriched user interface:

  • next

    Link: <https://example.com/search?page=2>; rel="next"
  • https://av-ml.org/#Distribution - Nap player enforces the distribution policy provided by the distribution link/document

    Link: <https://example.com/movieID=123/distribution>; rel="https://av-ml.org/#Distribution"

Authentication

Nap supports OpenID Connect. The client may authenticate with its email/service provider. If the service provider of the client is not supporting OpenID Connect, Nap requires the client to register a new account with nap.tv service. Nap authentication Service then generates a scoped JSON WEB TOKEN which is then passed to websites that require authentication.

Technology

Nap supports all common resolutions such SD, HD, 4K, 8K along with HDR and all the common a/v codecs.

Digital Rights Management (DRM)

Nap supports Widevine DRM