WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Firefox plugins for videos  (Read 2638 times)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Firefox plugins for videos
« on: October 31, 2015, 03:57:42 AM »
Which plugins should be installed to make FF play videos (youtube/vimeo) out of the box?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Firefox plugins for videos
« Reply #1 on: October 31, 2015, 04:11:43 AM »
Firefox can play video via HTML5 out of the box but if you need Flash you can install  getFlash11.tcz  which contains a script to download latest Flash11 an create an extension (flash11.tcz) which will be set on-boot automatically.
Download a copy and keep it handy: Core book ;)

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Firefox plugins for videos
« Reply #2 on: October 31, 2015, 06:01:42 AM »
Firefox can play video via HTML5 out of the box

That is not quite correct. Firefox for Linux can not play MP4 (H.264 / AAC) via HTML5 by default.

It's all explained in the following thread, which also explains what to install to be able to play back MP4 via HTML5:

http://forum.tinycorelinux.net/index.php/topic,18484.0.html

 ;)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox plugins for videos
« Reply #3 on: October 31, 2015, 06:03:18 AM »
Firefox can play video via HTML5 out of the box but if you need Flash you can install  getFlash11.tcz  which contains a script to download latest Flash11 an create an extension (flash11.tcz) which will be set on-boot automatically.

Sorry for the dumb question: How getFlash11 is started? I tried
Code: [Select]
./getFlash11 but that did not work ...

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Firefox plugins for videos
« Reply #4 on: October 31, 2015, 06:10:32 AM »
Either just run
Code: [Select]
getFlash11.sh

or, from your Window Manager's desktop menu, "Applications" -> "getFlash11".

--

I didn't say Firefox can play anything. YouTube works without Flash. No idea what video format is used in that case. Hopefully we can get rid of Flash entirely at some point.
Download a copy and keep it handy: Core book ;)

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Firefox plugins for videos
« Reply #5 on: October 31, 2015, 06:16:24 AM »
Sorry for the dumb question: How getFlash11 is started? I tried
Code: [Select]
./getFlash11 but that did not work ...

You don't need Flash for YouTube nor Vimeo.

You simply need to install the following extensions:

ffmpeg.tcz
gstreamer0.10.tcz
gst-plugins-base0.10.tcz
gst-plugins-good0.10.tcz
gst-plugins-bad0.10.tcz
gst-plugins-ugly0.10.tcz
gst-ffmpeg.tcz

and making sure that media.gstreamer.enabled is set to true in about:config, then Firefox should be able to play MP4 videos through HTML5.

It's all explained over there:

http://forum.tinycorelinux.net/index.php/topic,18484.0.html

Offline pq5190362

  • Sr. Member
  • ****
  • Posts: 286
Re: Firefox plugins for videos
« Reply #6 on: October 31, 2015, 06:21:44 AM »
YouTube works without Flash. No idea what video format is used in that case.

YouTube uses WebM if the browser does not support MP4 (H.264 / AAC):

https://en.wikipedia.org/wiki/WebM

Again, once you install GStreamer and FFmpeg/Libav though, Firefox for Linux can also play MP4 via HTML5.

Again, it's all already explained over there:

http://forum.tinycorelinux.net/index.php/topic,18484.0.html

 ;)

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox plugins for videos
« Reply #7 on: October 31, 2015, 08:02:35 AM »
Thanks to you all: well explained. And i think i got it!!  :D :D

Ah, i forgot: the h.264 extension is useful? I never saw that beast  in slackware ... (?)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox plugins for videos
« Reply #8 on: October 31, 2015, 01:26:01 PM »

Sorry for the dumb question: How getFlash11 is started? I tried
Code: [Select]
./getFlash11 but that did not work ...


If you use the terminal then simply load getFlash11, then enter  getFlash.sh   (without the ./) to get flash with the latest security patches which will play your videos perfectly
example:   
Code: [Select]
tc@box:~$ tce-load -i getFlash11
getFlash11 is already installed!
tc@box:~$ getFlash11.sh
Downloading Adobe Flash version 11.2.202.540...
Done.
Copying files and setting permissions...
Done.
Creating tcz extension in /mnt/sda3/tc6-x86/optional/upgrade...
Done.
flash11.tcz was updated in /mnt/sda3/tc6-x86/optional/upgrade, PLEASE REBOOT TO APPLY UPDATE.
tc@box:~$

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox plugins for videos
« Reply #9 on: October 31, 2015, 02:48:03 PM »
With all the HTML5 chatter, we may forget that Firefox for Linux also plays h264/aac video and audio from an MP4 container via Flash11 without installing any other player or codec extensions
8)


Though it's nice to have alternatives available to Flash

 
« Last Edit: October 31, 2015, 02:50:36 PM by coreplayer2 »

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Firefox plugins for videos
« Reply #10 on: November 01, 2015, 01:03:23 AM »
HTML5 didn't made me forget about Flash yet. Both are terrible to be used for streaming though, on a low spec netbook with a crappy internet connection that is - Have also seen bad performance on high spec laptops running on battery with excellent net connection. Too bad it's sometimes assumed most users of the Web use 'capable' hardware. Watching those videos via local media player gives way better performance, fast seeking, other pros etc. My low spec netbook has 2GB RAM which is sufficient to hold several videos (in /tmp/) since Tiny Core itself doesn't need much (a little more than 100MB RAM usage if the system is relatively 'bloated'). Watching videos in the browser with this box is no joy. For those folks where it works... "Yay!" - Otherwise there are alternatives.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: Firefox plugins for videos
« Reply #11 on: November 01, 2015, 07:17:26 AM »
Just one thing I have discovered.  There can be a performance issue while watching video via Flash11 when VLC is loaded.   
For now, I place VLC in Ondemand so that none of it's new streaming capabilities effect Flash11

Offline emninger

  • Sr. Member
  • ****
  • Posts: 267
Re: Firefox plugins for videos
« Reply #12 on: November 01, 2015, 08:35:22 AM »
HTML5 didn't made me forget about Flash yet. Both are terrible to be used for streaming though, on a low spec netbook with a crappy internet connection that is - Have also seen bad performance on high spec laptops running on battery with excellent net connection. Too bad it's sometimes assumed most users of the Web use 'capable' hardware. Watching those videos via local media player gives way better performance, fast seeking, other pros etc. My low spec netbook has 2GB RAM which is sufficient to hold several videos (in /tmp/) since Tiny Core itself doesn't need much (a little more than 100MB RAM usage if the system is relatively 'bloated'). Watching videos in the browser with this box is no joy. For those folks where it works... "Yay!" - Otherwise there are alternatives.

Think of mine ;) Delli1011(v), 1 gig ram, 16 gig sata flash ...