Discussion Forums  >  Uncategorized

Replies: 16    Views: 209

photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
01/03/12 04:24 PM (14 years ago)

Ipad and Iphone

Hello I would like to devellop and app that has lots of videos couple of questions ? 1. Due to the fact that vidéos are not the same size whether they are played on the Ipad and Iphone, do I need to make 2 separate apps and load each videos for proper format on each different apps ? If the answer is yes, is it possible once I finish the Iphone app, to sort of duplicate it and just change the video size files ? 2. Is there a limitation giving by apple for an app having embbed videos in it's app (not streamed from the web), in terms of size, or lenghts ? 3. I would like a feature in my app whereby if someone answer 100 % successfully to several quiz a video tutorial wich was not available become available, is that doable without code ? tks again for the help, Serge
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/03/12 04:38 PM (14 years ago)
Don't need two apps. You can't duplicate an app. Apple's limitations, don't know I'm Android. 3. Yes, most likely, someone else should answer this one.
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
01/03/12 04:47 PM (14 years ago)
Tks for that, anybody else has more info ? tks ! Serge
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
01/03/12 04:47 PM (14 years ago)
One app is all you need. Videos in a format like YouTube or Vimeo are scaleable and the same video displays well on both iPhone and iPad. I'm not sure if there are limits to the app size overall, but once you hit a certain size, Apple requires people to download from a wifi connection rather than over the 3g network. Also, individual users may balk at a huge app size. Just not sure what the max should be. The quiz has a reward screen which can be used if a person answers all the questions correctly. Although if a user wants to view the video a second time, they'd have to answer all the questions correctly again. I don't think there's a way to 'unlock' a screen by answering the quiz without additional coding.
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
01/03/12 04:52 PM (14 years ago)
Hello, tks for I will not be using vimeo or youtube, but embeded videos, which are exported on a very specific format, should I export ipad size and iphone video will play it right (but then my apps will be big for iphone) or export all my videos for Iphone format and they will be scaled for the ipad ? but then I loose quality ? is it not better to make 2 apps with embedded videos with each at proper side, but then it will be a lot of work as I will have to re do all my app from scratch ? these are the many questions in my head :-) tks for the help. Serge
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
01/03/12 05:12 PM (14 years ago)
I think you need to decide what you're comfortable with. As I see it, you've got three choices: 1. Use one app with streaming videos (YouTube, Vimeo or quicktime) 2. Use one app with embedded videos. If you make all videos iPad optimized, the app will be twice the size of an app with videos optimized for iPhone. 3. Build two apps. Personally, I'd opt for number one. I think users will be happier with smaller app, and more people are used to videos streaming from the internet. You can keep the videos hidden on Youtube or Vimeo, or use direct links to quicktime videos hosted on your own website.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
01/03/12 05:21 PM (14 years ago)
I think when an app hits 20+MB, it requires a network connection. That seems to be what all the popups I get tell me. If you're not comfortable with MGoBlue's #1 recommendation, then I would go with #2, and test it to make sure it works as you want it. Don't assume any loss of video quality until you've actually seen it on the device (not the simulator) itself. That's the only real way to know how well, or not well, it'll work. Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
01/03/12 06:07 PM (14 years ago)
Pray tell how you'll embed the videos. Need that for an App.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/03/12 06:21 PM (14 years ago)
Hi, just make sure you're videos are in correct format when playing on all available ios devices, for example if your file is an mp4 file it must be 'baseline' encoded to play on iphone 3g...using x264 encoder with iMovie works great for reducing file size...i am working on a language app with over 100 embedded videos (each about 4 min. length) and the total app size will be about 250 megs...the original files were 200 gigs of dv material. spent alot of time testing video quality and types on ios and android..hope this helps. ps. yes these files work well for both iphone and ipad :)
 
JayArr
I hate code!
Profile
Posts: 17
Reg: Jan 19, 2011
USA
170
like
01/04/12 02:03 AM (14 years ago)
1) Assuming you are using customHTML or CustomURL to embed the videos, use width and height values in % in the embed code, instead of px values. with this approach, i made an single app for iphone/ipad/android phone/android tablet in a single app and the embeds are perfectly working. you may need to optimize the video format and quality for largest device, in your case iPad. (ps: i use video stream directly from youtube, not local video files) 2)Regarding size of the app, AFIK, there is no clarity in the apple's documentation, but remember Navigation apps which use maps (like TomTom) are more than 1 GB. so it should be ok, as long as your users download via wifi. 3) I am sorry, i don't know this part, may be some one will help you with that. JayArr
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/04/12 02:07 AM (14 years ago)
Hi @JayArr would u mind sharing your embed code? also, where did you store your files in your Android project for this to work? thanks [email protected]
 
JayArr
I hate code!
Profile
Posts: 17
Reg: Jan 19, 2011
USA
170
like
01/04/12 02:22 AM (14 years ago)
@ianjamespiano mail sent. I used streaming videos only, i did not use local videos. In general, android gives lot of issues in embeded video plays (may be due to so many device variations, for e.g. i couldn't able to play iframe embeds of youtube in 2.3 or higher in webview), so i changed the intents to play in android media player / youtube player. If you want to use local videos, put all them along with your customHTML file in BT_Docs folder in eclipse and in embed src, just give you filename without any path. you can check the v1.5 pdf tutorial, which tells about image, i believe it should work for videos too.. If you are interested, you can check my android app, details are here http://www.buzztouch.com/forum/thread.php?tid=75DB2DFAD8621932D60FCB4&status=&searchInput=search...&sortColumn=FT.dateStampUTC&sortUpDown=DESC¤tPage=1&doViews=1 JayArr
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/04/12 02:39 AM (14 years ago)
Thanks for the code!
 
photoserge
Aspiring developer
Profile
Posts: 146
Reg: Jan 01, 2012
paris
5,410
like
01/04/12 04:25 PM (14 years ago)
Hello Ianjamespiano, Tks for all the data, I actually want to something similar, could give more more info as what size and what setting did you size to get the best ratio size quality compression on your video s ? serge
 
Paddy
Lost but trying
Profile
Posts: 240
Reg: Oct 08, 2011
Hands Up !
12,500
like
01/04/12 04:37 PM (14 years ago)
Salut Serge, I confirm what Mark said, iOS apps over 20 MO need wifi connexion (in France) Maybe différent in other countries.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
01/04/12 07:20 PM (14 years ago)
@photoserge, do you have x264 encoder working with your movie editing software? If you do then let me know so I can walk you thru the process I used. :)
 
bracesport
Apple Fan
Profile
Posts: 49
Reg: Jun 02, 2011
Wellington
490
like
01/07/12 12:31 AM (14 years ago)
hey there team my apps have 150mb of video embedded in them, the iPhone/iPad plays the video scaled to the width or height depending on the rotation of the device I use .mov files created in final cut pro and outputted via compressor.. each .mov is approx 6mbs and they work fine streaming also works fine with the same movies accessible via my website link in the app phil
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.