Slightly long bug report. Apologies.
This might be a Firefox issue, or a NoScript issue, or both? idk.
Tested on Firefox 78.4.0esr 64-bit and Firefox 82
NoScript 11.1.4rc3
Steps to replicate the bug -
0. You will need to install
https://addons.mozilla.org/en-US/firefo ... edirector/ in either Firefox 78.4.0 / Firefox 82 and make sure the "Redirector" extension is enabled if it isn't already.
1. Set up a redirect in "Redirector" extension as the following-
Code: Select all
Description: Redirect youtube links directly to 720p video on invidious
Example URL: https://www.youtube.com/watch?v=dSu5sXmsur4
Include pattern: https://www.youtube.com/watch?v=*
Redirect to: https://invidious.fdn.fr/latest_version?id=$1&itag=22&local=true
Pattern type Wildcard
2. Go to
https://www.youtube.com/watch?v=dSu5sXmsur4
3. Redirect is triggered by the "Redirector" extension and the page will be redirected to
Code: Select all
https://invidious.fdn.fr/latest_version?id=dSu5sXmsur4&itag=22&local=true
4. But the video doesn't play. You will get an error that says "No video with supported format and MIME type found."
5. However the video works when directly visiting
https://invidious.fdn.fr/latest_version ... local=true
---------------
This wan't the case before so to confirm I wasn't misremembering, I went back and tested older NoScript version(11.0.45rc5) with the older Firefox v68 ESR.
Firefox v68 ESR
NoScript 11.0.45rc5
Steps to replicate a perfectly playing video -
0. You will need to install
https://addons.mozilla.org/en-US/firefo ... edirector/ in Firefox 68.12.0 ESR and enable the extension if it isn't already enabled. You may get Firefox 68.12.0 ESR here -
https://ftp.mozilla.org/pub/firefox/rel ... 8.12.0esr/
1. Same as Step 1 from above.
2. Same as Step 2 from above.
3. Same as Step 3 from above.
4. Unlike Step 4 from above, the video plays just fine here on FFv68 + NS 11.0.45rc5.
---------------
A more concise summary,
On Firefox v68,
with 11.0.45rc5
VIDEO PLAYBACK WORKS with "Redirector" enabled with the above Redirect rule(Step 1) set up.
VIDEO PLAYBACK WORKS if
Code: Select all
https://invidious.fdn.fr/latest_version?id=dSu5sXmsur4&itag=22&local=true
is input directly into the URL bar.
with 11.1.4rc3
VIDEO DOES NOT PLAY with "Redirector" enabled. Gives a "No video with supported format and MIME type found." error.
VIDEO DOES NOT PLAY if
Code: Select all
https://invidious.fdn.fr/latest_version?id=dSu5sXmsur4&itag=22&local=true
is input directly. Gives a "No video with supported format and MIME type found." error.
On Firefox v78 or v82
with 11.1.4rc3
VIDEO DOES NOT PLAY with Redirector enabled. Gives a "No video with supported format and MIME type found." error.
VIDEO PLAYBACK WORKS if
Code: Select all
https://invidious.fdn.fr/latest_version?id=dSu5sXmsur4&itag=22&local=true
is input directly into the URL bar.
with 11.0.45rc5
Coudn't test this one because 11.0.45rc5 had this bug that Giorgio later fixed
viewtopic.php?f=7&t=26132
VIDEO PLAYS under all the above circumstances if NoScript is disabled altogether.
--------------
Thanks for any and all help in advance. Sorry for the more tedious bug report