Can UserMedia pug-in work on mobile device ?

Get help using Construct 2

Post » Fri Mar 01, 2013 8:55 am

I have tried the sample project "webcam effects" on my android phone (4.x) and iPad mini, but both of them can't work well. Is the UserMedia plug-in support for mobile device now?

Both of my mobile devices work well with the google's html5 demo :
http://www.findyourwaytooz.com/m/cutout
B
24
S
4
G
6
Posts: 13
Reputation: 5,424

Post » Fri Mar 01, 2013 2:42 pm

It will work on mobile once browser developers add support for it. Mobile browsers are a year or two behind where desktop browsers are at the moment.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Fri Mar 01, 2013 3:54 pm

The manual says it may work with phone camera on a mobile but I can't .
I just think maybe I got something wrong ...
Thank you for give me the answer ,now I can give up :)

But This html5 Page do making my phone camera work . with chrome on both my phone and iPad mini. Maybe google have another way make it works? @@
B
24
S
4
G
6
Posts: 13
Reputation: 5,424

Post » Tue May 28, 2013 1:40 am

Just ran into this problem today. I was hoping to make a tool for my students to take and analyze video with their iPads. With iOS 6.0, Safari does have the capability. From the Apple iOS 6.0 Release Notes:

https://developer.apple.com/library/ios/#releasenotes/General/RN-iOSSDK-6_0/index.html#//apple_ref/doc/uid/TP40012166

"Support has been added for <input type="file"> tags in web forms. Users can upload existing photos and videos from their photo library or take a picture or video using the camera. Previously, this form control was always disabled."

At this point does it make sense for me to make my own plugin, or should I hold tight for an official version?
B
24
S
5
G
1
Posts: 71
Reputation: 2,389

Post » Tue May 28, 2013 2:14 am

B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Tue May 28, 2013 5:15 pm

Any idea if the filereader plugin will let me grab images from the iOS camera roll?

Ideally I would get the image data straight from the camera, but going from the camera roll would be a decent workaround.
B
24
S
5
G
1
Posts: 71
Reputation: 2,389

Post » Wed Jun 26, 2013 10:47 am

@cjbruce did you manage to solve or work around this problem? I'm also trying to import or open photos on iOS but it doesn't seem to be a solution.
B
5
Posts: 48
Reputation: 346

Post » Wed Jun 26, 2013 10:58 am

iOS just uses any <input type='file'> as a button to select an image from camera roll or by taking new picture (at least it does so in a web page, I don't know how it reacts in an application, should be the same).
The filereader plugin will then help you, as it triggers exactly what you want.
I had some problems with the plugin though and had to twick it a little to add possibility of hiding/displaying the <input>.
B
17
S
7
G
4
Posts: 461
Reputation: 5,907


Return to How do I....?

Who is online

Users browsing this forum: djcrazypants, marekmk and 6 guests