Hi all.
Does anybody have any examples of how to display a mpg or mp3, as I can't seem to find any?
I was looking for the code for reading from my server directory and from a Seaside.WAFile.
Regards,
Dirk
_______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I have code for displaying quicktime, flash, and wmv movies but
serving the movies with Apache. Are you interested in that, or did you want to open the file and serve it through the image? - Brian On Sep 29, 2007, at 1:52 AM, dirk newbold wrote: > Hi all. > > Does anybody have any examples of how to display a mpg or mp3, as I > can't seem to find any? > > I was looking for the code for reading from my server directory and > from a Seaside.WAFile. > > Regards, > > Dirk > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Anything at this stage of the game I'm just looking to get something working.
And without being too cliche... cool name by the way... I hope you've seen 'Two Hands'. Cheers, Dirk On 9/30/07, Brian Brown <[hidden email]> wrote: I have code for displaying quicktime, flash, and wmv movies but _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Sep 30, 2007, at 1:27 AM, dirk newbold wrote: > Anything at this stage of the game I'm just looking to get > something working. I use an object tag, and sometimes an embed tag (which I had to create since it is deprecated and not part of Seaside). Here are the methods I use for quicktime and wmv: (myVideoURL returns an http url to the video served by apache.) quicktimeVideoOn: html ((self session headerAt: 'user-agent') match: '*IE*') ifTrue: [ html object width: '418px'; height: '313px'; id: 'stepVideo'; standby: 'loading quicktime movie'; classId: 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B'; codebase: 'http://www.apple.com/qtactivex/qtplugin.cab'; with: [ html parameter name: 'src'; value: self myVideoURL. html parameter name: 'autoplay'; value: 'true'. html parameter name: 'controller'; value: 'false'. html parameter name: 'loop'; value: 'false']] ifFalse: [ html embed attributeAt: 'src' put: self myVideoURL; attributeAt: 'controller' put: 'false'; attributeAt: 'loop' put: 'false'; attributeAt: 'scale' put: 'Aspect'; attributeAt: 'pluginspage' put: '"http://www.apple.com/quicktime/ download/'; type: 'video/quicktime'; width: '418px'; height: '313px'; url: self currentStepVideoUrl]. ^ true wmvVideoOn: html html object type: 'video/x-ms-wmv'; width: '418px'; height: '313px'; id: 'stepVideo'; standby: 'loading windows movie'; url: self myVideoURL; with: [ html parameter name: 'url'; value: self myVideoURL. html parameter name: 'autostart'; value: 'true'. html parameter name: 'controller'; value: 'false']. ^ true > > > And without being too cliche... cool name by the way... I hope > you've seen 'Two Hands'. I haven't (but I will after looking at IMDB...) - but I'm familiar with the actor :-) Cheers, Brian > > > Cheers, > > Dirk > > > > On 9/30/07, Brian Brown <[hidden email]> wrote: I have code for > displaying quicktime, flash, and wmv movies but > serving the movies with Apache. > > Are you interested in that, or did you want to open the file and > serve it through the image? > > > - Brian > > On Sep 29, 2007, at 1:52 AM, dirk newbold wrote: > > > Hi all. > > > > Does anybody have any examples of how to display a mpg or mp3, as I > > can't seem to find any? > > > > I was looking for the code for reading from my server directory and > > from a Seaside.WAFile. > > > > Regards, > > > > Dirk > > _______________________________________________ > > Seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks very much just the help I needed.
On 10/1/07, Brian Brown <[hidden email]> wrote:
_______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |