videoToTexture in IE 11 is upside down

For developers using the Construct 2 Javascript SDK

Post » Thu Dec 04, 2014 12:56 am

@ashley The videototexture function copies the texture in IE but its upside down, perhaps some issue with gl.texImage2D()?
B
77
S
13
G
8
Posts: 1,974
Reputation: 9,893

Post » Thu Dec 04, 2014 11:27 am

It might be an IE bug - I don't think C2 uses it in IE, because early versions of IE11 simply did not support passing video to that method at all, so it uses a workaround where it renders video to a canvas2d and then passes the canvas2d to videoToTexture, which works. And I don't think anything else in the engine uses that method with a video.
Scirra Founder
B
397
S
236
G
88
Posts: 24,412
Reputation: 194,514

Post » Thu Dec 04, 2014 4:13 pm

IE 11 supports it since a while, just upside down :P
B
77
S
13
G
8
Posts: 1,974
Reputation: 9,893

Post » Sat Dec 06, 2014 4:42 am

QuaziGNRLnose wrote:IE 11 supports it since a while, just upside down :P


Yup. That sounds like M$. :lol:
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Sat Dec 06, 2014 5:20 pm

@ashley
Looks like FFs doing the same thing, perhaps its more of a chrome bug in this case (that would make things a lot easier to get fixed :P)?
B
77
S
13
G
8
Posts: 1,974
Reputation: 9,893


Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests