You are not logged in.

#1 2013-06-09 18:11:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

[soln] Empty youtube videos in Firefox with flashplugin, gnash ignored

I should admit that I know very little about videos and very rarely use them. However, I would like to be able to view videos in Firefox and so I decided to have another go at getting this to work on Arch.

I have a 64 bit system and I am using Mozilla's build of firefox for 64 bit due to problems with the packaged version and my preferred interface language. (Basically Arch's language pack doesn't work for my language.)

I checked that I have flashplugin installed from the repos. Adobe has a slightly newer version but I'm guessing this isn't the problem.

When I try to view a video on youtube, I do not get any error saying I need to install anything. I see the controls for the video (pause, play, full screen etc.) and these work but the picture is empty black. I can see individual frames as thumbnails if I use the navigational stuff.

I have noscript installed but javascript is allowed for youtube, including the google tags and syndication bits it wants to use.

Reading the wiki on browser plugins, I thought I would try gnash instead so I installed gnash-gtk and restarted firefox. Firefox recognises the new plugin and I altered the preferences so that gnash is preferred for swf files. flashplugin is still set for spl files as gnash doesn't seem to be an option for those. However, youtube videos still try to play in adobe's flash player and I am not sure what further configuration might be required.

This seemed to exhaust what I found on the wiki as it doesn't seem to anticipate problems following installations of the plugins. I found some threads on the forums. These are mostly older and/or concerned explicitly with 32 bit systems. However, I did find https://bbs.archlinux.org/viewtopic.php?pid=1108851. This sounded somewhat like my problem although I don't see just a black box - I get the controls but not the video. I therefore checked my cpuinfo and confirmed that the flags include sse2 as well as sse. (I also have sssee3, sse4_1 and sse4_2.) So I don't think my hardware is too old.  The cpu is i3.

I would be really grateful for a pointer in the right direction. I'm sure I'm being really dumb and missing something really obvious but I cannot right now see what.

Last edited by cfr (2013-06-09 21:29:15)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2013-06-09 21:27:35

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [soln] Empty youtube videos in Firefox with flashplugin, gnash ignored

OK. So here is what I ended up doing:
- disable flashplugin (i.e. Adobe's) in Firefox's plugin pane;
- restart Firefox.

This got Firefox to use gnash but it didn't work. However, this time, gnash gave me useful error messages. Actually, it gave me two and one of those told me to install gstreamer-ffmpeg. In Arch, I found gstreamer0.10-ffmpeg.
- install gstreamer0.10-ffmpeg;
- reload youtube page.

And then it worked smile.

Note that gstreamer0.10-ffmpeg isn't listed as an optional dependency for gnash and isn't mentioned on the wiki so it was really unclear to me that this was required. But at least gnash gave me a useful error message.

EDIT: Note that I can't fit [solved] in the subject - hence the abbreviation.

Last edited by cfr (2013-06-09 21:29:52)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-06-10 13:21:15

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [soln] Empty youtube videos in Firefox with flashplugin, gnash ignored

You don't need flash/gnash. Youtube videos are supposed to work out of the box. Its all HTML5.

Offline

#4 2013-06-10 16:31:08

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: [soln] Empty youtube videos in Firefox with flashplugin, gnash ignored

Last I checked their HTML5 player was still an opt-in beta or something.

Offline

#5 2013-06-10 18:37:26

89c51
Member
Registered: 2012-06-05
Posts: 741

Re: [soln] Empty youtube videos in Firefox with flashplugin, gnash ignored

SolarBoyMatt wrote:

Last I checked their HTML5 player was still an opt-in beta or something.

No. The "default" is still flash BUT if it doesn't find a flash plugin it switches to .webm. The problem is with monetized videos for which there are two solutions. Either ad (bolt)  https://www.youtube.com/tv#/watch?v=o7BBi4K_Ds8 or https://www.youtube.com/embed/o7BBi4K_Ds8 and they play just fine. Some might not play with embed (ie vevo stuff) but tv# plays everything.

Yes its annoying to have to do that but flash is a bigger pain. Blame the youtube skinflints for not making .webm default.

I also read that you can compile firefox with gstreamer support so it also plays .mp4 (vimeo) but never tried anything like that and don't know if it works.

Last edited by 89c51 (2013-06-10 18:39:05)

Offline

#6 2013-06-10 19:47:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [soln] Empty youtube videos in Firefox with flashplugin, gnash ignored

It worked fine with gnash and gstreamer0.10-ffmpeg. I don't know about the html5 option. Perhaps I would have to disable all relevant plugins to get that, in which case it would probably screw up stuff on other sites.

But it is useful to know for possible future reference, nonetheless - thanks.

Last edited by cfr (2013-06-10 19:48:04)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB