Skip to content

CldVideoPlayer config prop #196

@colbyfayock

Description

@colbyfayock

Is your feature request related to a problem? Please describe.

Allow CldVideoPlayer to take a config prop, much like CldImage, which can control advanced Cloudinary settings

This would then ideally inherit module-level configuration that's being set up via: #195

Describe the solution you'd like

The Next.js implementation currently passes through any valid option that's defined in the source types from cloudinary-util/types

https://github.com/cloudinary-community/next-cloudinary/blob/main/next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx#L44

https://github.com/colbyfayock/cloudinary-util/blob/main/packages/types/src/types/cloudinary-video-player.d.ts

It doesnt look liek the work was done yet to use the types from the new package: #186

By adding the same thing, this would allow any of the configuration options to "just work"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions