NPO
me
2017-03-09/21:31
NPO seems to have switched to HLS for future media. Could you please add support? Here's an example: http://www.npo.nl/rutger-maxim-op-campagne/09-03-2017/POW_03483414
sebaro
2017-03-10/10:16
Try this:

http://isebaro.com/viewtube/viewtubeplus.user.js

For live streams, the script will show a message, send it to me.
sebaro
2017-03-11/16:53
I can't test them but I think the second will expire too. Try it after a while.
me
2017-03-13/21:40
I don't know how long it will take before they will expire but for this moment they are still working.
sebaro
2017-03-13/21:48
Changed to use the second stream.
me
2017-03-13/22:24
Thank you. Now for the recorded videos not all resolutions are supported, is there something you can do about that?
sebaro
2017-03-14/08:41
How do you know there are other resolutions?
Do all videos have them? If not give me some that have higher/different resolutions.
me
2017-03-21/22:22
When I open the m3u8 file directly with MPV I get the max resolution of 1024x576. This applies to all recorded videos. With ViewTube I get 960x540 as max resolution.
sebaro
2017-03-22/08:11
For this video:
https://www.npo.nl/rutger-maxim-op-campagne/09-03-2017/POW_03483414
The videos are here:
http://ida.omroep.nl/app.php/POW_03483414?adaptive=no&token=[TOKEN]
Token is here:
http://ida.omroep.nl/app.php/auth

With adaptive=no, I get three streams labeled Hoog, Normal and Laag each redirecting to an m4v stream:
Hoog/SD:960x540
Normal/LD:640x360
Laag/VLD:480x270

With adaptive=yes, I get an HLS/M3U8 stream too, labeled Adaptive with four resolutions:
480x270
640x360
768x432
1024x576

The script uses adaptive=no, so it should get the three m4v streams.
What do you get and what do you need? Do you prefer HLS?
me
2017-03-22/17:46
Thanks for your explanation. I had no clue about adaptive=yes and adaptive=no. In that case I would prefer adaptive=yes.
sebaro
2017-03-22/21:05
Added HLS.
me
2017-03-22/22:12
Great, it's perfect now. Nice to see you even kept the old streams.
windows 7 + youtube
rich
2017-03-17/10:21
hello ,

on windows 7 and later firefox esr (45) the script viewtube does not work anymore with youtube. do i need to change something in the settings on youtube? on firefox 24 it still functional.

thanks
rich
2017-03-17/10:25
ok, i found out, i had to switch to youtube-classic in the settings,

thanks
sebaro
2017-03-18/09:28
I've added some YouTube Material Design support here:
http://isebaro.com/viewtube/viewtube-youtube-material-design.user.js
RTL XL
me
2017-03-22/22:18
Can you please also revise RTL XL?
ViewTube resolves a resolution of 704x400 while MPV + youtube-dl resolves 1280x720.
Here's an example:
http://www.rtlxl.nl/#!/rtl-late-night-301978/9bb1fc71-b787-3771-bf2f-cea1c1967991