No On-Rev support here?

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

No On-Rev support here?

Post by maxs » Mon Dec 29, 2014 12:48 am

I cant figure out how to access a movie I uploaded to my public_html folder on my ON-REV account to play into my stack? Any ideas?

Max

Martin Koob
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 256
Joined: Sun May 27, 2007 8:19 pm

Re: No On-Rev support here?

Post by Martin Koob » Mon Dec 29, 2014 4:50 pm

Hi

You need to determine the URL for the movie on your site.

i.e. http://www.mysite.com/movies/mymovie.mp4

Try your url in a browser to make sure it works. It should load the movie.

Then in your stack put a player object on it and then set the filename of the player to the URL.

i.e.

Code: Select all

set the filename of player "player" to "http://www.mysite.com/movies/mymovie.mp4"
If you are using Mac OS X there are new features in the new AV Foundation based player with LC 6.7 where you can get info as to the progress of loading the remote video in the player.

This is from the Release notes
http://downloads.livecode.com/livecode/ ... -6_7_1.pdf
We have also added support for getting information about the download progress of a remote multimedia file:
- The loadedtime of a player is the time up to which the movie can be played. The download progress is also displayed on the controller well.
You can also query the status property of the player. This property can take either of the values:
- loading (for remote multimedia files)
- playing
- paused
Best to use LC 6.7.1 as there are bug fixes for the player here. This should also work in LC 7.0 as all the changes to the player in LC 6.7 are also in 7.0. Again best to use the latest version 7.0.1 to make sure you have the latest as far a bug fixes.

Martin

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: No On-Rev support here?

Post by Simon » Mon Dec 29, 2014 6:03 pm

Hi maxs,
More specifcally the URL will be
http://www.yourOnRevName.on-rev.com/mymovie.mp4
yourOnRevName is the name you gave when you signed up for the account.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Re: No On-Rev support here?

Post by maxs » Mon Dec 29, 2014 9:31 pm

Thank you , Martin

for taking the time and effort to respond.

Thanks, Max

Post Reply