Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 61

MobiGeni
Aspiring developer
Profile
Posts: 65
Reg: Jan 09, 2013
Akersloot
1,350
02/26/13 05:36 AM (12 years ago)

AT53 Video player playlist

Hi there, I have to make about 7 video apps (in 6 languages), but each app holds about 20 single videos. is there a way to make a playlist and link to them? What I see now is that I need to make over 20 individual screens? About the localization thing, watch youtube video to implement more languages, I also need to make 6 version of the same app for every language. Little math: 1 app = 20 x video screens x 6 languages, is about 120 screens for one app, wow, that is a lot of work, anybody some idea about this? Thanks Vidal
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/26/13 05:50 AM (12 years ago)
If there aren't a great deal of child items, I think the screen copy utility Mr. David and I are scripting up might work for you; if you're self hosted. You would have to 'create' one app. But then you could replicate the screens in other apps, multiple times if need be. Granted, there will be editing. But not nearly as much. It won't do menus, or navbar links. But it will do almost any screen or activity, quiz included. We should be finished in a week or less. maybe more. Cheers! -- Smug
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/26/13 06:42 AM (12 years ago)
Check out Stobe's menu creator tool (I forget the name). It's Windows only but works on Mac via Wine. Or if you know php or another scripting language you can create a script to do it yourself. Or create one screen, copy JSON into a text file, and replace the particulars by hand. (Will still be quicker than using control panel). Each of these methods requires storing JSON outside of control panel, either via dataURL or using JSON snippet keeper.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/26/13 06:47 AM (12 years ago)
Also, for playlists I use a menu screen where each row dynamically creates an instance of the video plugin rather than pointing to screens previously created. Quicker and easier to update IMO. Use the "screenObjectToLoad" property to do this. Search the forums for this to see how, or pm me.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/26/13 07:42 AM (12 years ago)
Thanks for using the plug-in! Refrencing the videos from a menu list is the easy way. That's your own custom playlist! 6 languages. Wow. You almost need some type of JSON localization trick! For sure using one of the JSON tools here to duplicate the screens/code is about the only shortcut we have. Everything at BT is keyed on a uniqueID and that's what makes the whole copying an APP process so tricky!
 
MobiGeni
Aspiring developer
Profile
Posts: 65
Reg: Jan 09, 2013
Akersloot
1,350
like
02/26/13 08:02 AM (12 years ago)
@ATRAIN53 "Refrencing the videos from a menu list is the easy way. That's your own custom playlist! " So you mean I can directly link to a media file from a menu list screen (or the menu list screen plugin )? or do I still need to make 20 screen for each video and reference them from the menu list screen?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/26/13 08:08 AM (12 years ago)
The only way to do it is to use the method I described above (which should actually be "loadScreenObject", not "screenObjectToLoad"). Check out David Book's great explanation here (about half way down in thread): http://www.buzztouch.com/forum/thread.php?tid=93A0FAE4B0F0960DAE99B1E&currentPage=82
 
MobiGeni
Aspiring developer
Profile
Posts: 65
Reg: Jan 09, 2013
Akersloot
1,350
like
02/26/13 08:37 AM (12 years ago)
Another idea...maybe Is it possible to create a html5 video player gallery with HTML Screen and paste the html code in there and then link to local videos with <a href"/videoname.mp4">Video 1</a> ?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/26/13 08:57 AM (12 years ago)
Possibly - if you want it to be completely offline, though, you'll have to do some work with the javascript includes. Do a search on the forums to see what needs to be done. I know it's not as simple as just dropping the files into XCode - you have to do something extra to compile them properly. Here's a Buzztouch forum tip: To do better searches on the forum, use Google and search using this type of phrase: site:buzztouch.com somekeywordhere
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/26/13 09:04 AM (12 years ago)
Yes that is 20 AT Video screens- basically you use a menu plug-in, like the simple menu. Then each menu item points to one of those AT53 video screens. Yes it s a lot of work, but imagine writing that in code! Screens are reusable on other menus too....
 

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.