You are not logged in.

#1 2014-04-08 19:21:21

MatthR3D
Member
Registered: 2013-04-29
Posts: 5

[Solved] dwb can't display HTML5 videos

Hello,

I have discovered dwb, which really interests me as a lightweight alternative to massive browsers such as Chromium. However, I don't use Flash (bleeehhhh), and I've discovered that I could not display HTML5 videos (only with dwb, that is, because Chromium does fine).
As an example, the Vimeo player (which is HTML5-based) displays this message: "Major bummer. The video can't be played with your current setup". I must add that I use dwb-git, and according to the wiki's instructions, I ran this when I noticed the bug:

sudo pacman -S --needed gstreamer0.10 gstreamer0.10-bad gstreamer0.10-bad-plugins gstreamer0.10-base gstreamer0.10-base-plugins gstreamer0.10-good gstreamer0.10-good-plugins gstreamer0.10-ugly gstreamer0.10-ugly-plugins gstreamer0.10-ffmpeg

Here are the user-agent strings compared. The main difference is the lack of image/webp acceptance in dwb.

# Chromium
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
Other HTTP headers
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding: gzip,deflate,sdch
Accept-Language: fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
DNT: 1
# dwb
User-Agent: Mozilla /5.0
Other HTTP headers
Connection: Keep-Alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0,8
Accept-Encoding: gzip,deflate
DNT: 1

I have searched dwb's website, which mentions the use of youtube-dl via an userscript. If I'm not able to fix this, I'll use the script, but in-browser videos would be more comfortable. I stumbled upon this bug report, so my hopes aren't that high ... Could you help me sort this out ?

Thanks in advance for your answers

Last edited by MatthR3D (2014-04-10 10:19:02)

Offline

#2 2014-04-08 20:32:22

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [Solved] dwb can't display HTML5 videos

Probably need to join us on the dwb thread.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2014-04-09 02:03:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] dwb can't display HTML5 videos

Can you play http://www.w3.org/2010/05/video/mediaevents.html ? I had to install gst-libav for it to work.

Offline

#4 2014-04-09 11:20:57

MatthR3D
Member
Registered: 2013-04-29
Posts: 5

Re: [Solved] dwb can't display HTML5 videos

Thanks for your replies !

nomorewindows: If I repost this on the dwb thread, will this be frowned upon as double-posting ?

karol: I tried. I can't play this. I installed gst-libav, recompiled dwb-git and gave it another shot, but I'm still not able to play the video.

I tried luakit and jumanji, and they too aren't able to play the video.

Last edited by MatthR3D (2014-04-09 11:23:01)

Offline

#5 2014-04-09 13:17:10

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [Solved] dwb can't display HTML5 videos

MatthR3D wrote:

Thanks for your replies !

nomorewindows: If I repost this on the dwb thread, will this be frowned upon as double-posting ?

The mods can merge it into the dwb thread.  You're more likely to get a response from the person who developed it in the dwb thread.

MatthR3D wrote:

karol: I tried. I can't play this. I installed gst-libav, recompiled dwb-git and gave it another shot, but I'm still not able to play the video.

It's flash, as already stated in the dwb thread just recently.  I will install this gst-libav to see what I get.

Last edited by nomorewindows (2014-04-09 13:25:10)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2014-04-09 22:22:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] dwb can't display HTML5 videos

In addition to karol's suggestion, install gst-plugins-{base,good}.

This works for me using vimprobable and webkitgtk2-2.2.5-2

The wiki should also be updated: you don't need half those gstreamer packages to make this work...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-04-09 23:27:39

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [Solved] dwb can't display HTML5 videos

Apparently I already had those too, converted over from gstreamer packages I think.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#8 2014-04-10 00:18:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] dwb can't display HTML5 videos


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-04-10 01:07:59

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [Solved] dwb can't display HTML5 videos

Vimperator is for firefox isn't it, because firefox works good with html5?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#10 2014-04-10 01:22:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] dwb can't display HTML5 videos

Vimprobable is a standalone, minimal webkit browser with Vim-like keybinds. Nothing to do with Firefox...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2014-04-10 10:07:45

MatthR3D
Member
Registered: 2013-04-29
Posts: 5

Re: [Solved] dwb can't display HTML5 videos

jasonwryan wrote:

In addition to karol's suggestion, install gst-plugins-{base,good}.

Done ! It works perfectly fine now, thanks ! I'll try removing some gstreamer packages to find which ones are really needed in order to update the wiki.

Offline

#12 2014-04-10 23:37:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] dwb can't display HTML5 videos

jasonwryan wrote:

In addition to karol's suggestion, install gst-plugins-{base,good}.

I'm using dwb-git and it depends on webkitgtk2 which in turn optionally depends on:

Name           : webkitgtk2
...
Optional Deps  : gst-plugins-base: free media decoding [installed]
                 gst-plugins-good: media decoding [installed]
                 gst-libav: nonfree media decoding [installed]

I'm not sure if more info is needed or if 'nonfree media decoding' description is correct.

Offline

#13 2014-04-10 23:40:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] dwb can't display HTML5 videos

"Optional" if you want HTML5 video...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#14 2014-04-11 01:39:37

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [Solved] dwb can't display HTML5 videos

I'm using the dwb-git and it don't play.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#15 2014-04-11 08:54:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] dwb can't display HTML5 videos

nomorewindows wrote:

I'm using the dwb-git and it don't play.

What gst package do you have installed? Is your dwb-git up to date? Are you blocking html5 with some script?

Offline

#16 2014-04-11 12:20:21

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,548

Re: [Solved] dwb can't display HTML5 videos

clutter-gst
gst-libav
gst-plugins-bad
gst-plugins-base
gst-plugins-base-libs
gst-plugins-good
gst-vaapi (just now installed, might be more compatible with intel hardware, especially since I'm using mplayer-vaapi)

Do you want gstreamer0.10 also?
Latest dwb-git, and installing gst-vaapi may have fixed it.

Last edited by nomorewindows (2014-04-11 12:23:27)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB