embed a video with seaside

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

embed a video with seaside

Andreas Petermann
Hi all,

I'm trying to embed a video in my web application but without any success. So I hope you can help me. I try'd the following:

video := self tag: 'embed'.
video attributeAt: 'src' put: (self context urlForDocument: videoFileName).

When I open my application in a webbrowser (firefox 2.0) I can see the Q of the quicktime plugin within a ?.

Has anyone an idea what I can do to solve this problem?

Thanks a lot
Pete



--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: embed a video with seaside

Damien Cassou-3
Andreas Petermann a écrit :

> Hi all,
>
> I'm trying to embed a video in my web application but without any success. So I hope you can help me. I try'd the following:
>
> video := self tag: 'embed'.
> video attributeAt: 'src' put: (self context urlForDocument: videoFileName).
>
> When I open my application in a webbrowser (firefox 2.0) I can see the Q of the quicktime plugin within a ?.
>
> Has anyone an idea what I can do to solve this problem?
>  
Have you tried writing a simple web application directly in html without
seaside ? Can you see your video withing this self-made page ?
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: embed a video with seaside

Klaus D. Witzel
In reply to this post by Andreas Petermann
Hi Andreas,

IIANM I always do <embed type="mime/type" src="url" ...> like in

- http://www.publisuisse.ch/index.cfm?event=showmenupublispot

Of course the (vendor specific) embedded plugin may need more attribute  
values in order to do what you want it to do.

HTH

/Klaus

On Fri, 27 Oct 2006 12:42:31 +0200, Andreas Petermann wrote:

> Hi all,
>
> I'm trying to embed a video in my web application but without any  
> success. So I hope you can help me. I try'd the following:
>
> video := self tag: 'embed'.
> video attributeAt: 'src' put: (self context urlForDocument:  
> videoFileName).
>
> When I open my application in a webbrowser (firefox 2.0) I can see the Q  
> of the quicktime plugin within a ?.
>
> Has anyone an idea what I can do to solve this problem?
>
> Thanks a lot
> Pete
>
>
>


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: embed a video with seaside

Andreas Petermann
In reply to this post by Damien Cassou-3
> > Hi all,
> >
> > I'm trying to embed a video in my web application but without any
> success. So I hope you can help me. I try'd the following:
> >
> > video := self tag: 'embed'.
> > video attributeAt: 'src' put: (self context urlForDocument:
> videoFileName).
> >
> > When I open my application in a webbrowser (firefox 2.0) I can see the Q
> of the quicktime plugin within a ?.
> >
> > Has anyone an idea what I can do to solve this problem?
> >  
> Have you tried writing a simple web application directly in html without
> seaside ? Can you see your video withing this self-made page ?

Yes, I have written a simple xhtml example which embed a video on my harddisk, I include it with:

 <embed src="file:///path_to_my_video/video.mpg" type="video/mpeg"/>

In this way all works fine, but it doesn't with seaside.

I have also tried it out with the object tag, but in this way my browser shows nothing, with embed tag I can see at least the Q within ? which indicates me that the browser knows to use a plugin.

Pete
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: embed a video with seaside

Klaus D. Witzel
Hi Andreas,

on Fri, 27 Oct 2006 13:59:16 +0200, you wrote:

>> > Hi all,
>> >
>> > I'm trying to embed a video in my web application but without any
>> success. So I hope you can help me. I try'd the following:
>> >
>> > video := self tag: 'embed'.
>> > video attributeAt: 'src' put: (self context urlForDocument:
>> videoFileName).
>> >
>> > When I open my application in a webbrowser (firefox 2.0) I can see  
>> the Q
>> of the quicktime plugin within a ?.
>> >
>> > Has anyone an idea what I can do to solve this problem?
>> >
>> Have you tried writing a simple web application directly in html without
>> seaside ? Can you see your video withing this self-made page ?
>
> Yes, I have written a simple xhtml example which embed a video on my  
> harddisk, I include it with:
>
>  <embed src="file:///path_to_my_video/video.mpg" type="video/mpeg"/>
>
> In this way all works fine, but it doesn't with seaside.
>
> I have also tried it out with the object tag, but in this way my browser  
> shows nothing, with embed tag I can see at least the Q within ? which  
> indicates me that the browser knows to use a plugin.

This is perhaps so. You can confirm it by finding the corresponding http  
request in the logfile of your webserver. This info at that location is  
authoritative and ultimative.

HTH

/Klaus

> Pete


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Re: embed a video with seaside

Andreas Petermann
> >> > Hi all,
> >> >
> >> > I'm trying to embed a video in my web application but without any
> >> success. So I hope you can help me. I try'd the following:
> >> >
> >> > video := self tag: 'embed'.
> >> > video attributeAt: 'src' put: (self context urlForDocument:
> >> videoFileName).
> >> >
> >> > When I open my application in a webbrowser (firefox 2.0) I can see  
> >> the Q
> >> of the quicktime plugin within a ?.
> >> >
> >> > Has anyone an idea what I can do to solve this problem?
> >> >
> >> Have you tried writing a simple web application directly in html
> without
> >> seaside ? Can you see your video withing this self-made page ?
> >
> > Yes, I have written a simple xhtml example which embed a video on my  
> > harddisk, I include it with:
> >
> >  <embed src="file:///path_to_my_video/video.mpg" type="video/mpeg"/>
> >
> > In this way all works fine, but it doesn't with seaside.
> >
> > I have also tried it out with the object tag, but in this way my browser
>  
> > shows nothing, with embed tag I can see at least the Q within ? which  
> > indicates me that the browser knows to use a plugin.
>
> This is perhaps so. You can confirm it by finding the corresponding http  
> request in the logfile of your webserver. This info at that location is  
> authoritative and ultimative.
>
> HTH
>
> /Klaus
>
> > Pete
I'm sorry, but I don't know what you mean. Seaside is logging the http request?

Pete

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside