Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inv_sig_helper currently failing causing "The media could not be loaded..." #32

Open
Bobettemcnugget opened this issue Nov 14, 2024 · 1 comment

Comments

@Bobettemcnugget
Copy link

Hello,

We've had a brief chat about this on Matrix however, here's a quick recap of the problem:

Currently all videos on my instance are showing the "The media could not be loaded..." error while using Dash.

Example video ID used while testing: StrqBbYFViI

This is the errors thrown by the dev tools:

Uncaught (in promise) DOMException: The media resource indicated by the src attribute or assigned media provider object was not suitable.

The invidious instance it self shows all 200s:

2024-11-14 15:27:59 UTC [info] 200 GET /watch?v=StrqBbYFViI 1251.34ms

2024-11-14 15:27:59 UTC [info] 200 GET /api/manifest/dash/id/StrqBbYFViI?local=true&unique_res=1 1.13ms

2024-11-14 15:27:59 UTC [info] 200 GET /api/v1/storyboards/StrqBbYFViI?height=90 1.7ms

inv_sig_helper throws the following:


[2024-11-14T15:27:58Z INFO  inv_sig_helper_rust::player] Fetching player JS URL: https://www.youtube.com/s/player/0ccfa671/player_ias.vflset/en_US/base.js

[2024-11-14T15:27:59Z WARN  inv_sig_helper_rust::player] nsig function ending did not work: =\s*function(\([\w]+\)\{\s*var\s+[\w\s]+=[\w\.\s]+?\.call\s*\([\w\s$]+?,[\(\)\",\s]+\)[\S\s]*?\}\s*return [\w\.\s$]+?\.call\s*\([\w\s$]+?\s*,[\(\)\",\s]+\)\s*\}\s*;)

[2024-11-14T15:27:59Z INFO  inv_sig_helper_rust::player] sig code: var RCa;var TL={Se:function(a){a.reverse()},

    db:function(a,b){a.splice(0,b)},

    KQ:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};RCa=function(a){a=a.split("");TL.Se(a,12);TL.KQ(a,30);TL.Se(a,17);TL.db(a,1);return a.join("")}
[2024-11-14T15:27:59Z INFO  inv_sig_helper_rust::player] sig code: var RCa;var TL={Se:function(a){a.reverse()},

    db:function(a,b){a.splice(0,b)},

    KQ:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};RCa=function(a){a=a.split("");TL.Se(a,12);TL.KQ(a,30);TL.Se(a,17);TL.db(a,1);return a.join("")}
@unixfox
Copy link
Member

unixfox commented Nov 14, 2024

this could actually be a non-issue this "did not work": #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants