Page 1 of 1

No On-Rev support here?

Posted: Mon Dec 29, 2014 12:48 am
by maxs
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

Re: No On-Rev support here?

Posted: Mon Dec 29, 2014 4:50 pm
by Martin Koob
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

Re: No On-Rev support here?

Posted: Mon Dec 29, 2014 6:03 pm
by Simon
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

Re: No On-Rev support here?

Posted: Mon Dec 29, 2014 9:31 pm
by maxs
Thank you , Martin

for taking the time and effort to respond.

Thanks, Max