Skip to content

[Bug] Getting warning when using CldVideoPlayer #187

@miticm

Description

@miticm

Bug Report

Describe the bug

I am getting this warning when using CldVideoPlayer, can we improve this?
Do not add stylesheets using next/head (see tag with href="https://unpkg.com/[email protected]/dist/cld-video-player.min.css"). Use Document instead.
See more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component

Is this a regression?

no

Steps To Reproduce the error

  1. import CldVideoPlayer and use it
  2. go to browser panel to see this warning

Expected behaviour

No warning and use the recommended way

CodeSandbox or Live Example of Bug

Screenshot or Video Recording

Your environment

  • OS:
  • Node version:
  • Npm version:
  • Browser name and version: Chorme

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions