Install the video agent by including a JavaScript code snippet in your application.
Before you begin
Complete the common installation steps first.
Place JavaScript snippet in frontend code
Name your application
Provide a name to your application and click Save and Continue.
Install the agent
Install the latest release from New Relic by copying the code snippet and running it in your terminal (Mac) or command prompt (Windows).
Add code to your application
After the script is downloaded, include the code snippet displayed on the platform in your application to start monitoring your video player.
Generate application ID
Select Get Application Info. This will generate the application id for the browser entity generation.
View your data
Click See your data.
重要
It may take a few minutes to interact with your application and generate data.
What's next?
- View your data: Learn about the different views available in New Relic to monitor your streaming video and ads
- Compatibility requirements: Check supported video players and versions
- Update the agent: Keep your agent up to date