Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 7    Views: 133

NatHarman
I hate code!
Profile
Posts: 32
Reg: Apr 16, 2013
Cardiff
320
04/16/13 03:40 PM (11 years ago)

Loop video... Is its possible?

Hi Guys, Does anyone know if I can make videos loop? Cheers
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
04/17/13 12:30 AM (11 years ago)
Hi @NatHarman, Glad you found us! What is the plugin you are using to play your videos? Let me know and i can advise you on touching up the code. cheers to you! ian Example: If using the AT53 video plugin with Xcode for IOS in your At53_video_player.m file around line 154 just below [playerVC.moviePlayer play]; add this line of code. // Loop Video add this line playerVC.moviePlayer.repeatMode = MPMovieRepeatModeOne;
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
04/17/13 07:52 AM (11 years ago)
^ good tip. Thanks :)
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
04/17/13 07:54 AM (11 years ago)
Great plugin!
 
NatHarman
I hate code!
Profile
Posts: 32
Reg: Apr 16, 2013
Cardiff
320
like
04/17/13 09:11 AM (11 years ago)
Hi Ian, I've tried using the "Custom HTML 5" and "HTML Doc" Whats really making me frustrated is i've got the app working in HTML all in one Adobe Edge composition, so i'm guessing it should be easy to plug it in?? The apps stupidly simple, one main page with 8 images on which when touched play full screen video on loop. One the questions i have is can i just use my Adobe Edge HTML? Do i need to upload all the .js files? Thanks for the reply :) Nat
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
04/17/13 10:07 AM (11 years ago)
I didn't get full into EDGE yet, I tested a beta version so not 100% sure here. I really need to see what it spits out. IIRC it was just some html and js. If you look at the html file - the paths in there can point to a local file or a CDN file hosted on the web. If you want the app to work off line - then you'd want the .js files stored in BT_Docs and adjust the paths. You also need to tell Xcode not to compile those .js files too, so take them out of the compile sources. Otherwise leave the paths alone in that html file. That code @ian posted is to mod the AT53 Video Plug-in source code. That's useless in HTML, it's Objective C. Looping an HTML5 video? There's gotta be a gaggle of better tutorial out there than I'd make. Take a look at this: http://www.longtailvideo.com/html5/autoloop/ Sounds like JW Player 6 is what you might be seeking.
 
NatHarman
I hate code!
Profile
Posts: 32
Reg: Apr 16, 2013
Cardiff
320
like
04/17/13 12:14 PM (11 years ago)
Hey Guys, Here's what i'm working with from edge and the files its creates, http://www.youtube.com/watch?v=u9-LAnsl5pc&feature=youtu.be any ideas?? Nat :)
 
NatHarman
I hate code!
Profile
Posts: 32
Reg: Apr 16, 2013
Cardiff
320
like
04/17/13 12:32 PM (11 years ago)
Hey Guys, Here's what i'm working with from edge and the files its creates, http://www.youtube.com/watch?v=u9-LAnsl5pc&feature=youtu.be any ideas?? Nat :)
 

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.