In complex network environments, the default ApsaraVideo VOD domain name (*.aliyuncs.com) may be hijacked by carriers, which can cause access failures. You can deploy a dedicated proxy service to improve the request success rate and stability.
Before you begin
This topic uses Alibaba Cloud Function Compute (FC) 3.0 as an example. Before you begin, learn about Function Compute billing.
Steps
The deployment steps are as follows:
If your FC console appears as shown in the following figure, click Experience Function Compute 3.0 in the upper-right corner to switch to the new console.

Step 1: Create a function
Go to the Functions page in the FC console and click Create Function.

Select Task Function and click Create Task Function.
For Runtime Environment, select Built-in Runtimes > Python.
Keep the default values for other parameters or change them as needed.

Verify that the configurations are correct, and then click Create.
Step 2: Deploy the code
On the Function Details page, click the Code tab.

Click the Open WebIDE button to open the code editor.

Copy the following code into the editor.
Return to the Function Details page and click Deploy Code.
Step 3: Create a trigger
On the Function Details page, click the Triggers tab.

Click Create Trigger and select HTTP Trigger. Set Authentication Method to No Authentication. Keep the default values for other parameters or change them as needed.

Verify that the configuration is correct, and then click OK.
Step 4: Verify the deployment
In your player, set the customVodServer property to the generated domain name (public access address). Then, test the connection by accessing the proxy service.

A successful connection indicates that the request proxy is deployed successfully.
References
For more information about web player SDK integration, see Quick Integration.
For more information about how to use the customVodServer property, see Aliplayer API Reference.