Re: Pointers to Quicktime videos in Revlets

2009-12-26 Thread Sarah Reichelt
On Sat, Dec 26, 2009 at 4:45 PM, J. Landman Gay
 wrote:
> Sarah Reichelt wrote:
>
>> Is there a way for the revlet to know where it is?
>> I would prefer not to have to hard-wire the path, so that the revlet
>> would work no matter where it was moved to, assuming that the media
>> files were kept in the same relative location.
>
> The revlet thinks it's on the user's machine, so you need some kind of link
> back to your server. If you're putting the revlet on your on-rev site, then
> you could probably get the server variables to see what the REQUEST_URI is
> and get the page name from that.


I wanted a general way to do this, that did not rely on the page being
hosted by On-Rev, so I worked out how to do this using PHP as well as
On-Rev.

You can check out the On-Rev version at
.

I edited the html produced by the standalone builder and added this line:
pageLocation=""
This was inserted into the  tag, on the line just after the instanceID.

In the revlet, I used this script to read the parameter:
  put the revletParams of this stack into tParams
  put tParams["pageLocation"] into tPageLocation

Then I was able to format the string the way I wanted. It includes the
page name at this stage e.g. "www.troz.net/rev/revweb.irev"
so I set the itemDelimiter to slash, removed the last item, added the
"http://"; and then I was left with the containing folder.

For the PHP equivalent, you will need to change the file extension of
the html file to ".php" and instead of the irev line above, use this:
pageLocation=""

This gives exactly the same data in exactly the same format, so the
processing can be the same.

So now I have a way to include media in a revlet, using relative addressing :-)

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-26 Thread Tim Lambert
Many thanks to all who replied. AlwaysBuffer false and actually putting the 
full URL now works from my server. I appreciate everone's quick help

Tim


 :
> Hi Could anyone point me to a 'How-to' to get QT vids to play from an
> uploaded revlet? The vids are in the same folder as the uploaded
> Revlet, but nowr happens.

That's how I do it. The videos are in the same folder with the revlet, 
then the script references them like this:

set the filename of player 1 to "http://www.domain.com/folder/movie.mov";

I don't use the "file://" syntax, because a revlet is like a local 
stack, and a fully qualified URL is fine as a reference. The "file://" 
designation is only for files you want to retrieve from the user's local 
hard drive, not for those on your server.

Unless it got fixed without my noticing, players in revlets only work 
reliably if the alway___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread J. Landman Gay

Sarah Reichelt wrote:


Is there a way for the revlet to know where it is?
I would prefer not to have to hard-wire the path, so that the revlet
would work no matter where it was moved to, assuming that the media
files were kept in the same relative location.


The revlet thinks it's on the user's machine, so you need some kind of 
link back to your server. If you're putting the revlet on your on-rev 
site, then you could probably get the server variables to see what the 
REQUEST_URI is and get the page name from that.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Sarah Reichelt
>> Hi Could anyone point me to a 'How-to' to get QT vids to play from an
>> uploaded revlet? The vids are in the same folder as the uploaded
>> Revlet, but nowr happens.
>
> That's how I do it. The videos are in the same folder with the revlet, then
> the script references them like this:
>
> set the filename of player 1 to "http://www.domain.com/folder/movie.mov";

Is there a way for the revlet to know where it is?
I would prefer not to have to hard-wire the path, so that the revlet
would work no matter where it was moved to, assuming that the media
files were kept in the same relative location.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Richard Miller

Tim,

One other point. Check to make sure the path to the video is 
case-proper. In my case, I often store videos on GoDaddy. I've found the 
filenames to be case-sensitive.


Richard

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread J. Landman Gay

Richard Miller wrote:

It's not been my experience that the alwaysBuffer setting matters in a 
revlet. Seems they'll always default to "alwaysbuffer" is true.


Oops, I had it backward. Seems that alwaysbuffer needs to be true -- or 
at least, it did. I just checked the QCC but I don't see anything about 
it in there so I'm not sure what the current status is. But if it works 
either way for you, then that's very good news.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Richard Miller

Tim,

Jacqueline is right if the videos you are trying to access are on a 
remote server.


It's not been my experience that the alwaysBuffer setting matters in a 
revlet. Seems they'll always default to "alwaysbuffer" is true.


Richard




J. Landman Gay wrote:

Tim Lambert wrote:

Hi Could anyone point me to a 'How-to' to get QT vids to play from an
uploaded revlet? The vids are in the same folder as the uploaded
Revlet, but nowr happens.


That's how I do it. The videos are in the same folder with the revlet, 
then the script references them like this:


set the filename of player 1 to "http://www.domain.com/folder/movie.mov";

I don't use the "file://" syntax, because a revlet is like a local 
stack, and a fully qualified URL is fine as a reference. The "file://" 
designation is only for files you want to retrieve from the user's 
local hard drive, not for those on your server.


Unless it got fixed without my noticing, players in revlets only work 
reliably if the alwaysBuffer property is set to false. That may be the 
issue in your revlet.




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread J. Landman Gay

Tim Lambert wrote:

Hi Could anyone point me to a 'How-to' to get QT vids to play from an
uploaded revlet? The vids are in the same folder as the uploaded
Revlet, but nowr happens.


That's how I do it. The videos are in the same folder with the revlet, 
then the script references them like this:


set the filename of player 1 to "http://www.domain.com/folder/movie.mov";

I don't use the "file://" syntax, because a revlet is like a local 
stack, and a fully qualified URL is fine as a reference. The "file://" 
designation is only for files you want to retrieve from the user's local 
hard drive, not for those on your server.


Unless it got fixed without my noticing, players in revlets only work 
reliably if the alwaysBuffer property is set to false. That may be the 
issue in your revlet.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Richard Miller

Tim,

Put "file:.///" before the actual location of the QT video. So if the 
video is here "c:/tim.mov", set the filename to:   "file:///c:/tim.mov". 
If you're doing this on a Mac, be sure the actual location of the QT 
video starts with the name of your HD volume in the filename (but still 
following the "file:///" syntax).


Best regards,
Richard Miller



Tim Lambert wrote:

Hi
Could anyone point me to a 'How-to' to get QT vids to play from an uploaded 
revlet? The vids are in the same folder as the uploaded Revlet, but nowr 
happens.

TIA.

Tim ___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

  


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Richmond Mathewson

On 25/12/2009 20:18, Tim Lambert wrote:

Hi
Could anyone point me to a 'How-to' to get QT vids to play from an uploaded 
revlet? The vids are in the same folder as the uploaded Revlet, but nowr 
happens.

   


I wrote:

"Well, unless they are socking-great "memory suckers" I would
be inclined to embed them as one would in a 'normal'
standalone. . ."

too soon, i fear!

Just embedded a movie of my older son "moshing" on his base guitar with
friends and hived-off a revlet:

No joy (mind you, his teenage music doesn't give me exactly 'joy' anyway);

On both Safari 4 and Firefox (Mac PPC) I heard the noise (err . . . 
'music'),

but no picture at all.

Tried a stack with an externally referenced movie:

play "Volumes/HD3/Fixation.mov" at 500,350

nothing doing, even in the stack . . .

however, by choosing a Quicktime Player and setting its Source via the
preference palette the stack 'behaves' . . .

now, let's see what happens if I hive-off a revlet:

Well, well, well . . .

(and this is strictly local - not from a distant server)

revet loads with first frame of the movie (8.7 MB movie) and
control bar; and then I end up with everybody's favourite
spinning ball and the browsers cannot cope.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Richmond Mathewson

On 25/12/2009 20:18, Tim Lambert wrote:

Hi
Could anyone point me to a 'How-to' to get QT vids to play from an uploaded 
revlet? The vids are in the same folder as the uploaded Revlet, but nowr 
happens.
   


Well, unless they are socking-great "memory suckers" I would
be inclined to embed them as one would in a 'normal'
standalone. . .
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Pointers to Quicktime videos in Revlets

2009-12-25 Thread Klaus on-rev
Hi Tim,

> Hi
> Could anyone point me to a 'How-to' to get QT vids to play from an uploaded 
> revlet? The vids are in the same folder as the uploaded Revlet, but nowr 
> happens.

I am not sure, but I think you will have to set the filename to the full URL 
like:
http://www.server.com/movies/movie1.mov

At least worth a try :-)

Happy holidays!

> TIA.
> 
> Tim ___

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Pointers to Quicktime videos in Revlets

2009-12-25 Thread Tim Lambert
Hi
Could anyone point me to a 'How-to' to get QT vids to play from an uploaded 
revlet? The vids are in the same folder as the uploaded Revlet, but nowr 
happens.

TIA.

Tim ___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution