Sketchfab Forum

CSS problem in my web page


(Jacky Carlingue) #1

Hello,

I have a litle problem...
When i embed on of my 3 model into ly web page and when i check into the developpement page of Firefox i have un error message:can't found the ccs but i have no css in the web site!

In the css pannel i can see something like "embed-d642a4896f5552928487d53a6c19cb0a.css"...
I don't know from where this file is comming !!!
Can you help me?

Thanks a lot.
JC


(Moroplogo) #2

@jacky_carlingue could you post the link to your website ?


(Jacky Carlingue) #3

Sorry, the page is not online, just on my PC.
Can i show you it by personnal message?

Edit: when i embed an model, After clic on the embed button, i copy the text from sketchfab galery before pasting it in my web page.
I think the problem perhaps come from the div class at the begening of the line:
div class=sketchfab-embed-wrapp

But when i cut this intruction, there is no change...


#4

Can you post a full HTML snippet and a screenshot of the page?


(Jacky Carlingue) #5

Here is the html code:
test sf.html (1.1 KB)

And the screen from Mozilla:

Thanks for your help
JC


(Shaderbytes) #6

I tested your attached html page running locally in Chrome , IE Edge and Firefox. The model loaded fine each time.

Is this on Mobile or desktop? What OS are you using and what version of Firefox, this info could help narrow down issues.

(Although there is a bunch of stuff logging to the console but they are all warnings )

this is what is in the console on my side :

‘mozHidden’ and ‘mozVisibilityState’ are deprecated. Please use the unprefixed ‘hidden’ and ‘visibilityState’ instead.viewer-1d225b834c41cf9d08fd.js:72:26617
Error: WebGL: getExtension('MOZ_WEBGL_lose_context'): MOZ_ prefixed WebGL extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension strings. To get draft extensions, set the webgl.enable-draft-extensions preference.viewer-1d225b834c41cf9d08fd.js:52:24757
Error: WebGL: getExtension('MOZ_WEBGL_compressed_texture_s3tc'): MOZ_ prefixed WebGL extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension strings. To get draft extensions, set the webgl.enable-draft-extensions preference.viewer-1d225b834c41cf9d08fd.js:52:24757
Error: WebGL: getExtension('MOZ_WEBGL_depth_texture'): MOZ_ prefixed WebGL extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension strings. To get draft extensions, set the webgl.enable-draft-extensions preference.viewer-1d225b834c41cf9d08fd.js:52:24757
you are using a deprecated api, please update to the new one, read mode xxxxembed-e533ca382f98cc5dc098.js:3:22015
Error: WebGL: getExtension('MOZ_WEBGL_lose_context'): MOZ_ prefixed WebGL extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension strings. To get draft extensions, set the webgl.enable-draft-extensions preference.viewer-1d225b834c41cf9d08fd.js:52:24757
Error: WebGL: getExtension('MOZ_WEBGL_compressed_texture_s3tc'): MOZ_ prefixed WebGL extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension strings. To get draft extensions, set the webgl.enable-draft-extensions preference.viewer-1d225b834c41cf9d08fd.js:52:24757
Error: WebGL: getExtension('MOZ_WEBGL_depth_texture'): MOZ_ prefixed WebGL extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension strings. To get draft extensions, set the webgl.enable-draft-extensions preference.viewer-1d225b834c41cf9d08fd.js:52:24757
no element foundviews:1:1
osgjs.metric:ReaderParser.parseSceneGraph: timer started
osgjs.metric:ReaderParser.parseSceneGraph: 5.95ms
Using fallback Android device measurements.viewer-1d225b834c41cf9d08fd.js:87:4480
processModelJSON : 0.95ms

Download file.osgjs.gz (Async)
| createAndInitFeatures : 210.99ms
Download file.osgjs.gz (Async) : 990.07ms

JSONparse file.osgjs.gz : 0.33ms

parseSceneGraph file.osgjs.gz (Async) : 9.39ms

DownloadAndLoadBuffer file.osgjs.gz (Async) : 343.83ms

initSceneGraph - createa saved materials : 9.97ms

initSceneGraph - processSceneGraph : 9.91ms

initSceneGraph - apply materials : 13.30ms

optimizer
| optimizer - materials : 0.40ms
| optimizer - nodes : 1.13ms
| Geometry count : before 1, after 1
| Material count : before 1, after 1
optimizer : 1.62ms

featureFinished
| compute KdTree : 4.75ms
| drawFirstFrame : 405.81ms
| drawSecondFrame : 7.28ms
featureFinished : 430.82ms

Bound center : [ 80.1500015258789, -0.0000247955322265625, -113.12361526489258 ]
Bound radius : 44.58323011989764
Bbox min : [ 73.30000305175781, -44.00724792480469, -115.1500015258789 ]
Bbox max : [ 87, 44.007198333740234, -111.09722900390625 ]

viewer-1d225b834c41cf9d08fd.js:77:27175
Error: WebGL: texImage2D: Chosen format/type incured an expensive reformat: 0x1907/0x1401viewer-1d225b834c41cf9d08fd.js:53:3713
Error: WebGL: texImage2D: Chosen format/type incured an expensive reformat: 0x1909/0x1401viewer-1d225b834c41cf9d08fd.js:53:3713
Error: WebGL: texImage2D: Chosen format/type incured an expensive reformat: 0x1907/0x1401viewer-1d225b834c41cf9d08fd.js:53:3713
optimizer - wireframe : 0.46ms