Re: Advice for embeding an application in Firefox
Peter Marquardt <[email protected]> Fri, 18 Jul 2008 18:50:54 +0200
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 17.07.2008 um 17:00 schrieb Kevin DeKorte: > > Peter, > > Even with Xembed you can't do what you want to do. Your best option > would be to use a remote X term via ssh. > > Here is what a plugin could do. > > 1. You could specify a specific mimetype (application/x-term) > 2. put an embed tag on your web page like > > <embed mimetype='application/x-term' host='myhost.com' width=400 > height=300> > > 3. Write a plugin that handles the mimetype > 4. Have the plugin read the host variable and then open an ssh > connection to myhost.com > 5. The plugin would need to grab the window that is opened and > embed it > via Xembed into the browser window, or just leave it floating on your > desktop. > > I think the mozilla sample plugin is much easier to follow in this > case. > > But really a shell script would be easier to maintain and easier to > deploy. > > Kevin > > Kevin, that's exactly what i had in mind... I still can't figure, why Christophe-Marie would want to do this. I only skimmed the xembed docs, but they sound enthusiastic about being able to embed nearly any applications output into nearly any other app, so i thought this might be possible. regards, Peter Marquardt -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFIgMnyq8qXHOS9wq8RArthAJ0d826Q1RFRrfyV+tsq4IulOXS8hACfXrXg O5KUq0pEESI5t4tf2RmPzgw= =QscJ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/