sudo make me a browser
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dmedia |
Fix Released
|
High
|
Jason Gerard DeRose |
Bug Description
I had Tara try apt-get install without sudo, then with sudo, and then showed her the XKCD "sudo make me a sandwich" comic, and now we have many running "sudo" jokes in the house.
This is a bug to track landing the foundation of the Dmedia browser. I've got some rough work in progress UI in place, plus a whole bunch of plumbing that was needed.
Soon we'll use a custom URI handler GStreamer plugin so the video playback doesn't use HTTP, but for now as a stop gap, we're playing back from the native Dmedia HTTP server, which means I had to make some changes:
* It now properly handles HTTP range requests (lesson learned: WebKit wont play your video unless you return a proper 206 Partial Content for range requests)
* It now also returns the proper Content-Type, plus the importer now saves doc['content_type'] (which is where the file server gets the content type from)
This isn't quite "done" as in as all the features we want in the browser, but this is a good stopping point to check this into trunk before the next steps, and before this turns into crazy big diff happy fun time.
Related branches
- James Raymond: Approve
-
Diff: 1807 lines (+590/-729)21 files modifieddmedia-service (+1/-1)
dmedia-service3 (+2/-0)
dmedia-transcoder (+2/-2)
dmedia/client.py (+2/-2)
dmedia/extractor.py (+68/-1)
dmedia/importer.py (+5/-0)
dmedia/local.py (+5/-0)
dmedia/server.py (+138/-12)
dmedia/tests/test_server.py (+67/-1)
dmedia/views.py (+55/-7)
gen-proxies.py (+1/-0)
relink.py (+30/-0)
test-client-server.py (+6/-8)
ui/browser.css (+38/-0)
ui/browser.html (+32/-0)
ui/browser.js (+0/-145)
ui/couch.js (+0/-500)
ui/index.html (+14/-4)
ui/signal.js (+90/-16)
ui/style.css (+34/-4)
ui/test_browser.js (+0/-26)
Changed in dmedia: | |
status: | In Progress → Fix Committed |
Changed in dmedia: | |
status: | Fix Committed → Fix Released |
Ah, I should note that although video playback is working (as is silky smooth), there is a bug where GStreamer/WebKitGtk hangs sometimes when you switch between videos by changes video.src on the <video> element:
https:/ /bugs.launchpad .net/ubuntu/ +source/ webkit/ +bug/906784
https:/ /bugs.webkit. org/show_ bug.cgi? id=74986
I think this might be a fairly minor, easy to fix bug, but as it stands, it's pretty hard to actually use the Dmedia video browser.