On Rev

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:

On Rev

Post by maxs » Sun May 22, 2011 5:30 am

How do I get the URL for a video stored in my ON-Rev account so I can stream it into my app.?

SparkOut
Posts: 2945
Joined: Sun Sep 23, 2007 4:58 pm

Re: On Rev

Post by SparkOut » Sun May 22, 2011 11:03 am

Well it just depends where you put it.
Assuming it's a file called "myfancyvideo.mp4" that you stored in a directory called "media" in the "public_html" folder of your on-rev server, then to access it from "out there" it would be at http: // youronrevaccountname.on-rev.com/media/myfancyvideo.mp4
(unless you already remapped DNS to point another domain name to your on-rev server, in which case it would just be the usual domain name with the folder path behind it.)
If you're talking about an html file that you have placed in your web directory and need to embed a video into that file, then you may need to use a file path relative to your server root of the sort "/home/youronrevaccountname/public_html/media/myfancyvideo.mp4" but that would only be effective in the local situation of the server, not publicly accessible.
Other than that, not sure exactly what you have, and what you've done and what you're trying to achieve, but hope that helps.

Post Reply