About
ViewTube is a JavaScript application that allows viewing videos from video sharing web sites without needing to install Adobe Flash Player. ViewTube removes the embedded Flash content, searches on the video page for videos and embeds them in the classic way. Videos can be watched with the browser video player, a video plugin or an external video player. A download option is also available. Bellow are all supported sites. There is an extra script that adds support for more sites.


Sites
The main video sharing web sites on which you can watch videos using ViewTube.

Firefox
To work in Firefox, IceWeasel, IceCat, TenFourFox, Abrowser, Seamonkey it is required to install one of Greasemonkey or Scriptish add-ons.

Chromium
To work in Chromium, Chrome, Iron the script must be saved and dragged & dropped in the extensions page or installed in the Tampermonkey extension.

Epiphany
To work in Epiphany (Gnome Web) it is required to install the Greasemonkey extension from Epiphany extensions.

Midori
To work in Midori it is required to enable the User Addons extension.

Safari
To work in Safari it is required to install one of GreaseKit, NinjaKit or Geekmonkey add-ons.

OmniWeb
To work in OmniWeb it is required to install GreaseKit add-on. If the add-on doesn't work it must be enabled for OmniWeb from Safari.

Opera
To work in Opera the script must be placed in the JavaScript files directory or installed in the Violentmonkey extension.

QupZilla
To work in QupZilla a simple click on the script link should be enough.

Maxthon
To work in Maxthon it is require to install the ViewTube extension or to install the script in the Violentmonkey extension.



Linux
On Linux and BSD platforms the options for video playback are:

1. the browser video player (HTML5)

2. video plugins (NPAPI): VLC, Gecko-mediaplayer, Totem (Gnome Videos), Mozplugger

3. external video player through a protocol

3.1 Create the viewtube script, bash example using mpv for video playback

viewtube.sh
#! /bin/bash

mpv --osc --fs "$(echo "$1" | sed -e "s/viewtube://")"


3.2 Create the viewtube protocol file in ~/.local/share/applications

viewtube.desktop
[Desktop Entry]
Name=ViewTube Protocol
Exec=/path/to/viewtube.sh %u
Type=Application
Terminal=false
MimeType=x-scheme-handler/viewtube


Enable protocol:
xdg-mime default viewtube.desktop x-scheme-handler/viewtube


Test:
xdg-open viewtube:http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4


3.3 Activate the protocol

Click here to associate the script to the protocol


Windows
On Windows platform the options for video playback are:

1. the browser video player (HTML5)

2. video plugins (NPAPI): Windows Media Player, Quicktime and VLC

3. external video player through a protocol

3.1 Create the viewtube script, batch example using vlc for video playback

viewtube.bat
set video=%1
set video=%video:viewtube:=%
"C:\Program Files\VideoLAN\VLC\vlc.exe" %video%


3.2 Create the viewtube registry file, change the script path and execute it

viewtube.reg
REGEDIT4

[HKEY_CLASSES_ROOT\viewtube]
@="URL:viewtube Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\viewtube\shell]

[HKEY_CLASSES_ROOT\viewtube\shell\open]

[HKEY_CLASSES_ROOT\viewtube\shell\open\command]
@="\"D:\\Scripts\\viewtube.bat\" \"%1\""


3.3 Activate the protocol

Click here to associate the script to the protocol


Mac
On Mac platform the options for video playback are:

1. the browser video player (HTML5)

2. video plugins (NPAPI): Quicktime and VLC