>-----Original Message-----
>From: Geert Bevin <[EMAIL PROTECTED]>
>Sent: Wed, 28 Jun 2006 17:25:08 +0200
>Subject: Re: [Rife-users] Flash progressive download video
>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.
>From: Geert Bevin <[EMAIL PROTECTED]>
>Sent: Wed, 28 Jun 2006 17:25:08 +0200
>Subject: Re: [Rife-users] Flash progressive download video
>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.
If I understand you correctly, I could set up the web container so that if Rife doesn't find a resource, it would look on the filesystem? So I guess I could just have folder with the player and skin files.Still not sure how that would work. So, let me think out loud here... The URL for my "page" (Element) is:/subsite/plan?planiId=1So the Player Object will look for the player SWF and Skin files in the same "directory," /subsite/FLVPlayer_Progressive.swf and /subsite/farmSkin_large.swf. So I can create a directory structure that mimicks the Rife URLs, and the container would try the Rife filter then, er, something else that looks for static resources on the filestytem. Wouldn't that work?The URL for the actual movie, which would be streamed from the CM subsystem, can be (at least) relative to the "page," e.g.: ../content/video/1/movie.flv--so the content management URL would work fine *except* that I need the .flv added. Can one specify that URLs that match a certain _expression_ should have a suffix appended? Or something?Thanks again,- JT
>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="" > codebase=""http://download.macromedia.com/pub/shockwave/cabs/flash/" target=_blank>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
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
