Video on IOS/Andorid plattform.

Get help using Construct 2

Post » Sat May 06, 2017 11:49 am

Hey,

i got a question about videos on mobile plattform. Is there a possability to make the videos start automatically? Iam talking about an app iam currently working on.

I heard, that if youre visiting a website, you have to make a trigger like push the screen or onto the video to start, to save service data or memory.

But this isnt nessasary on an app, because...........its a app. Is there a solution to start any videos automatically?

Thank you very much!
B
9
S
2
Posts: 152
Reputation: 1,051

Post » Sat May 06, 2017 1:04 pm

yes it's possible see the video plugin property "autoplay"
i have different problem ... when the video is playing it goes to full screen
i dont want that the video go fullscreen :(
B
46
S
16
G
8
Posts: 794
Reputation: 8,335

Post » Sat May 06, 2017 1:19 pm

@matrixreal

yea thats a problem too...not sure if there is a solution for this problem...
B
9
S
2
Posts: 152
Reputation: 1,051

Post » Sat May 06, 2017 2:05 pm

@Ashley
@Kyatric

Sorry for linking you directly but can you give us some inputs for this topic? i cant find any workaround/solution...

- To touch the screen shouldnt be necessary to start a video on mobile device.
- Is there an option to avoid the fullscreen mode on IOS devices?

Do you maybe have some instructions/links/tutorials/anything to solve this problems?

Thank you so much
B
9
S
2
Posts: 152
Reputation: 1,051

Post » Sat May 06, 2017 6:23 pm

Video plugin manual article

Compatibility

On Safari for iOS and Chrome for Android, video playback cannot begin unless triggered by a user input event.


The application you make out of Construct 2 is actually a browser "executing" your application.
So no, no way around that I'm aware of.

As for fullscreen, no idea why this is happening. Perhaps it is due to the fact that
Safari on iOS does not currently support rendering video inside the game canvas itself. To work around this, the Video plugin creates a video element floating above the game, similar to a form control. This ensures the video can appear, but prevents other objects being displayed on top of it.

Or perhaps it is due to the resolution of the video in regards to the actual resolution of the device.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,311
Reputation: 71,086


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests