-
Notifications
You must be signed in to change notification settings - Fork 123
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
adding the 'mqdefault' to: <media:thumbnail yt:name= + their url in the api #62
Comments
you're probably looking for |
alright so, im using another apiplayer from 2014, i followed ur tutorial on patching the players. i mean, ?video_id= does actually work on my browser in both watch.swf and apiplayer.swf. but if i go to youtube xl or if u watch my footage here which is another version of leanbacklite, click on a video to watch, the videos dont display |
is your yt2009 set up on port 443? if so, the have you tried XL without modifying the SWFs? i've made a change a bit back where the players should no longer require additional setup. try making a backup of your SWF files from if that doesn't end up working, just set the port in |
i got the xl to work, but the next one is the leanbacklite swf bandicam.2024-03-21.10-15-40-625.mp4if u see me click on a video or me searching, u will see links of the api, player_204 and other links, but the chromeless host class and probably the apiplayer fails to load and play the video. bandicam.2024-03-21.10-17-25-139.mp4So this is how the video list in the leanback lite works here: class com.google.youtube.tv.tree.GDataNode extends com.google.youtube.tv.tree.ListNode
this is the chromeless host server on where it has the link to the api player path and video player controller:
|
can you send the SWF(s?) attached here? |
had a closer look at what it wants and with help of the wayback machine, i've managed to play a video with that player. apiplayer.swf contains an absolute path to the SWF file itself while the actual apiplayer it loads can be patched for a different URL in a similar way to AS2 players (2010>). there was an HTTPS force and a host check but other than that change the LIVE_BASE_URL and LIVE_GDATA_URL as always. you can also use the apiplayer in the ZIP attached above with all the fixes. we end up with a loading video. other than horrible scaling (guessing it was a thing as it was something with playing on the Wii?) it does play. |
just had a quick look and you can also attach the apiplayer you provided to the 2KB request flash (apiplayer.swf) by setting the path to the wii apiplayer in apiplayer.swf as described above. try doing that. |
i did that, but i still receive the server error on the wii, its either the youtube channel itself doing the https again, since the channel cannot do https but http only, probably because i patched the wad, due to the certificates in the content2 u8 archive, the leanbacklite wii ,or apiplayer itself is causing this problem. |
also the real question is that do u really know why the leanbacklite_wii plays videos on a computer web browser but not on macromedia flash 8 player, wii youtube app or the wii's opera browser? |
looks like flash player 8 has trouble playing back h264 MP4s (which is what is provided by default as videos start playing fast). FLVs are also supported by yt2009 and can be used in cases like those, but as videos need to be converted from MP4 to FLV before playback it can take a while for an FLV URL to play. based on that info, we can force FLVs to be used within the apiplayer. becomes
this enables playback on flash 8. i don't have a wii/wii environment to test unfortunately, so hopefully this gets it working there as well. |
the api player does play on the flv format, but only on web browsers on the pc. however for some reason though, on the wiis opera browser or other browsers, not the youtube channel but its browser, only sends a h264 format, and the flv conversion fails. on the "watch.swf", yes the mp4 converts itself to a flv finally and plays on the wii. but im not really worrying about that, im worrying about the apiplayer itself that has a hundred kilobytes. also i was talking about playing videos on a flash player 8 emulator executable that comes with the macromedia flash 8 professional, not on the browser. |
instead of using magick and ffmpeg to download videos, for the get_video?video_id= to happen, i want a google video playback url and the only maximum quality is 480p |
/player responses (that have googlevideo URLs):
for those reasons straight up giving googlevideo URLs through yt2009 is unsuitable and won't be happening. |
may i have another package of the apiplayer that is from after november 15th 2012 or during sometime in 2013? |
hi, i came here to ask, which scripts has the code on where u add the thumbnail types? i wanna add the medium quality [mqdefault] in the api:
<media:thumbnail yt:name='hqdefault' url='http://i.ytimg.com/vi/[]/hqdefault.jpg' height='240' width='320' time='00:00:00'/> // high quality
<media:thumbnail yt:name='mqdefault' url='http://i.ytimg.com/vi/[]/mqdefault.jpg' height='240' width='320' time='00:00:00'/> //medium quality
<media:thumbnail yt:name='poster' url='http://i.ytimg.com/vi/[]/0.jpg' height='240' width='320' time='00:00:00'/> //poster
<media:thumbnail yt:name='default' url='http://i.ytimg.com/vi/[]/0.jpg' height='240' width='320' time='00:00:00'/> //default
The text was updated successfully, but these errors were encountered: