Page 1 of 1

Video Background - Can it be done?

Posted: Thu Dec 18, 2014 11:59 am
by jamsmyth
Hi, I love the video playing in the background of Uber. Was wondering if this was something that could be achieved in LiveCode and if anyone could point me in the direction of a tutorial to achieve it. Many thanks guys!!!

Re: Video Background - Can it be done?

Posted: Thu Dec 18, 2014 1:15 pm
by Simon
Hi jamsmyth,
Welcome to the forum :)

It's not clear in your post where this video is but I'm guessing it's in the Uber app?
I've never tried it on mobile but have used "alwaysbuffer" to run background video's.

Simon

Re: Video Background - Can it be done?

Posted: Thu Dec 18, 2014 2:15 pm
by jamsmyth
Hi Simon, yeah it is the video in the Uber app. Plays in the background of log in page. I'll give it a try using always buffer. If anyone else has any suggestions please do add them on. Many thanks!

Re: Video Background - Can it be done?

Posted: Fri Dec 19, 2014 3:24 am
by William Jamieson
Of course its possible with Livecode. Just know that Uber has spent probably a few million dollars making their app as fast as it is so if you do not have a few million to spend I wouldn't expect the same speed. But I could bet with some digging around you could probably get done something about 70% as efficient with your own nogin and Livecode.

This is one of the projects that I will be working on in the near future and I already scoped out what it will take to make that possible.

Some ideas:
-Compress your video AS MUCH AS POSSIBLE for light processing for minimal wait times (without sacrificing too much quality, I would google video formats)
-Determine how fast the device is to see if video should be played in the first place (may want to use an image on older devices)
-iOS will perform better than Android (take note of that)
-Store the video with the deployed app and get it cached and into RAM as fast as possible
-Load the database as the user hits "login" rather than the opening of the app and stop the video at the same time to reduce processing power

Please let me know how this goes for you. I am very interested in this too. Please keep us updated on your progress as I will be following this thread.

Cheers,

-Will

Re: Video Background - Can it be done?

Posted: Fri Dec 19, 2014 10:51 am
by jamsmyth
Thanks Will. So good ideas there. Your right on the budget side and the streaming speed was kind of the next hurdle as it were. I'll keep you posted as I progress. Thanks