Showing posts with label browser plugin. Show all posts
Showing posts with label browser plugin. Show all posts

Wednesday, 30 April 2014

Good bye Totem browser plugin

10 years ago, I committed the first version of a browser plugin in Totem's source code tree. Today, it's going away.

The landscape of video on the Web changed, then changed back again, and web technologies have moved on. We've witnessed:

  • The fall of RealPlayer
  • The rise of Flash video players, as a way to turn videos into black boxes with minimal "copy protection" (cf. "YouTube downloader" in your favourite search engine)
  • The rise and precipitous fall of Silverlight (with only a handful of websites, ever, or still, using it)
  • And most importantly, the advent of HTML5's <video> tag
Totem's browser plugin did as good a job as it could mimicking legacy web browser plugins from other platforms, such as QuickTime or Windows Media Player (even we stopped caring about the RealPlayer mimicking).

It wasn't helped by the ill-defined Netscape Plugin APIs (NPAPI) which meant that we never knew whether we'd receive a stream for the video we were about to play, or maybe not at all, and when you request one, you'd get one automatic one and the one you requested, or whether it would download empty files. Or we couldn't tell to open in another application when clicking directly on a file. All in all, pretty dire.

We made attempts at replacing the Flash plugin for playing back videos, but the NPAPI meant that we needed to handle everything or nothing. Ideally, we'd have been able to tell the browser to use our browser plugin for websites that we could support through libquvi, and either fallback to a placeholder or the real Flash plugin for other cases. NPAPI didn't allow us to do that.

The current state of media playback in browsers on Linux is such that:
Given all this, and the facts that Totem's browser plugin will not work on Wayland (it uses XEmbed to slot into the browser UI), that its UI is pretty broken since the redesign of the main player (not unfixable, but time consuming), and that it does not work properly in GNOME's own web browser (due to bad interactions between Clutter and GL acceleration in WebKit), I think it's time to call it a day.

Good bye Totem browser plugin.

I'll miss the clever puns of your compatibility plugins (Real Player/Complex and QuickTime/NarrowSpace being the best ones). I won't miss interacting with ill-defined APIs and buggy implementations.

Monday, 2 June 2008

More chpe rocking!

GNOME hero Christian Persch did it again. He removed all the Mozilla-specific code from Totem's web browser plugin, meaning it should now work with WebKit. All the code's in totem trunk.

Monday, 25 February 2008

Friday, 5 October 2007

Hmmm, networking multimedia

After working around (read: that's not a proper fix) some stupidness in MythTV's frontend, my DVB-T experience just got a lot better, as I can finally watch the stuff I record. That includes recording all the Match Of The Day shows (just in case), as well as the kinky Secret Diary Of A Callgirl.

After switching the Mac Mini to wired, the network is fast enough for the MythTV sources in GStreamer to stream to Totem, as well as streaming via UPNP to the PS3. The UPNP framework in MythTV doesn't export a lot of the things it could, such as a thumbnail, the length of the movie, etc.

Just like chpe, I've been getting increasingly frustrated at the Web going to Flash Video for streaming, instead of sticking to the embedded movie player. I guess that targetting one platform (Flash) as opposed to the big three (WMP, Real and Quicktime), is a boon for Web developers. And that's how EA pushes the online replays from FIFA.

And to the PS3 again, with Frank's help, I've fixed up Rhythmbox' UPNP source.

So, on the TODO list:
  • Better UPNP in Rhythmbox
  • Finishing MythTV support in Totem
  • More work on the browser plugin
Feel free to help, or send me stuff from my wishlist. It's just like writing code.

Monday, 10 September 2007

More website videos and sports

This week-end, I added yet a bit more functionality to our NarrowSpace plugin (ie. the QuickTime compatibility plugin), implementing another bunch of missing Javascript functions.

If you have a website where some buttons don't work, take a look at the output of your web browser (using firefox -debug for Firefox, mozilla -debug for Mozilla, etc.), and you might see things like:
** Message: WARNING: Site uses unimplemented function 'totemINarrowSpacePlayer::GetRate'
Then file a bug against Totem's browser plugin component, with the debug output messages, and the URL to access the page in question. Hopefully, we'll be able to implement the missing functionality, as we've done for the Apple site above.

As for sports, I caught the France - Italy game on Saturday in a local French pub, after having watched England - Israel. And my cousin has made the Solheim Cup team this year (it's the Woman's equivalent to the Ryder Cup). Starts on Friday, I hope she does well.

Thursday, 16 August 2007

Lazy^WWindows web, can you help?

Trying to fix a little Totem bug, could anyone with a Windows machine and Windows Media Player 11 copy the output of this page in the comments (of the blog, or in the bug)?

Thanks!

Note that I tried to install it with Wine, but no luck, at all.