Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC
Commits:
52df7ff8 by Pierre Ynard at 2022-11-19T08:38:20+01:00
youtube.lua: update for player config definition site change
Fixes #27529
(cherry picked from commit a0b3c43815328dd5e73485f912ee2fb9e46bfb4a)
Signed-off-by: Steve Lhomme <[email protected]>
- - - - -
1 changed file:
- share/lua/playlist/youtube.lua
Changes:
=====================================
share/lua/playlist/youtube.lua
=====================================
@@ -855,8 +855,10 @@ function parse()
end
-- JSON parameters, also formerly known as "swfConfig",
- -- "SWF_ARGS", "swfArgs", "PLAYER_CONFIG", "playerConfig" ....
- if string.match( line, "ytplayer%.config" ) then
+ -- "SWF_ARGS", "swfArgs", "PLAYER_CONFIG", "playerConfig",
+ -- "ytplayer.config" ...
+ if string.match( line, "ytInitialPlayerResponse ?= ?{" )
+ or string.match( line, "ytplayer%.config" ) then
-- Classic parameters - out of use since early 2020
if not fmt then
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/52df7ff818cc517a55220c6b89017fe51404c7c3
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/52df7ff818cc517a55220c6b89017fe51404c7c3
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits