ftde0 / yt2009

2009 youtube frontend.
Apache License 2.0
185 stars 119 forks source link

watch.swf and cps2.swf not displaying video in HD or past 360p #29

Closed NockTwelve closed 9 months ago

NockTwelve commented 10 months ago

The Flash players Within YT2009 do not seem to be rendering videos past 360p. The options will be available in the player after enabling h264 playback, but they will not display video in the selected quality (for ex. I select 480p but the flash player still renders the video in 360p) Im wondering if this is an issue aware to the developer or if this needs fixing on my own. Thanks. (The edit was made because 2010-2013 players were fixed and are working fine, Special thanks to TersisWilvin for helping me with patching those players)

NockTwelve commented 9 months ago

noticed the title change, thought this was a new issue. watch.swf, the 2009 default player, uses a different method of showing qualities than post-2010, where the formats are defined in the params instead of a separate get_video_info request. specifically, fmt_url_map and fmt_map params are set. however, those are only set when the default player is used and is at /watch.swf. otherwise it is treated as an alt player and won't have those. cps players are barely maintained so it's hard to tell from the top of my head. if you're looking for original cps/cpb players, open this url - https://web.archive.org/web/*/http://s.ytimg.com/yt/swfbin/* and once the list loads do a search for "cps" to find those. that's also mentioned in /alt-swf/readme.md.

I did take a look prior to your post however as I said earlier I was not successful into finding the same dark theme playlist player, will try looking again in a bit. Edit: I did find a dark theme player but it's just cps.swf but dark theme.

pic Anyway to fix default player not displaying? (ive repatched the raw .swf multiple times and still no result)

Make sure the default player you're patching is named watch.swf.

Yea i got it fixed a few hours ago after i realized i was trying to use the watch_v8(etc) .swf player instead of watch.swf

NockTwelve commented 9 months ago

image

noticed the title change, thought this was a new issue. watch.swf, the 2009 default player, uses a different method of showing qualities than post-2010, where the formats are defined in the params instead of a separate get_video_info request. specifically, fmt_url_map and fmt_map params are set. however, those are only set when the default player is used and is at /watch.swf. otherwise it is treated as an alt player and won't have those. cps players are barely maintained so it's hard to tell from the top of my head. if you're looking for original cps/cpb players, open this url - https://web.archive.org/web/*/http://s.ytimg.com/yt/swfbin/* and once the list loads do a search for "cps" to find those. that's also mentioned in /alt-swf/readme.md.

I did take a look prior to your post however as I said earlier I was not successful into finding the same dark theme playlist player, will try looking again in a bit. Edit: I did find a dark theme player but it's just cps.swf but dark theme.

pic Anyway to fix default player not displaying? (ive repatched the raw .swf multiple times and still no result)

Make sure the default player you're patching is named watch.swf.

image

jackhacksren commented 9 months ago

where is the conclusion to this right now

ftde0 commented 9 months ago

noticed the title change, thought this was a new issue.

watch.swf, the 2009 default player, uses a different method of showing qualities than post-2010, where the formats are defined in the params instead of a separate get_video_info request. specifically, fmt_url_map and fmt_map params are set.

however, those are only set when the default player is used and is at /watch.swf. otherwise it is treated as an alt player and won't have those.

cps players are barely maintained so it's hard to tell from the top of my head. if you're looking for original cps/cpb players, open this url - https://web.archive.org/web/*/http://s.ytimg.com/yt/swfbin/* and once the list loads do a search for "cps" to find those. that's also mentioned in /alt-swf/readme.md.

this is most likely what you're looking for when it comes to higher qualities.