Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Videoner

0x639d1dec74 edited this page Jan 14, 2017 · 13 revisions

Description

This extension allows you to open links in video sharing platforms in an external application.

Prerequisites

The Videoner-extension has to be activated as described in the chapter General Configuration on the extensions homepage. In addition you will have to install SMPlayer and youtube-dl. Both applications are available in the official repositories of the most major distributions.

Please note: The Videoner-extension is not included in the QupZilla-tarballs as well as in the packages of Linux distributions and Windows. If you want to make use of it, you are kindly asked to compile it for yourself as described in the BUILDING-instructions.

Configuration

Please note: The following instructions are applicable for Unix-like systems only.

Please paste this

#!/bin/sh
smplayer -close-at-end `youtube-dl -g --prefer-free-formats --no-check-certificate $1`

into a text file and save it as `qzvideonerview` in `$HOME\bin`, which should be in your path *(Hint: You can check this by invoking `~>echo $PATH`.)*. At last make it executable (`chmod +x ./qzvideonerview`).

On the next images you will find a tested and working configuration:

conf2 conf3 conf4
Image 1: Settings, General Image 2: Settings, YouTube Image 3: Settings, Media Elements

Notes:

  • You can use Videoner for YouTube directly with SMPlayer (see Image 2)
  • YouTube-dl does currently not support hulu.com.
  • DailyMotion is able to block requests from non-browser applications. If this is the case, you will not be able to view media contents. The following error message will be displayed:
    Error detected
    Unfortunately this video can't be played.
    The server returned '403: Forbidden'
  • Videoner only enables the menu item Videonize!and passes the URL of a page to an external media-player. All other capabilities like for example viewing videos from a page using just its URL or the required muxers/ demuxers must be provided by the external media-player. As written above we recommend using SMPlayer.

Usage

After completion of these steps right-clicking on an embedded video on a video sharing platform will add the Videonize! menu entry to the context menu:

yt1
Image 4: Videoner, Context menu

Clicking Videonize! will open the selected video in the external application you have configured. This extension is very useful, if you have problems with playing videos due to QtWebkit issues.

Example

Visit Youtube.com and enter "QupZilla" in the searchbar. QupZilla will display the search results, each of them contains media content.

yt2
Image 5: Videoner, Example on Youtube.com

Now, instead of doing a left-mouse-click on the content to be selected, please do a right-mouse-click and the context menu will offer the entry Videonize!:

yt3
Image 6: Videoner, Context menu

After clicking on Videonize! the media content will be opened with the application, that has been defined in the configuration:

yt4
Image 6: Videoner, media content opened in an external application

Clone this wiki locally