This guide provides instructions on using the Shoplive Player's Standalone format. If you do not use the structured configuration of the Shoplive Plugin, you can configure the page in the desired form through the Shoplive Player.
Install the Shoplive Player on the web page by setting the location and layout of the Shoplive Player.
Specify the style of the container layout by yourself.
Run a specific campaign by specifying the campaignKey.
You can always run it in full screen by using the isFullScreen option.
Step 1: Initialization
To use the user authentication feature with initialization, refer to the User Authentication.
If you need to define messageCallback for coupon function integration in addition to initialization, please refer to the messageCallback.
To initialize the player without user authentication or messageCallback definition, install the following code in the common layout (such as the head area). This code must be inserted on all pages for the Live Mini Preview feature, which shows live broadcasts in a preview form.
To install the Shoplive Player on a web page, select the campaign to run through setPlayer, and then set the position and layout of the Shoplive Player. Finally, specify the style of the container layout.