Embed video experiences in your site and app
Add a player to your web pages and mobile apps, choose the layout that suits each page, and set its behavior without code.
For: Product & Design. Products: Onsite with Control.
Products that work together
- Onsite leads. Start with How Onsite works.
- Control supports. Start with How Control works.
Steps
- See how Onsite works. A placement is a named spot on a page type that renders a player. Read: How Onsite works.
- Choose vertical or landscape. A 9:16 swipe feed, or a 16:9 player with a playlist rail. Read: Vertical Video Player Placement, Horizontal Video Player Placement.
- Keep video playing while people browse. A small player docks to a corner across pages. Read: Sticky Mini-Player.
- Set controls per page type. Autoplay, sound, captions, share and follow buttons. Read: Player Controls and Feed Settings.
Example
A city magazine puts three players on its article template.
- Page: the article page, with a Carousel after the third paragraph, a Grid at the end, and a 300 × 600 Feed in the right rail.
- Setup: under Grow > On Site > Placement, create one placement per spot, with Brand Feed as the Feed Type and the matching Placement layout. On the Configure View tab, set the Video Cell Aspect Ratio and Placement Size; a new placement starts at 9:16 and 300 × 600. Under Media Play, keep Autoplay Video on for the rail feed.
- On the page: each spot is a container with the class
gen-sdk-class, itsdata-placement-id, and itsdata-style-id. Onewindow.genuin.initcall renders all three. - What viewers see: 9:16 tiles that open the full-screen player, and a rail feed that plays on its own.
- What you measure: select a placement under Grow > On Site > Placement to see its analytics.
See it live
The Architect is a sample publisher site. Ads in the demos come from live demand, so they change from visit to visit.
Best practices
- Reserve each player's footprint, its declared size plus 4 px on each axis (304 × 604 for a 300 × 600 feed), so the page doesn't shift when it loads.
- Pass both the placement ID and the style ID. With only one, the SDK falls back to the embed path and fails.
- Pin the SDK version in the script URL. The unversioned URL serves an older line with a different API.
- In a single-page app, call
window.genuin.updatewith the container's ID on each route change, so the placement ranks for the new page.
Limits
- Player Controls are set separately for Mobile App and Web, and a placement overrides only some of them.
- On TVs, the Web SDK runs in HTML5 TV apps and web views. Roku and Apple TV can't load web pages, and there's no TV SDK.

