cant @import url("C:/local/file.css") #422

Open
opened 2023-08-20 13:50:26 -05:00 by Nerxxy · 5 comments
Nerxxy commented 2023-08-20 13:50:26 -05:00 (Migrated from github.com)

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

29.1.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

N/A

OBS Studio Crash Log URL

No response

Expected Behavior

Expect obs to grab local file and apply css attributes to custom css when linking to a local file with @import in the custom css editor

Current Behavior

@import doesnt grab local file

Steps to Reproduce

  1. have a browser source
  2. make a css file with customisations
  3. go to custom css in obs
  4. type @import url("C:/path/to/file.css")
  5. watch nothing happen
    ...

Anything else we should know?

not as far as i know. if any more input is needed please let me know

as for the log, i put N/A because i dont think it would actually help any, but if it would be i would be more than happy to provide it

### Operating System Info Windows 10 ### Other OS _No response_ ### OBS Studio Version 29.1.3 ### OBS Studio Version (Other) _No response_ ### OBS Studio Log URL N/A ### OBS Studio Crash Log URL _No response_ ### Expected Behavior Expect obs to grab local file and apply css attributes to custom css when linking to a local file with @import in the custom css editor ### Current Behavior @import doesnt grab local file ### Steps to Reproduce 1. have a browser source 2. make a css file with customisations 3. go to custom css in obs 4. type @import url("C:/path/to/file.css") 5. watch nothing happen ... ### Anything else we should know? not as far as i know. if any more input is needed please let me know as for the log, i put N/A because i dont think it would actually help any, but if it would be i would be more than happy to provide it
RytoEX commented 2023-08-20 14:40:41 -05:00 (Migrated from github.com)

I can confirm that this works in cefclient version 103, but does not work in OBS Studio 29.1.3.

I can confirm that this works in cefclient version 103, but does not work in OBS Studio 29.1.3.
JonnyTech commented 2023-08-20 15:17:24 -05:00 (Migrated from github.com)

type https://github.com/import url("C:/path/to/file.css")

On Windows, try the triple slash syntax: file:///c:/path/to/file.css

> type https://github.com/import url("C:/path/to/file.css") On Windows, try the triple slash syntax: `file:///c:/path/to/file.css`
Nerxxy commented 2023-08-20 15:19:08 -05:00 (Migrated from github.com)

type https://github.com/import url("C:/path/to/file.css")

On Windows, try the triple slash syntax: file:///c:/path/to/file.css

i have already tried this, still didnt work

> > type https://github.com/import url("C:/path/to/file.css") > > On Windows, try the triple slash syntax: `file:///c:/path/to/file.css` i have already tried this, still didnt work
Nerxxy commented 2023-08-20 15:19:44 -05:00 (Migrated from github.com)

I can confirm that this works in cefclient version 103, but does not work in OBS Studio 29.1.3.

what is cefclient? is that just the beta obs?

> I can confirm that this works in cefclient version 103, but does not work in OBS Studio 29.1.3. what is cefclient? is that just the beta obs?
redmagikarp13 commented 2025-05-07 10:41:09 -05:00 (Migrated from github.com)

I can't use css too, I use an webconference website through browser source but is not working any css I put. On old OBS this thing worked, but when they require an newer chrome version and cefclient update too, this thing stoped working.

I can't use css too, I use an webconference website through browser source but is not working any css I put. On old OBS this thing worked, but when they require an newer chrome version and cefclient update too, this thing stoped working.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-obsproject/obs-browser#422
No description provided.