How do I play video on NW.js ?

Just started using Construct 2? Post your questions here

Post » Fri Oct 02, 2015 7:01 am

I am using construct 2 r213
videos and audios are not working on NW.js with video object.
but video object is ok with web browsers.
how can I play video on NW.js ?
please help me... :geek:
B
14
S
1
Posts: 5
Reputation: 842

Post » Fri Oct 02, 2015 7:18 am

CGFX Studio wrote:I am using construct 2 r213
videos and audios are not working on NW.js with video object.
but video object is ok with web browsers.
how can I play video on NW.js ?
please help me... :geek:


What format is your video trying to play?

Remember that NW.js is based on chromium and the format for this is webm or ogg. MP4 is a definite no-no.

Quote from manual:

The MP4 container format with the H.264 video codec and the AAC audio codec is natively supported by desktop/mobile Internet Explorer, Safari and Chrome, but Chromium and Opera do not support the format.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,481
Reputation: 59,748

Post » Fri Oct 02, 2015 7:47 am

ok thank you so much zenox98
I think that's the problem, I did play mp3. mp3 is ok with web browser but not working on NW.js.
thank you for reply...
B
14
S
1
Posts: 5
Reputation: 842


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests