Hi John,
I don't know of an example that demonstrates this particular
combination. However, I don't think that this would be very hard to
do. The key is to think of every resource as a regular URL. When you
store raw content in the content management framework, each resource
is also identified by a unique paths that is usually mimicked by the
URL that is used to access it.
However, when you try to access a resource in the content management
framework that is not available, you could let the ServeContent
element drop down to the next filter in the chain. Currently, if it
can't find content it will forcibly set the status to "not found".
I'll look into changing this so that it becomes the default behavior.
Dropping down the filter chain is achieved by calling the "defer"
method.
Hope this helps you somewhat.
Best regards,
Geert
On 27 Jun 2006, at 21:43, [EMAIL PROTECTED] wrote:
Has anybody built anything in Rife that delivers a Flash
"progressive download" movie? I have picked through the rifers.org
Theatre code, and spent a couple days flailing on this. I think at
this point it would be easier to look for a working example than to
try to go through the many things I have tried that don't work. I
also wonder, Mr Bevin, if it would take you much more than 10
minutes to add another example to rifers?
Here is the deal, for those interested in digging deeper. A
Progressive Flash movie is I think a little different from other
formats, in that it really requires 3 downloads. I have been
working with an example from Adobe: http://www.adobe.com/devnet/
flash/articles/flv_tutorial.html. The chunk of code shows the 3
downloads: The player file, the skin file, and the actual flv
video. The code for a static page looks like this:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0" width="340" height="288" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars"
value="&MM_ComponentVersion=1&skinName=farmSkin_large&streamName=/
video/clip_15&autoPlay=false&autoRewind=false" />
<src"FLVPlayer_Progressive.swf" =quality"high" =width"340"
=name"FLVPlayer" =type"application/x-shockwave-flash" =/>
</object>
And now the rub(s). The player wants to find the skin and player
files in the same directory (URL minus the leaf I think) as the
HTML file that includes it. The skin, movie, and src values are
used to derive the actual files, notice no file extensions. Also,
I would prefer to stream the movie from the database. But
similarly, the player wants to append the ".flv" suffix to the
streamName, so the URLs generated by the content management system
don't seem to work. I wonder if the solution is to stream all 3
files, and do something to give them the filename extensions that
the player wants. Of course, the right solution might also include
somehow customizing Flash Player to take full URLs.
Thanks all, let me know if you can point to a working example... or
have any ideas for me.
- JT
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-
leading spam and email virus protection.
if ((parent != null) && (parent.ProcessCommand != null))
parent.ProcessCommand('bodyLoaded', true);
Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-
leading spam and email virus protection.
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users