Black Friday Sale: up to 80% off every Pro plan

Get the deal

Custom CSS and JavaScript

Integrations

Checked with GreetPlayer 5.0.8 and GreetPlayer Pro 5.0.6

Free Works in GreetPlayer Free and Pro.

Add custom CSS to a GreetPlayer bubble or video player, or run your own JavaScript with a bubble, without editing your theme.

Custom code belongs to one entry. A bubble’s CSS and JavaScript load on the pages where that bubble shows; a player’s CSS applies to that player only.

GreetPlayer custom CSS: step by step #

Add custom CSS or JavaScript to a bubble or a player.

  1. For a bubble #

    The bubble editor’s Advanced section with the Custom CSS and Custom JavaScript fields

    Open the bubble in GreetPlayer → Media and go to Advanced. Add your rules under Custom CSS and your script under Custom JavaScript, then click Update.

  2. For a video player #

    The Video Player Player CSS tab with the Custom CSS field for one player

    Open the player and go to Video Player → Player CSS → Custom CSS. Start each rule with the player’s class, .greet_vp-54 for the entry with ID 54 (the number in its shortcode), so it changes that player only.

Note Custom JavaScript runs on your visitors’ browsers. Add only code you trust, and test the page after saving. Clear your page cache so visitors get the new version.

See it live See the video player demo →

Related #

Still have a question? Ask in the GreetPlayer forum on WordPress.org (opens in a new tab), or contact support.

Was this article helpful?

Greet every visitor with a video that moves them to act

Start free from WordPress.org. Upgrade to Pro when you need lead capture forms, premium video sources, device targeting and advanced analytics.

Watch a quick hello
Watch the intro
See all featuresSee all features
View pricingView pricing