Video in Canvas?

Discussion and feedback on Construct 2

Post » Wed Oct 19, 2011 12:24 am

I ran across this topic today when looking for a way to speed up my animated intro for my game.

So, is a plugin to insert a video object into a canvas application a feasible possibility?
B
22
S
9
G
3
Posts: 203
Reputation: 3,647

Post » Wed Oct 19, 2011 2:18 am

I'm not sure if the C2 XDK allows for direct HTML insertion, which I think this would require, but I could be wrong.

Anyway, I'll give it a look after exams if no one has doee it by then.cow_trix2011-10-19 02:18:42
B
55
S
12
G
8
Posts: 339
Reputation: 9,314

Post » Wed Oct 19, 2011 2:17 pm

Audio in HTML5 is a nightmare (see our blog posts on the subject). Different browsers support different formats, and different formats require different encoders, and some encoders are expensive and would mean putting up the price of C2.

We managed to get audio working after significant effort and some hacks to get around encoder licensing (e.g. using Windows 7 itself to encode AAC). However, the situation for video is even worse. Getting it to work at all would be a long and difficult project, and we don't really have the resources to spend doing that right now. Not only that but videos are also often extremely large and incredibly bandwidth consuming which makes them unsuitable for lightweight casual games. So I'm afraid given all this we aren't really planning on adding video support for the forseeable future.

It's possible somebody could write a plugin that supports this. However, you would have to deal with the difficulties of encoding to multiple video formats yourself.Ashley2011-10-19 14:19:44
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests