Topics

On this page

Last updated on Jun 30, 2025

Hook: godam_player_enqueue_styles

The godam_player_enqueue_styles action hook allows you (plugin or theme developers) to enqueue additional stylesheets specifically for the GoDAM video player. This is useful when you want to customize the appearance of the player using your own CSS file, such as adding a custom skin, overriding controls, or adapting to a theme.

Usage Example

In this example, a custom skin located in your theme’s /css/ directory is enqueued and applied globally to all instances of the GoDAM player.

When It Runs

This hook is fired during the wp_enqueue_scripts and admin_enqueue_scripts phases meaning:

Hook Signature

No parameters are passed to this hook.

Common Use Cases