Introduction
Truvid's video player empowers publishers to integrate video monetization capabilities into their websites, transforming video content into a lucrative revenue stream. The player seamlessly integrates with existing workflows, offering publishers an end-to-end solution for optimizing video ad delivery and maximizing revenue.
Prerequisites - Ensuring Successful Integration
For a successful implementation of the player, ensuring that your videos and ads play correctly and activate video monetization, it's crucial to follow steps 1 to 4 in the Truvid Ad Integration Guide for Publishers, including integrating Truvid’s ads.txt lines. These steps are critical for setting up the player effectively and unlocking its full monetization potential.
Player Implementation: A Straightforward Approach
For a smooth and efficient integration process, Truvid's player implementation utilizes a single line of JavaScript code that is embedded into the HTML of a publishers website, enabling publishers to quickly embed the player onto their websites.
This lightweight code seamlessly integrates with the website's structure, ensuring compatibility and hassle-free video playback.
NOTE: We recommend using a professional web developer to handle tag implementation.
GAM or Direct HTML: Choosing the Right Integration Method
Truvid offers two primary integration methods to cater to publishers' technical preferences and expertise: GAM integration and direct HTML integration.
GAM Integration
For publishers utilizing Google Ad Manager (GAM) as their primary ad server, Truvid seamlessly integrates with GAM's ad management capabilities.
Publishers can embed the Truvid HTML5 tag directly into their website's code, allowing GAM to seamlessly manage ad delivery within the Truvid player.
This approach allows publishers to leverage GAM's existing ad targeting and reporting functionalities while benefiting from Truvid's advanced video monetization features.
This straightforward approach requires minimal technical expertise and offers a user-friendly integration process.
Direct HTML Integration:
Publishers with advanced technical expertise can choose direct HTML integration, allowing them to embed Truvid's widget tags directly into their website management system, such as WordPress. This method grants improved control over the placement and styling of widgets, requiring a solid understanding of HTML functionalities.
Verifying Implementation Success: Two Effective Methods
To confirm successful player implementation, utilize either of these two methods:
-
Visual Inspection:
Once the webpage is fully loaded, scroll down to the location where the player is expected to appear. If the player is visible and functioning correctly, implementation is successful.
-
Code Search:
In your browser's developer tools, search for the string "truvidplayer.com". If the search finds a match, it indicates that the player is loaded on the page and the implementation is successful.
HTML Best Practices for Optimal Player Performance
Adhere to these HTML best practices to ensure optimal player performance and compatibility:
-
Avoid using CSS parameters like display:none, transform, webkit-transform, or ms-transform in parent HTML elements above the player tag.
-
Avoid using custom children CSS parameters ("nth-child") in the container of the Truvid player.
-
Ensure that all parent HTML elements above the Truvid tag have the correct height and width values.
-
If the Truvid tag is the only element in the container, do not set CSS height and width values to the container.
-
Refrain from setting container CSS height and width values smaller than the expected player size.
Conclusion
Truvid's player integration process, whether through GAM or direct HTML, empowers publishers to seamlessly integrate video monetization capabilities into their websites. The provided technical documentation and support resources ensure that publishers of all technical skill levels can successfully implement the player and reap the benefits of effective video advertising.
Next Steps
Utilize Truvid Reports to monitor video performance, optimize ad placements, and maximize revenue. For more information see 'How to Generate and Customize Reports' and Why Analyzing Reports is Important for Effective Advertising