Home › Forums › General Questions › videos issues
- This topic has 7 replies, 2 voices, and was last updated 4 years, 1 month ago by andreabianchi22.
-
AuthorPosts
-
2020-10-05 at 3:05 pm #33828andreabianchi22Customer
Hello,my scene works very well in localhost,but when I publish it on the web in order of testing the performance, apart from the long time for loading (25/30 seconds) I have the following problem:Nos. 3 videos mp4 ( 11 mb, 15 mb and 15 mb) and background music (mp3 4mb) don’t work at all. (note: they should start from the beginning without click on). Meanwhile other videos, in the same scene, that I activate via click on, work perfectly. What it can depend on?I tried to put the videos on initial tab but it’s the same.Thank you
AndreaAttachments:
You must be logged in to view attached files.2020-10-06 at 5:26 am #33849Yuri KovelenovStaff2020-10-06 at 6:35 am #33855andreabianchi22CustomerHi,
actually yesterday I had connection troubles, now I fixed them and it’s the same.
Anyway this is the report on Chrome F12 on puzzle editor:
“virtual_stand.html:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: http://localhost:8668/puzzles/media/fonts/Rubik-Regular.woff
v3d.js:1 Verge3D 3.4.0 for 3ds Max (License, WebGL 2.0)”
thanks for your time2020-10-06 at 6:40 am #33858Yuri KovelenovStaff2020-10-06 at 6:43 am #33859andreabianchi22CustomerAnd this when the scene are running on the web
v3d.js:1 Verge3D 3.4.0 for 3ds Max (License, WebGL 2.0)
visual_logic.js:165 Uncaught (in promise) DOMException: play() failed because the user didn’t interact with the document first. https://goo.gl/xX8pDD2020-10-06 at 6:45 am #33860andreabianchi22Customer2020-10-06 at 6:54 am #33862Yuri KovelenovStaffHi,
you can speed up the loading significantly if you enable asset compression
https://www.soft8soft.com/docs/manual/en/introduction/Asset-compression.htmlAlso some of your textures are not power-of-two (not 512, 1024, etc pixels) leading to texture space wasted
https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:a37b0f269f/applications/virtual_stand/rp_mei_posed_001_dif.jpgAs of videos, only muted media files are allowed to auto play
https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
so you need to use the ‘mute’ puzzle on your media files
(meaning there won’t be any sounds at start up).
Then you can unmute your media once the user clicks on the document body for example.2020-10-06 at 7:02 am #33864andreabianchi22Customerok,
I’m going put your valuable advice into pratice.
Thanks a lot. -
AuthorPosts
- You must be logged in to reply to this topic.