How do I know if video test for tablet is successful?

Get help using Construct 2

Post » Fri Oct 16, 2015 1:22 pm

Hello,
I am not sure what constitutes the successful video test for Android systems?
I have a small Construct2 application, uploaded on my hosting, that plays a video and when I access it with my tablet everything is working fine with Mozilla Firefox browser but not with IE, Chrome, Opera or default tablet browser. Does this means that video in application will work on Android system if only Mozilla can run it?

New files:
http://digitaldungeonteam.com/C2VidTest/index2.html
http://digitaldungeonteam.com/VideoTest2.capx

Videos are converted using Freemake Video Converter 4.1.7.3, with HTML5 converter to 360p Ogg Theora, H.264 and VP8.
Application is exported to Construct 2 HTML5 and I didn’t do Minify script.
Tablet is Gigaset QV830, Android version 4.2.2, Kernel version 3.4.5.
Last edited by PavleNikolic on Fri Oct 16, 2015 2:21 pm, edited 1 time in total.
B
20
S
10
G
2
Posts: 37
Reputation: 2,719

Post » Fri Oct 16, 2015 1:36 pm

It works in FF and IE for me but not NW.js (chromium). I don't have Chrome.

There is no webm encoding - it says mp4, so that's why it won't work in chromium.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Oct 16, 2015 1:42 pm

Thanx for checking the app:) It works in IE? It didn't work for me, could be the problem with my tablet, it is a bit old:( What is Chromium, can I download it from Play Store? ..I have mp4, ogv and webm in the app and all three are noted in the C2 Video obj slots:(
B
20
S
10
G
2
Posts: 37
Reputation: 2,719

Post » Fri Oct 16, 2015 1:55 pm

That is my concern, it's written for NW.js that "Construct 2 can export your project as a traditional desktop app with NW.js, which is basically a standalone version of the Google Chrome browser. In other words it's very much like having your project run in Chrome".
If Android application export is similar to NW.js that would mean that testing in Chrome browser is closest to testing an Android app. If video don't work in Chrome maybe it won't work on tablet app?:(
B
20
S
10
G
2
Posts: 37
Reputation: 2,719

Post » Fri Oct 16, 2015 1:59 pm

Your application hasn't got the webm encoding set - should have the suffix .webm but it says .mp4 - so it is never going to work in NW.js.

Just change suffix to .webm and it works in NW.js.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Oct 16, 2015 2:06 pm

You are right, I just saw it:( I placed mp4 two times, for H.264 and for WebM:( Thank you for your trouble:) I will correct it and try to run app again on my tablet:)
B
20
S
10
G
2
Posts: 37
Reputation: 2,719

Post » Fri Oct 16, 2015 2:20 pm

..I have changed .mp4 to .webm in WebM parametar and now it plays in Chrome but only audio, no picture is being displayed.

http://digitaldungeonteam.com/C2VidTest/index2.html
http://digitaldungeonteam.com/VideoTest2.capx
B
20
S
10
G
2
Posts: 37
Reputation: 2,719

Post » Fri Oct 16, 2015 2:31 pm

Unfortunately I cannot test Chrome, but your 2nd test works in FF, IE and NW.js.

Hopefully, some other helpfull user will test at some point.

BTW what version of IE did you try? I'm on Win7 Pro x64 with IE 11.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Oct 16, 2015 2:39 pm

..but I am not sure I undestand the NW.js factor. Is it reliable test for Android (tablet and mobile)? Video works great in NW.js but I can only test win32 and win64 exe files on my desktop PC.

I am not concerned about my other game files, the game works great on tablet when I play it on tablet via html file on my hosting. I am only concerned about the video playback:(
B
20
S
10
G
2
Posts: 37
Reputation: 2,719

Post » Fri Oct 16, 2015 2:45 pm

The Video entry in the Manual states:

Chrome for Android, video playback cannot begin unless triggered by a user input event. The Play action will work in a user input trigger like On touch start, but if done outside of that it cannot play right away. To work around this the video plugin will wait until the next touch event to start playing the video. This also applies to autoplaying videos: it will not start until the first touch.


Does this help?
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Next

Return to How do I....?

Who is online

Users browsing this forum: wizdigitech and 13 guests