# Javascript SDK

The Javascript SDK is the most powerfull Way to integrate nexxPLAY into a Website. Via the SDK, you can control the Player in every possible Way and change its Functionalities, Layout and Options whenever and whereever needed.

If you have a JS SDK Integration already, you might want to add more Functionality with Addons and Widgets.

{% content-ref url="/pages/-M9YN4WmP8mv1eX61-7a" %}
[Addons](/addons.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MC-ctnHffFDHmsQ14GZ" %}
[Widgets](/widgets.md)
{% endcontent-ref %}

Nevertheless, as it requires a lot of Javascript Knowledge, in some Scenarios, it may be more suitable, to use the more easy to handle iFrame Integration.

{% content-ref url="/pages/-M9FdorKLl9r4DQCDKmJ" %}
[iFrame Integration](/iframe-integration.md)
{% endcontent-ref %}

If you need the Player in an AMP Environment, nexxPLAY also comes with a native AMP Plugin, that can be embedded right away.

{% content-ref url="/pages/-M9FeH6afjJulKoh5Zvf" %}
[Google AMP](/platform-plugins/google-amp.md)
{% endcontent-ref %}


---

# 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://play.docs.nexx.cloud/javascript-sdk.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.
