Click here to register.
      
IRC banner


     Discuss > WebGUI Dev Goto page «Previous Page   1 2    Next Page»

Flash slideshow as free software in WebGUI

User arjan
Date 2/21/2008 6:57 am
Views 2722
Rating 6    Rate [
|
]
Previous · Next
User Message
arjan

Dear all,

As I've said in a reply on The Black Blog we now use a proprietary flash tool on one of our sites under construction. We're not completely happy with it. For example it doesn't display a play button that cannot be overlooked like Youtube does. But mainly because it's not free software, so we can't continue to develop it. 

That's why we're going to (let a flash company) make such a tool with a GPL v.2 attached, like WebGUI has. We like to donate this tool to the WebGUI community and we hope that it will be integrated into WebGUI, so it will work out of the box. I think it's a cool thing to have in a default install, because it looks good and is very easy for a content manager to manipulate.

Attached is the specification we've written so far. Not yet in the specification is that the actionscript will be in external files, so they are more easily editable. We keep working on this specification until next wednesday, the 27th of February. We will discuss the final specification on the 5th of March and it will be ready (tested and bugfixed) on the 19th of March. 

Not in the specification is that the XML is generated by a templatable macro now called XMLThread.pm in an AssetProxy to give it an XML mime type. The macro instantiates a Thread asset, gets the template vars and returns the thing with a templateId that is passed to the macro as a parameter. So one macro on the site will do for all collaboration systems. 

Of course this could be a package and a macro that are submitted on the 'get add ons' section. However, it's quite hard to install. You have to install the macro, put the javascripts and actionscripts somewhere and make sure they are refecenced correctly in the templates. Besides I'm interested in the question if it is perceived as disirable to put it in the standard distribution and even more: can more general guidelines be formulated regarding when such a thing can become part of WebGUI. 

 

Kind regards,

Arjan Widlak

United Knowledge
Internet for the public sector

www.unitedknowledge.nl



Attached Files
Back to Top
Rate [
|
]
 
 
JT
> Of course this could be a package and a macro that are submitted on  
> the 'get add ons' section. However, it's quite hard to install. You  
> have to install the macro, put the javascripts and actionscripts  
> somewhere and make sure they are refecenced correctly in the  
> templates. Besides I'm interested in the question if it is perceived  
> as disirable to put it in the standard distribution and even more:  
> can more general guidelines be formulated regarding when such a  
> thing can become part of WebGUI.
>
>

I think the slide show player is an excellent idea. You may want to  
point your developer to the Yahoo Astra site (http://developer.yahoo.com/flash/astra-flash/
) as they already have controls for menus, alerts, and audio playback  
which could speed development. In addition, if the final result is a  
high quality (in terms of code quality, presentation, and usability)  
I'd certainly welcome it into the core.

However, the XMLThread macro is not something I would allow into the  
core. In reading about it, it sounds like a hack. In addition, now  
that we have a real photo gallery in WebGUI, I wouldn't want to  
encourage people to continue using the collaboration system for photo  
slide shows. Certainly people are still going to, especially those  
that have been using WebGUI for years, but it's not something I would  
want to promote.

It is certainly something that we could and would build directly into  
the photo gallery templates. I could also see people building  
templates using it into the CS and Folder assets.

JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
arjan

Hi JT,

Glad you like the idea. And I will have a look at Yahoo's Flash developer center.

You say that it sounds like a hack, but unless I'm mistaken, in any case, whether it's a CS, a thread, a folder and - I guess - the new gallery asset, you need a macro/assetproxy combination to display the contents in the desired XML format. 

Another way to do this is to make a shortcut, override the template and place the shortcut in an assetproxy. However, this is not user-friendly: you need to make a shortcut and place it an assetproxy every time again. You won't make content manager happy with that. In my solution, you always call the one and the same url with an assetId.

There is - to my knowledge - no other or general way to display the contents of an asset with another template and an XML mime type other than writing a macro for it and put it in an AssetProxy to overwrite the mime-type.

Of course an other way would be to give every asset an extra XML template and the ability to be called as XML with an XML mimetipe. 

Just for complete information, this is the url with an example assetId that the swf calls for:

http://www.webgui-help.nl/webgui-help-monoslideshow.xml?thread=f7k9j4RqUhp9wvDtWLpm7Q

Right now, this macro only handles threads. In the top of the template of this macro, some additional configuration information is sent to the swf. The template loop starts at <album thumbnail=. 

 

Kind regards,

Arjan Widlak

United Knowledge
Internet for the public sector

www.unitedknowledge.nl



Back to Top
Rate [
|
]
 
 
JT
> There is - to my knowledge - no other or general way to display the  
> contents of an asset with another template and an XML mime type  
> other than writing a macro for it and put it in an AssetProxy to  
> overwrite the mime-type.
>

Well actually the CS does have an XML feed on it...the RSS feed. But  
really the point I was making is that this is much cooler and not a  
hack if it's directly integrated with the assets in question, rather  
than strapped on as a macro.


JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
JT
> There is - to my knowledge - no other or general way to display the  
> contents of an asset with another template and an XML mime type  
> other than writing a macro for it and put it in an AssetProxy to  
> overwrite the mime-type.
>

Well actually the CS does have an XML feed on it...the RSS feed. But  
really the point I was making is that this is much cooler and not a  
hack if it's directly integrated with the assets in question, rather  
than strapped on as a macro.


JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
JT
> There is - to my knowledge - no other or general way to display the  
> contents of an asset with another template and an XML mime type  
> other than writing a macro for it and put it in an AssetProxy to  
> overwrite the mime-type.
>

Well actually the CS does have an XML feed on it...the RSS feed. But  
really the point I was making is that this is much cooler and not a  
hack if it's directly integrated with the assets in question, rather  
than strapped on as a macro.


JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
arjan


But  really the point I was making is that this is much cooler and not a  
hack if it's directly integrated with the assets in question, rather  
than strapped on as a macro.

Let me check if I understand correctly:

- the asset in question should have an RSS view with the images available as template variables

- you put the flash html in one of the asset's normal templates

- you select the approriate RSS template to go along with the flash player

- and in the normal template you call the assets own url with some parameter to make it display the RSS feed.

If that is what you mean, I would guess that may be more elegant form a programmers' point of view, but the content manager has to select an extra template that has to make a working combination. 

 

Does your preference for using the gallery in combination with the flash player have consequences for the specifications of the player? 

 

Kind regards,

Arjan Widlak

United Knowledge
Internet for the public sector

www.unitedknowledge.nl



Back to Top
Rate [
|
]
 
 
JT
> If that is what you mean, I would guess that may be more elegant  
> form a programmers' point of view, but the content manager has to  
> select an extra template that has to make a working combination.
>

No. That's not what I mean. I'm saying you could do it that way, not  
that I'm suggesting you do it that way.

The real solution is that this should be FULLY INTEGRATED into what  
ever app you want to use it on. So that you don't need a custom  
template, you don't need a custom macro, you don't need anything. It  
*just works*. It's just part of the photo gallery for example. So when  
you create a new album in the gallery, the album automatically gives  
you a slide show page which has the player on it.

> Does your preference for using the gallery in combination with the  
> flash player have consequences for the specifications of the player?
>
None that I can think of.




JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
arjan
Hi JT,

Ok. Something that just works is nice. And I agree it's a good plan to
try to build upon this app, so it can be used in one app now, the
gallery for example, as well as in other apps later.

One of the features we try to build into the flash file now, is the
ability to add an audio file to the collection of images, or perhaps to
every single image. I guess that's not something that be facilitated by
the Gallery, or is it?

And more along the lines of the essential question I have: learn to
predict what demands have to be met to contribute. Is what you are
saying:
a) lets divide the work, send me the flash file and I'll build it into
the Gallery?
b) for this to get into the main distribution, I think you should fully
integrate it into the Gallery or
c) I'm working on something else right now, and I like the idea, but I
want to do it myself, later, maybe.

Wednesday at the end of the day I'm going to send the specifications to
another company that will make the flash file. We'll have a final talk
about it at the 5th of March and then they will begin. So - for anyone -
if there are any remarks, please send them now.

Kind regards,
Arjan.



Back to Top
Rate [
|
]
 
 
JT
> One of the features we try to build into the flash file now, is the
> ability to add an audio file to the collection of images, or perhaps  
> to
> every single image. I guess that's not something that be facilitated  
> by
> the Gallery, or is it?

Not now, but that doesn't mean that it couldn't be at some point. One  
of the things we've planned into the gallery api was the ability to  
have other plugin types for it, for movies, mp3s and perhaps other  
stuff. That way the gallery can do not only what Flickr does, but also  
what youtube does, and also be able to be a podcaster. What if your  
flash system could detect whether it was an image or an mp3 in the  
playlist. If it's an image then it would go into the rotation, if it's  
an mp3 it would automatically play under the slide show. And if there  
are multiple mp3's it would play them one after the other. I suppose  
if you wanted to get really fancy you could even throw in the ability  
to play flv's as slides.


> And more along the lines of the essential question I have: learn to
> predict what demands have to be met to contribute. Is what you are
> saying:
> a) lets divide the work, send me the flash file and I'll build it into
> the Gallery?

I'd of course like to see the flash app before we commit to anything.

> b) for this to get into the main distribution, I think you should  
> fully
> integrate it into the Gallery or
> c) I'm working on something else right now, and I like the idea, but I
> want to do it myself, later, maybe.

What I'm saying is that if you build the flash app, and it's of high  
quality, either we will build it into the gallery (time permitting) or  
I will give you the go-ahead to build it into the gallery. Then it  
will get in depending upon who has time first.


> Wednesday at the end of the day I'm going to send the specifications  
> to
> another company that will make the flash file. We'll have a final talk
> about it at the 5th of March and then they will begin. So - for  
> anyone -
> if there are any remarks, please send them now.


See above.

JT Smith
ph: 703-286-2525 x810
fx: 312-264-5382

Create like a god. Command like a king. Work like a slave.



Back to Top
Rate [
|
]
 
 
     Discuss > WebGUI Dev Goto page «Previous Page   1 2    Next Page»




Re: is there a an audio/video gallery wobject? by preaction - Sat @ 09:43am

is there a an audio/video gallery wobject? by orenshani - Sat @ 02:36am

Smoketest For nightly_2008-10-11 by Visitor - Sat @ 01:55am

Smoke Test for WebGUI (Stable) (2005-01-23) by botaction - Sat @ 01:50am

Smoke Test for SVN (2005-01-23) by botaction - Sat @ 01:43am

Partner for Feature: Document Repository by JT - Fri @ 04:11pm

Error in log. by pvanthony - Fri @ 12:46pm

Re: Goals by JT - Fri @ 12:31pm

Re: Images in RSS-Syndicated asset by elnino - Fri @ 12:25pm

Re: Password Recovery info wrong by dwittenberg - Fri @ 12:04pm

Re: Password Recovery info wrong by dwittenberg - Fri @ 12:03pm

Re: WebGUI::Crypt by JT - Fri @ 11:56am

Re: Images in RSS-Syndicated asset by ehab - Fri @ 11:52am

Re: Images in RSS-Syndicated asset by elnino - Fri @ 11:47am

Re: Password Recovery info wrong by knowmad - Fri @ 11:18am