In-Page Configuration ===================== Introduction to In-Page Configuration ------------------------------------- The easiest way to get started is by using Connector Admin Interface. See chapter :doc:`../connector_admin_interface` for more details. In-Page Configuration offers a more fine-grained control and additional features. It can be used in combination with Connector Admin Interface to fit the specific needs of your integration. See the :ref:`configuartion_feature_matrix` for an overview of the features each way of configuration offers. .. note:: To be able to use all In-page Configuration Properties, make sure to use the latest Connector Script release (see :ref:`urls_of_connector_script`). While most In-Page Configuration Properties can be used to configure both forms of Connector Script, the syntax differs between :ref:`connector_script_classic` and :ref:`connector_script_for_video_players`. In-Page Configuration Syntax Of Connector Script Classic -------------------------------------------------------- When using Connector Script Classic, In-Page Configuration Properties can be defined in two ways: - by adding JSON inside a `` In the example above, note that: * The `` In the example above, note that: * All ```` elements which define In-Page Configuration Properties are placed *before* the `` .. group-tab:: To define multi-value properties with ```` elements, simply add more ```` elements with the same key. .. code-block:: html This is a Connector enabled article with In-Page Configuration .. _inpage_config_syntax_video: In-Page Configuration Syntax Of Connector Script For Video Players ------------------------------------------------------------------ When using Connector Script For Video Players, In-Page Configuration Properties are defined directly in the player configuration in the namespace ``laterpayConnector``. .. note:: When using Connector Script For Video Players, the names of In-Page Configuration Properties are written in ``camelCase``. Examples ~~~~~~~~ **Basic In-Page Configuration Example** The following example shows the HTML source code of a minimalistic page that integrates JW Player and Connector Script For Video and defines two In-Page Configuration Properties: .. code-block:: html This is a Connector enabled video page
In the example above, note that: * The ``
In-Page Configuration Properties -------------------------------- Here you can read more about all available In-Page Configuration Properties: .. toctree:: :maxdepth: 2 :glob: article_id callbacks appearance/index translations jwt_dynamic_paid_content_api config_token hide-single-purchase timepasses-only initialize_google_analytics video