For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 14 replies, 4 voices, and was last updated 12 years, 4 months ago by
support-michael.
-
AuthorPosts
-
RichardOneMemberHi,
I have tried many options without success; trying to play a small video clip within the app locally, so the user does not incur any data charges.
What format does the file need to be in?
When I do try to build the app, the uploader complains about ‘Files & Data’ so I’m guessing its refering to the video file as without it, the build goes fine.
Many Thanks
October 18, 2013 at 9:52 am #343511
Uplink1001MemberHi.
Had some bother myself trying to get video to work
what are you building for android or Iphone?
i have a few apps that i built for the iphone and had some bother with the video.
try the link below for Freemake video converter, this will let you choose the format you may need.
eg: i use Frame width: 320×240 Data rate 417kbs total bit rate 500kbs 24frames/second
Audio 82kbs channels 2(stereo) audio sample rate 24kHz
have a play around with the freemake. for the iphone it’s MP4
let me know what you are making your apps for.
link forvideo.http://www.genuitec.com/mobile/docs/encodingVideo/encodingVideo.html
October 23, 2013 at 12:20 am #343671
RichardOneMemberHi,
Tried all sorts of formats without much sucess; on build just complains the file is too big?
Tried various codecs, progs to reduce it – no good
May have to put up wih new link.
October 23, 2013 at 2:36 am #343674
RichardOneMemberHi,
Well, the idea of adding a video file was unsuccesful so I added a url path to youtube.
Thing is, upon clicking the player the video will not load?
Now I’m thinking – should I have added a java snippet as well?
Off to a dark room for a bit…
October 23, 2013 at 11:06 am #343707
Uplink1001MemberNot sure what you are building for android or iOS?
should be the same procedure for both I think.
anyway on the widgets (map and Media click and drag the Video player into your mobi screen), then on the Properties on the right of the screen choose video source as file, then click on the tab on video file to choose your video file you want to insert, that’s it basically. I am not sure what format the video has to be for android?.October 23, 2013 at 11:08 am #343708
Uplink1001MemberWhat format is the video, and what size is the video file?
October 23, 2013 at 11:45 am #343711
support-octavioMemberHi RichardOne,
>Well, the idea of adding a video file was unsuccesful so I added a url path to youtube.
MobiOne does not provide a youtube player.>Tried all sorts of formats without much sucess; on build just complains the file is too big?
Does your build get complete? Or do you get that message on Files & Data tab on Build Wizard? Please note that the size limit of Mobione apps is 50MB.October 23, 2013 at 12:46 pm #343716
RichardOneMemberHi Octavio,
On build, I get a files & data message saying the video is too big
When deselected, the final build proceeds, no problem
Been scratching my head for days over this, as well as getting a form to work
I have tried to reduce the video; imported and used a compressor tool – no good
I would rather have this video built into the app rather than use users data allowance to watch ‘online
Attachments:
You must be logged in to view attached files.October 23, 2013 at 4:59 pm #343728
support-octavioMemberHi Richard,
Please strive to keep your project under 50Mb as that the max size that App Center will accept. You should try using an example video that is known to work across ios and android. For example the attached sample project works on ios and android. Get this simple example working and thereafter you will know the video widget is working properly and can concentrate on creating a compatible video format.
Attachments:
You must be logged in to view attached files.October 24, 2013 at 8:14 am #343757
RichardOneMemberHi Octavio,
Thank you for that; I tried using the default widget in MobiOne, compressed the .mp4 and it worked….smashing 🙂
However, by using the widget, I assumed that the video would play in the actual widgetand within the app. On testing, when you tap the widget play viewer, it takes you away from the page/app and opens the .mp4 into an open screen and plays?
The thing is, you have no way of navigating back to the app either during or after the .mp4 has played?
I’m sure I have missed something here in that I thought the idea of the movie widget was that it played a target .mp4 within it; thus staying within the app architecture?
October 24, 2013 at 1:39 pm #343792
support-octavioMemberHi Richard,
I followed up with you on your video questions here: http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=6352&p=21581#p21581
November 4, 2013 at 6:15 am #344052
RichardOneMemberHi Octavio,
Managed to get video working,
One final questions on this; I have my app working in Portrait as there is no need for landscape.
However, is there a way I can select a specific page to, when performed, to show as landscape?
You see, I have a page showing a video but needs, for best viewing, to be viewed in landscape IF the user wishes.
In the build process, it gives you choices but the choice is applied to the who project.
I meant to also ask if a video can play ‘within’ a page template so iy remians within the app design and allowing the user to use nav buttons. at the moment, when playing video, it preaks to a screen on its own thus, away fro the app.
Hope that makes sense?
November 4, 2013 at 8:34 am #344059
support-michaelKeymaster>However, is there a way I can select a specific page to, when performed, to show as landscape?
No, specific page orientation settings are not available.
November 4, 2013 at 9:19 am #344069
RichardOneMemberSo its all or nothing then?
So if you make an app purley for ‘Portrait’ and you have a gallery or a video content, your stuck in portrait,
So, is there scope to having this on the ‘wish list’ please?
November 4, 2013 at 9:44 am #344073
support-michaelKeymaster>So, is there scope to having this on the ‘wish list’ please?
Added it to our features tracking system.
As an alternative I have seen some of our users open video on the InAppBrowser. I will need to check this but in previous Cordova versions it was not fixed to the orientation of the app.
-
AuthorPosts
