A new video player has been implemented on the site,featuring a specific UFC fight clip. The player is configured to utilize a custom ad server URL, which is dynamically constructed based on user consent and stored data. If user consent for targeting is present, the system retrieves a “theRED_loc” value from local storage, which is then used to populate “dufiid” and “ppid” parameters in the querystring.Additionally, if consent is granted, a “DUFI_IP” value from session storage is also incorporated into the querystring as “dufiip”. The ad server URL is then updated by replacing a placeholder with the constructed parameters, including the “ppid” and the encoded querystring.
The player itself is initialized with several parameters, including account and player IDs specific to the platform, a video ID, and a continuous play setting. It also includes a thumbnail image and a direct URL to the video content. The script for the player is loaded from a content delivery network, with the protocol dynamically adjusted based on the current page’s protocol to ensure secure loading.