LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 06-10-2020, 11:41 AM   #1
2cl
LQ Newbie
 
Registered: Jun 2020
Posts: 1

Rep: Reputation: Disabled
Can't watch videos from YouTube


I can't watch YouTube videos in a fresh Bodhi installation with default Epiphany browser.
User-agent?, lib?
 
Old 06-11-2020, 09:26 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 819

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
Hello

Do you have flash plugin installed?

if not then:

sudo apt update && sudo apt install flashplugin-installer

Stefan
 
1 members found this post helpful.
Old 06-11-2020, 10:26 AM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,878

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Best solution for youtube is youtube-dl. Either download the video then watch it, or pipe the output of youtube-dl into your favorite media player. All those videos have 5 or 6 different resolutions that you can watch. Pick which one you wish. It's such a handy tool, I don't know why a linux user would not have it installed.
 
1 members found this post helpful.
Old 06-11-2020, 10:40 AM   #4
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 819

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
I do not think youtube-dl is a best solution. It is a good solution for downloading, but I doubt it is cool for watching videos. People like YT suggestions, playlists etc.

S
 
1 members found this post helpful.
Old 06-11-2020, 05:55 PM   #5
IvoryMale
Member
 
Registered: Apr 2020
Location: Delaware The First State
Distribution: Bodhi Linux
Posts: 45

Rep: Reputation: Disabled
Command-line programs are not for everyone I use a few of them but not youtube-dl
 
Old 06-11-2020, 10:49 PM   #6
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 503

Rep: Reputation: 185Reputation: 185
Quote:
Originally Posted by 2cl View Post
I can't watch YouTube videos in a fresh Bodhi installation with default Epiphany browser.
User-agent?, lib?
You could try
Code:
sudo apt install libavcodec57
I don't think youtube uses flash video anymore.
 
3 members found this post helpful.
Old 06-12-2020, 08:14 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,310
Blog Entries: 27

Rep: Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876Reputation: 4876
Start your browser from the command line and immediate go to Youtube and click to watch a video. You might see some helpful error messages thrown to the command line in the terminal. If so, post them here, beind sure to surround them by "code" tags, which become available when you click the "Go Advanced" button beneath the compose/edit post windows.
 
1 members found this post helpful.
Old 06-13-2020, 12:41 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,541
Blog Entries: 9

Rep: Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055Reputation: 4055
I do not think flashplugin is a best solution.

On my system (YMMV) epiphany itself does not have many dependencies, but it does depend on webkit2gtk, which has these as optional dependencies:

gst-plugins-good: media decoding
gst-plugins-bad: media decoding
gst-libav: nonfree media decoding

Install all of them.

Packages might have slightly different names on Ubuntu, so start with a search:
Code:
apt search gstreamer
According to enigma9o7 you'd need "gstreamer1.0-libav" I guess.
 
Old 06-13-2020, 07:14 AM   #9
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,878

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
Can't get much easier and trouble free than:
Code:
url="https://www.youtube.com/watch?v=6aTXO0kP1ig"

mpv $(youtube-dl -f 18 -g "$url")
Or if you want to stream it without it downloading, in case you want to see a few seconds of it:
Code:
url=$(youtube-dl -f 18 -g "$url")

mplayer "$url"
And of course I would put that into a bash script.

You can watch youtube videos with lynx, dillo or w3m like that. Browser is irrelevant. And since that's python, you can always import that into a python script from youtube_dl import YoutubeDL and do what you wish with that data.

If you watch videos online, can't think of a handier tool than youtube-dl. It works for Twitter, Fox news, Cbs, Facebook, it also works on .m3u8 playlists for sites that are not supported.
Code:
youtube-dl --list extractors
Missing out if you ignore that little tool. Just like you are missing out if you ignore bash.
 
Old 06-14-2020, 02:38 PM   #10
IvoryMale
Member
 
Registered: Apr 2020
Location: Delaware The First State
Distribution: Bodhi Linux
Posts: 45

Rep: Reputation: Disabled
Install a browser like Firefox or Firefox-ESR or Firefox-Beta or Pale Moon Browser...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Youtube videos whose display is too large for the window they are shown in, firefox, youtube-dl and mplayer porphyry5 Linux - General 9 05-24-2018 03:22 PM
LXer: Youtube-DL A Command-Line & GUI Youtube, Facebook, Dailymotion Videos Downloading Tool For Li LXer Syndicated Linux News 0 10-11-2015 02:51 PM
LXer: youtube-dl – download Youtube videos from linux command Line LXer Syndicated Linux News 0 06-24-2014 12:11 PM
LXer: Search YouTube videos on Ubuntu with the YouTube Lens LXer Syndicated Linux News 0 12-30-2011 08:40 PM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration