Articles on: Sales Pages
This article is also available in:

How can I use performance code?

How to Use the Performance Code


The performance code available in the Panda Video Dashboard helps improve the player’s loading speed, providing a smoother viewing experience.


If you want to enhance the response time of your videos for viewers, this feature can be a great ally.


What does the performance code do?


The performance code preloads segments of the video, which significantly speeds up the player’s start time. This results in:


  • Less waiting time for viewers;
  • A smoother viewing experience;
  • A more efficient player.


It’s worth noting that by using this code, the number of browser requests increases, which can affect metrics in site performance tests such as PageSpeed or Lighthouse. These tests usually evaluate only the page loading speed, without considering the improved video experience.


Does this improve site speed?


Not necessarily.


Although the player becomes faster, the overall page loading time may not show improvements in traditional performance metrics, since video preloading generates more requests.


These tests evaluate superficial aspects of page loading and may display a lower score, even with the player’s performance benefit.


Therefore, the performance code is focused exclusively on improving player performance.


How to apply the performance code


Follow the steps below to correctly apply the code to your website:


  1. Access your Panda Video Dashboard.


  1. Copy the available performance code.


  1. Paste the code between your site’s head tags:


<head>
<!-- Other elements of your website -->

<!-- Panda Video performance code -->
<script src="https://..."></script>

</head>


The performance code is the same for all videos.


Adding the code inside the <head> ensures it loads correctly before the player is rendered. Avoid inserting it in other parts of the page, such as the <body> or asynchronously.



Got any questions?


Reach out to our support team via chat, and our team will do their best to resolve any questions you have.


Not using Panda Video yet? Visit our pricing page and choose the plan that’s right for your business.

Updated on: 07/27/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!