LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   dwb web browser youtube_html5 extension not working (https://www.linuxquestions.org/questions/linux-desktop-74/dwb-web-browser-youtube_html5-extension-not-working-4175449617/)

crosstalk 02-10-2013 11:11 PM

dwb web browser youtube_html5 extension not working
 
I've recently started learning how to use the dwb web browser, and am having an issue trying to get the youtube_html5 extension working.

I am doing this in Mint 14 Xfce (based on Ubuntu 12.10).

I've placed the youtube_html5 extension into ~/.local/share/dwb/extensions/youtube_html5, and the following userscript into ~/.config/dwb/userscripts/youtube_html5.js
Code:

#!javascript

extensions.load("youtube_html5", {
        togglePlay : "yp"
});

When I run dwb from a terminal, it reports that the youtube_html5 extension has been loaded correctly. However, if I visit a youtube video, all I get is a "click to enable flash." If I click this, I get "Missing Plugin"

What should I do to debug this issue?

Thank you for any help.

TobiSGD 02-12-2013 07:46 AM

Did you sign up for the Youtube HTML5 beta?
https://www.youtube.com/html5

crosstalk 02-12-2013 10:09 AM

Yes I did, but it still won't play all videos. Videos that are normally available under HTML5 play fine, though.

TobiSGD 02-12-2013 04:07 PM

Quote:

Originally Posted by crosstalk (Post 4889941)
Yes I did, but it still won't play all videos. Videos that are normally available under HTML5 play fine, though.

Not all videos are available as HTML, do you have the Flashplayer installed for those that are not?

crosstalk 02-12-2013 07:28 PM

Quote:

Originally Posted by TobiSGD (Post 4890217)
Not all videos are available as HTML, do you have the Flashplayer installed for those that are not?

No -- my understanding (according to its documentation in the source at bitbucket.org) is that youtube_html5 should still work even if the video isn't available in html5 for other browsers (i.e. youtube-dl can still download the video). Perhaps this is wrong...

Oh well. I'd rather download the rare (with my browsing habits) youtube video via youtube-dl than have flash installed (my experiences with flash have been less than stellar...) (and yes, I'm aware that dwb blocks flash unless explicitly enabled, but I'm stubborn).

Thank you for your help.


All times are GMT -5. The time now is 01:43 AM.