texImage2D: no canvas error when game loaded in hidden div

Discussion and feedback on Construct 2

Post » Wed May 03, 2017 1:15 pm

Message: cmcon can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi there,

we have complete working game on our server. The game works when somebody iframes it as well.
There is problem when somebody iframes it in hidden div - the game starts throwing errors immediatelly, like one below:

c2runtime.js:3319 WebGL:INVALID_VALUE: texImage2D: no canvas

Then after the div is changed to visible, the game is already bugged and won't work.

URL with iframed game: (hit F5 to get new display with advert which turns the div with game to display:none during the ad) https://goo.gl/tPL2GI

We can't control how other websites display our iframe so there must be workaround. Other Html5/webgl games work.
B
2
Posts: 1
Reputation: 152

Return to Construct 2 General

Who is online

Users browsing this forum: Solomon, Studio Mercato and 3 guests