SD
Hugh
2019-06-23/18:47
Getting a txt trying to use the no audio standard definition video mp4 option.

https://www.youtube.com/watch?v=NmPBu2DCn_Q

All the other mp4 options are functioning correctly.

Hugh
2019-06-23/18:48
I should mention I'm using the latest viewtube.

sebaro
2019-06-23/22:22
There are two types of streams in the DASH format, those that have "source=youtube" and other with "source=yt_otf", the latter are fragments only and the stream won't work because there's a stream for each fragment. So I can't make it work with my scripts.

Vimeo
Hugh
2019-07-11/13:49
Using viewtube if you go to a user page e.g. https://vimeo.com/user79053249

The script doesn't initiate on the video on that page.

It's not a big issue obviously but would be a neat feature.

Hugh
2019-07-14/13:59
Both fixes working.

One last unrelated issue.

The script runs on a page like this: http://botchamania.com/2019/06/30/botchamania-389/

It has YouTube/Vimeo/Dailymotion embeds on that page and I can see the script is active from the Greasemonkey drop down menu but doesn't do anything. Any chance to stop it doing that?

sebaro
2019-07-14/14:51
I don't see it in Firefox in "User scripts for this tab".

The script already blocks iframes, "@noframes" in metadata and "if (window.top != window.self) return;" in the code.

Hugh
2019-07-14/15:23
I believe instead of @include it's @match for the domains and it will activate on the matched official site and not a third party. I could be wrong as I have no expertise in this sort of thing. But I see people use @match in their scripts.

Hugh
2019-07-14/15:38
I added these to the script.

// @exclude *://www.youtube.com/embed/*
// @exclude *://player.vimeo.com/video/*
// @exclude *://www.dailymotion.com/embed/*

And now it does not show up.

Hugh
2019-07-14/15:40
By show up, I mean I stopped it running on that page, just in case you think I broke something lol.

sebaro
2019-07-14/18:08
How do you know is running on that page? Do you have a screen capture?

Hugh
2019-07-15/13:01
I attempted to use alt+prtsc but the drop down menu conceals back. Not sure what else to use.
It shows up in the drop down menu underneath my running scripts. I think what happens is it makes an attempt to run but fails since there is a faint line in the menu dividing it from the running scripts.

sebaro
2019-07-15/14:01
Firefox/GM versions?

Hugh
2019-07-15/15:40
Firefox 52 ESR
GM 3.11

sebaro
2019-07-15/17:05

Hugh
2019-07-16/18:45
I've put off browser upgrading this long, I'll live with it since it's negligible and takes 2 mins for me to fix after an update.

sebaro
2019-07-16/20:55
I don't know about your version by the GM version I use has exclude options per script so you don't have to edit the script.

Audio
Alex
2019-07-12/16:29
MessageHi again, is it possible to have high bitrate audio OPUS as the default? I mainly open music tracks and long dj sets with no actual video and the opus streams seem to load instantly and seek more quickly (not to mention better quality). Sometimes I just use 'get link' to copy the direct opus stream into VLC and I can control the volume with hotkeys while gaming but to have a page open with it set to Opus straight away would be super nice.

If possible, would this work with the FF addon or would I need to use the greasmonkey script to edit it? I was a greasemonkey user but now just have VT in FF addons instead.

Thanks.

sebaro
2019-07-12/19:09
I don't understand, default where?

You can set a browser protocol and open any stream with an external player, details on the script page.

There should be no difference between using the Greasemonkey user script or the WebExtensions addon (Firefox, Chromium etc.).

Alex
2019-07-13/00:37
What I mean is each time I open a link I have to click the box to select the type of stream I want. What I wish is to open a link and the opus already be displayed without me having to click on it from the menu. It always defaults to the low def or high def mp4 video formats which is useless for audio mixes with just a picture in the backround.

I told FF to open webm (which opus links appear to be) in VLC but after clicking 'get link' in VT it opens another tab in FF and plays it in a player in the FF tab. Don't know whats going on there maybe I selected webm when its another file type.

sebaro
2019-07-13/09:23
The script autoselects only videos, to have an audio selected when opening a video you have to remove all videos from the "ytVideoFormats" in the script. This means you have to edit the script and if you use the addon you have to sign it before you can use it in Firefox.

The browser plays any media link if it has support for its content (mime type). If you open "about:config" and search for "opus" you can see if it has support for it and if it's enabled.

Unable
Red
2019-07-16/04:37

sebaro
2019-07-16/11:33
Assuming ViewTube, try this update:
http://sebaro.pro/viewtube/files/viewtubetest.user.js

Hugh
2019-07-16/18:39
https://vimeo.com/347175838

There are 2k and 4k quality options available that are not picked up by ViewTube.

sebaro
2019-07-16/20:52
For 2K the scripts gets FHD/1080, I can also add QHD/1440.

For 4K they use adaptive streaming (HLS) so not playable on browser, but I can add it if you use external players.

Hugh
2019-07-17/13:08
Your call on 4k. Void for me since I don't have a 4k screen anyway lol. Just pointing out things I notice.