Сообщения, созданные пользователем kdeluxe
26 февраля 2016 03:36
25 февраля 2016 18:27
Yes! Something like that, exactly. It's literally the first example I know of where the background on a wordpress site has been replaced with webgl.
But I still have no idea how to get that to work. My template even has a feature where if someone looks at it on their phone, it'll replace a video background with a static image, so if there was a way to just replace the video with the blend4web html, that would be great. That way mobile users would still get a photo instead.
Someone else told me this though:
"it’s not html, it’s base64 encoded into the template which could be a problem, since you now cannot change the way it works since everything is inlined you need someone to implement this in a correct way, else it’s gonna bite you in the ass sooner or later. if you put it in a page with contents/videos/images etc. it’s gonna behave differently, especially on for example an ipad inlined code means js/css IN the html page, instead of loading it"
But I still have no idea how to get that to work. My template even has a feature where if someone looks at it on their phone, it'll replace a video background with a static image, so if there was a way to just replace the video with the blend4web html, that would be great. That way mobile users would still get a photo instead.
Someone else told me this though:
"it’s not html, it’s base64 encoded into the template which could be a problem, since you now cannot change the way it works since everything is inlined you need someone to implement this in a correct way, else it’s gonna bite you in the ass sooner or later. if you put it in a page with contents/videos/images etc. it’s gonna behave differently, especially on for example an ipad inlined code means js/css IN the html page, instead of loading it"
24 февраля 2016 01:56
20 февраля 2016 14:19
18 февраля 2016 19:55
18 февраля 2016 18:34
Thanks, there's some useful info in his videos, it's given me some ideas for the near future, but although I didn't watch everything I don't think it tells me how to add it to a wordpress background.
I find it strange that there's so very little information online about how to integrate webgl into wordpress in this way. It's such a common web platform, and I would have thought many by now would have wanted to load these sorts of backgrounds beneath the rest of their content. If we can play videos, why not interactive content as well?
I find it strange that there's so very little information online about how to integrate webgl into wordpress in this way. It's such a common web platform, and I would have thought many by now would have wanted to load these sorts of backgrounds beneath the rest of their content. If we can play videos, why not interactive content as well?
18 февраля 2016 17:56
Hello! I've been looking for ages to have WebGL content running on my website, underneath the menu and content boxes, and Blend4web seems like it might actually work. It's very easy to get an html page running, although what I really need is to make this my page-home.php background.
So… any suggestions? Is there some simple way I haven't stumbled across yet? I don't know much about php or html, but there must be a way, using an iframe maybe, to make this work.
So… any suggestions? Is there some simple way I haven't stumbled across yet? I don't know much about php or html, but there must be a way, using an iframe maybe, to make this work.