brightcove / react-player-loader

A React component that embeds and loads Brightcove Player scripts.
Other
20 stars 22 forks source link

Player losing brightcove studio custom styles #94

Open iwritecodeok opened 2 years ago

iwritecodeok commented 2 years ago

Currently, I am facing an issue wherein the react player loader is losing the custom styles set in Brightcove studio, resulting in the standard video-js player being displayed instead. We created a small POC hosted at http://54.237.98.206:3007/ . The POC is devoid of any CSS files and is built using Next JS 12.0.5 and React JS 17.0.2, and the player is loading just fine.

The issue comes after the application has been bundled and deployed on the server. Following steps are being followed for bundling the application • npm install - dependency node modules will install into local • npm run dev - run project on local • npm run build - bundle all files using the webpack and create build minified files into the build folder

on the first render of the page styles are correct and change shortly after.

FouadGeagea commented 1 year ago

I'm facing the same issue