adding the 'mqdefault' to: <media:thumbnail yt:name= + their url in the api #194
Replies: 20 comments
-
you're probably looking for |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
-
can you send the SWF(s?) attached here? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
also, which script has something on where u this (http://[]) just redirects to the main page? i wanna it to redirect to (/main/main.html) instead of this page: |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
/player responses (that have googlevideo URLs):
for those reasons straight up giving googlevideo URLs through yt2009 is unsuitable and won't be happening. |
Beta Was this translation helpful? Give feedback.
-
may i have another package of the apiplayer that is from after november 15th 2012 or during sometime in 2013? |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions