How do I can play video after export project to game.exe?

Get help using Construct 2

Post » Wed Nov 02, 2016 9:29 am

I have done my game. There are many videos. When i run in project, the video can play. but, after i export my game to .exe. The video can't play. what will i do ?
B
5
S
2
Posts: 9
Reputation: 447

Post » Wed Nov 02, 2016 10:27 am

On export, videos tend to be renamed to lowercase.
Make sure within your project to import/rename the videos to lowercase and call them without capital letters.

This should fix the issue.

Otherwise, consider posting your project to allow other people to investigate if your have further issue and provide as much details as possible.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Wed Nov 02, 2016 11:00 am

thanks you. i think, i give the name with lowercase. but i give number and dot in the first word because, The example : 1.knowledge.mp4 ; 2. physiology.mp4. what number it give effect for my project?
B
5
S
2
Posts: 9
Reputation: 447

Post » Wed Nov 02, 2016 11:05 am

NW.js Documentation

Using MP3 and H.264 codecs requires you to pay attention to the patent royalties and the license of the source code. Consult a lawyer if you do not understand the licensing constraints and using patented media formats in your application..
...
Due to the license issue, the prebuilt binaries of NW.js doesn’t support proprietary codecs, like H.264. ..
So you can’t play MP3/MP4 with <audio> and <video> tags with prebuilt NW.js. ...
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Wed Nov 02, 2016 11:23 am

so, what is the product can i build with video? exe, apk or what? give me fast respond. thanks
B
5
S
2
Posts: 9
Reputation: 447

Post » Wed Nov 02, 2016 11:46 am

Video object

if you want to export with NW.js ..convert your videos to .ogv or .webm format..
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Wed Nov 02, 2016 2:30 pm

Thanks guys. i have tried to .ogv . but can not. So, i'll try .webm. Now, i am converting all my video. Thank you very much. I hope, it can be exported because my deadline is tommorow.
B
5
S
2
Posts: 9
Reputation: 447


Return to How do I....?

Who is online

Users browsing this forum: evillair, Yahoo [Bot], YoHoho and 10 guests