| Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 6 | |
Hello! I want to embed a Phonon::VideoWidget in demo browser. I have made this widget as a part of browser code. It's not a seperate application or library. I read the demo browser blog and the example of plug in in that. I also tried to do something similar , but could not get the whole picture from Trolltech docs and the blog. Can anyone pls explain me the steps clearly, towards achieving this objective. Also how would be HTML code so that I can show a Phonon::VideoWidget in the demo browser at a location which I can specify. Later I would like this Phonon::VideoWidget to be embedded using a Java Script. regards -Nitin Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
Hi again, So, what exactly didn't work with the hints you were given before on this very topic? What have you tried yourself? Andrà "Nitin Mahajan" <nitinm76@xxxxxxxxx> wrote in message news:467928.85557.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Hello! > > I want to embed a Phonon::VideoWidget in demo browser. I have made this > widget as a part of browser code. It's not a seperate application or > library. > I read the demo browser blog and the example of plug in in that. I also > tried to do something similar , but could not get the whole picture from > Trolltech docs and the blog. > > Can anyone pls explain me the steps clearly, towards achieving this > objective. > > Also how would be HTML code so that I can show a Phonon::VideoWidget in > the demo browser at a location which I can specify. > > Later I would like this Phonon::VideoWidget to be embedded using a Java > Script. > > regards > > -Nitin > > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > -- > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with > "unsubscribe" in the subject or the body. > List archive and information: http://lists.trolltech.com/qt-interest/ -- [ signature omitted ]
"Nitin Mahajan" <nitinm76@xxxxxxxxx> wrote in message > I want to embed a Phonon::VideoWidget in demo browser. You may be interested in this: http://labs.trolltech.com/blogs/2008/05/13/top-secret-hush-hush/ Tor Arne -- [ signature omitted ]
--- On Mon, 26/5/08, Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> wrote: > From: Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> > Subject: Re: Embedding Phonon::VideoWidget in demo browser > To: qt-interest@xxxxxxxxxxxxx > Date: Monday, 26 May, 2008, 4:50 PM > "Nitin Mahajan" <nitinm76@xxxxxxxxx> wrote > in message > > I want to embed a Phonon::VideoWidget in demo browser. > > You may be interested in this: > > http://labs.trolltech.com/blogs/2008/05/13/top-secret-hush-hush/ But this would be available only with Qt 4.5. regards -Nitin > > Tor Arne > > -- > Tor Arne Vestbø, Software Engineer > Trolltech ASA, Oslo, Norway > http://www.trolltech.com/ > > -- > To unsubscribe - send a mail to > qt-interest-request@xxxxxxxxxxxxx with > "unsubscribe" in the subject or the body. > List archive and information: > http://lists.trolltech.com/qt-interest/ Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
Nitin Mahajan wrote: > But this would be available only with Qt 4.5. True. Plus WebKit trunk. And nightly snapshots of Qt, once we move to developing there. Tor Arne -- [ signature omitted ]
--- On Mon, 26/5/08, Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> wrote: > From: Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> > Subject: Re: Embedding Phonon::VideoWidget in demo browser > To: qt-interest@xxxxxxxxxxxxx > Date: Monday, 26 May, 2008, 4:56 PM > Nitin Mahajan wrote: > > But this would be available only with Qt 4.5. > > True. Plus WebKit trunk. And nightly snapshots of Qt, once > we move to > developing there. Do you mean that, today if I take the nightly snapshot of QT and WebKit trunk, HTML 5 video tags will work straight away? regards -Nitin > > Tor Arne > > -- > Tor Arne Vestbø, Software Engineer > Trolltech ASA, Oslo, Norway > http://www.trolltech.com/ > > -- > To unsubscribe - send a mail to > qt-interest-request@xxxxxxxxxxxxx with > "unsubscribe" in the subject or the body. > List archive and information: > http://lists.trolltech.com/qt-interest/ Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
Nitin Mahajan wrote: > Do you mean that, today if I take the nightly snapshot of QT and > WebKit trunk, HTML 5 video tags will work straight away? Yes, that should work. Note though it's a WIP, so all the features that you may need might not be there yet. Give it a spin and let us know. Tor Arne -- [ signature omitted ]
--- On Mon, 26/5/08, Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> wrote: > From: Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> > Subject: Re: Embedding Phonon::VideoWidget in demo browser > To: qt-interest@xxxxxxxxxxxxx > Date: Monday, 26 May, 2008, 5:26 PM > Nitin Mahajan wrote: > > Do you mean that, today if I take the nightly snapshot > of QT and > > WebKit trunk, HTML 5 video tags will work straight > away? > > Yes, that should work. Note though it's a WIP, so all > the features that > you may need might not be there yet. Give it a spin and let > us know. qt-embedded-linux-4.5 at rsync is the correct one ? -Nitin > > Tor Arne > > -- > Tor Arne Vestbø, Software Engineer > Trolltech ASA, Oslo, Norway > http://www.trolltech.com/ > > -- > To unsubscribe - send a mail to > qt-interest-request@xxxxxxxxxxxxx with > "unsubscribe" in the subject or the body. > List archive and information: > http://lists.trolltech.com/qt-interest/ Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
On Monday 26 May 2008 14:15:54 Nitin Mahajan wrote: > > Yes, that should work. Note though it's a WIP, so all > > the features that > > you may need might not be there yet. Give it a spin and let > > us know. > > qt-embedded-linux-4.5 at rsync is the correct one ? That's Qt/Embedded Linux, the package formerly known as Qtopia Core. You probably want the qt-all-4.5 rsync instead. Also note what Tor Arne said: you need to get WebKit trunk from their Subversion server and replace the QtWebKit that is in the Qt package. -- [ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.
--- On Mon, 26/5/08, Thiago Macieira <thiago.macieira@xxxxxxxxxxxxx> wrote: > From: Thiago Macieira <thiago.macieira@xxxxxxxxxxxxx> > Subject: Re: Embedding Phonon::VideoWidget in demo browser > To: qt-interest@xxxxxxxxxxxxx > Date: Monday, 26 May, 2008, 5:51 PM > On Monday 26 May 2008 14:15:54 Nitin Mahajan wrote: > > > Yes, that should work. Note though it's a > WIP, so all > > > the features that > > > you may need might not be there yet. Give it a > spin and let > > > us know. > > > > qt-embedded-linux-4.5 at rsync is the correct one ? > > That's Qt/Embedded Linux, the package formerly known as > Qtopia Core. If I need to work on Qt/Embedd still I need to take qt-all-4.5, I can't use qt-embedded-linux-4.5? Also I tried #rsync -avz rsync://rsync.trolltech.com/qt-embedded-linux-4.5 . and got this error on Ubuntu 8.04 LTS. @ERROR: chroot failed rsync error: error starting client-server protocol (code 5) at main.c(1383) [receiver=2.6.9] Any pointers on this? > > You probably want the qt-all-4.5 rsync instead. > > Also note what Tor Arne said: you need to get WebKit trunk > from their > Subversion server and replace the QtWebKit that is in the > Qt package. Thanks for the inputs, I will try and get back. Are these steps mentioned some where? Meaning steps to build, if I am taking webkit from webkit snapshot? > > -- > Thiago José Macieira - thiago.macieira AT trolltech.com > Trolltech ASA - Sandakerveien 116, NO-0402 Oslo, Norway Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
Nitin Mahajan wrote: > Thanks for the inputs, I will try and get back. Are these steps mentioned some where? Meaning steps to build, if I am taking webkit from webkit snapshot? Try this: http://mondaybynoon.com/2007/04/23/installing-and-running-webkit-in-linux-using-qt/ or: http://trac.webkit.org/wiki/QtWebKit Tor Arne -- [ signature omitted ]
Hi Tor! --- On Mon, 26/5/08, Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> wrote: > From: Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> > Subject: Re: Embedding Phonon::VideoWidget in demo browser > To: qt-interest@xxxxxxxxxxxxx > Date: Monday, 26 May, 2008, 7:34 PM > Nitin Mahajan wrote: > > Thanks for the inputs, I will try and get back. Are > these steps mentioned some where? Meaning steps to build, > if I am taking webkit from webkit snapshot? > > Try this: > > http://mondaybynoon.com/2007/04/23/installing-and-running-webkit-in-linux-using-qt/ > > or: > > http://trac.webkit.org/wiki/QtWebKit I could build successfully the nightly build of WebKit with the latest snapshot of qt-embedded-linux-4.5 as per the instructions given in above link. I could run the browser with run-launcher script on my desktop on linuxfb. I executed the following HTML code with video element in that. But I could see only the first frame decoded and displayed in browser, no continuous playback, even though I have all the relevant plugins for gstreamer on my desktop. I also could not see any play, pause controls. I thought that I should be atleast able to play, just like u have shown in your blog on trolltech labs. <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <video src="file.ogg" id="ogg" controls="true"></video> </body> </html> This particular HTML file plays the video when opened in Opera Browser, so I assume that nothing wrong with the HTML code. Can you please help me here? In addition to the video frame in browser, there is one more video frame launched sparately outside browser showing the first frame of same video.What can be this? regards -Nitin Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
Nitin Mahajan wrote: > I could build successfully the nightly build of WebKit with the > latest snapshot of qt-embedded-linux-4.5 as per the instructions > given in above link. I could run the browser with run-launcher script > on my desktop on linuxfb. Great! > I executed the following HTML code with video element in that. But I > could see only the first frame decoded and displayed in browser, no > continuous playback, even though I have all the relevant plugins for > gstreamer on my desktop. I also could not see any play, pause > controls. I thought that I should be atleast able to play, just like > u have shown in your blog on trolltech labs. Try adding "autoplay" to your <video> tag, or load up this site, which has a button that uses JS to trigger play(): http://chaos.troll.no/~tavestbo/webkit/mediaelement/ The default controls are not in trunk yet, only in my torarne/mediaelement branch here: http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=shortlog;h=torarne/mediaelement You can get a tar-ball by clicking the "snapshot" link, or use git to clone the repository. Tor Arne -- [ signature omitted ]
--- On Tue, 27/5/08, Tor Arne Vestbø <tor.arne.vestbo@xxxxxxxxxxxxx> wrote: > Try adding "autoplay" to your <video> tag, > or load up this site, which > has a button that uses JS to trigger play(): The link given by you, worked fine. But the video plays too slow on my desktop itself. Next I am going to try on MIPS processor. > > http://chaos.troll.no/~tavestbo/webkit/mediaelement/ > > The default controls are not in trunk yet, only in my > torarne/mediaelement branch here: > > http://code.staikos.net/cgi-bin/gitweb.cgi?p=webkit;a=shortlog;h=torarne/mediaelement > > You can get a tar-ball by clicking the "snapshot" > link, or use git to If I use git to clone the repository, can I always do something similar to "svn update"? I have not used git, thats why asked. > clone the repository. few more questions here 1. How can I build the demobrowser with this setup, as I have not built the webkit bundled with QT? 2. Even though I built the qt/embedded with -qvfb, when ever I try to run the browser or any of the demos on QVFb, I get the following message "QVFb: driver not found". qvfb is running and same demos from my 4.4.0 Qt/embedded build work fine on QVFb. Can you please give some pointers on that? Or Shall I post this separately? regards -Nitin Send instant messages to your online friends http://uk.messenger.yahoo.com -- [ signature omitted ]
Nitin Mahajan wrote: > If I use git to clone the repository, can I always do something similar to "svn update"? Yes, you would be doing something like git pull --rebase (if you have the latest git version). > 1. How can I build the demobrowser with this setup, as I have not built the webkit bundled with QT? Your best shot is building Arora (Benjamin's fork of the demo browser) against WebKit trunk. Follow this: http://code.google.com/p/arora/wiki/source?tm=4 > 2. Even though I built the qt/embedded with -qvfb, when ever I try to run the browser or any of the demos on QVFb, I get the following message > > "QVFb: driver not found". > > qvfb is running and same demos from my 4.4.0 Qt/embedded build work fine on QVFb. > Can you please give some pointers on that? Or Shall I post this separately? I would post that separately, perhaps to Qtopia interest. Tor Arne -- [ signature omitted ]