|
Author | Topic: YouTube Thumbnail Links in Posts (Read 1,693 times) |
OJ Moderator member is offline
![[avatar] [avatar]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/GOTS-OjMod-Avvy.png)
![[msn] [msn]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-msn_off.png)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Nov 2010 Gender: Male  Posts: 976 Location: California Karma: 53 |  | Re: YouTube Thumbnail Links in Posts « Reply #15 on Aug 15, 2011, 9:37am » | |
Yes! It looks alot better now. Just one more question and I'll leave you alone with this (hopefully )
Would it be possible to mod the code so that it makes all the video images the same size? I ask because I noticed that when you told me to change the top value in the .youtube_thumb img to 18px to get the nice even borders, that with one video the image would cover the Xtreme Elites Text, but with others it wouldn't. I changed it back to 10px, and none of the vids cover the text, but they don't have those nice even borders they had. So I was wondering if this was possible?
Take a look at what I mean: Clicky
|
|
|
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Re: YouTube Thumbnail Links in Posts « Reply #16 on Aug 15, 2011, 10:25am » | |
The image is the same size for all vids. Some of the thumbnails will have the black bars above and below just like on dvds, movies if they are in widescreen format. Test with a "full screen" video like the one in my first post. Or that vid on the top right is full screen.
The red border is the outline of the actual thumbnails.
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
OJ Moderator member is offline
![[avatar] [avatar]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/GOTS-OjMod-Avvy.png)
![[msn] [msn]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-msn_off.png)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Nov 2010 Gender: Male  Posts: 976 Location: California Karma: 53 |  | Re: YouTube Thumbnail Links in Posts « Reply #17 on Aug 15, 2011, 10:39am » | |
Ahh I see. Hmm, but then there would be no way for me to control what type of video I get right? It would depend on how the hoster uploaded that vid. Would there be anything else I could do?
|
|
|
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Re: YouTube Thumbnail Links in Posts « Reply #18 on Aug 15, 2011, 10:54am » | |
The thumbnail image is created by YouTube. I'm not adding the black bars. The only thing I did is change the height which sets the width proportionaly (keeps the aspect ratio). So no. You have no control over it. The only way is for you to make your own thumbnail and manually put it in a post as an image link to the vid. lol
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
OJ Moderator member is offline
![[avatar] [avatar]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/GOTS-OjMod-Avvy.png)
![[msn] [msn]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-msn_off.png)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Nov 2010 Gender: Male  Posts: 976 Location: California Karma: 53 |  | Re: YouTube Thumbnail Links in Posts « Reply #19 on Aug 15, 2011, 11:00am » | |
Aww, that sucks. 
But oh well. Thanks for everything Sub. Awesome code, quality like always.
|
|
|
aRMY83 Elite Member IOD Supporter member is offline
![[avatar] [avatar]](http://i1043.photobucket.com/albums/b436/army83_2010/ronsAvatar.jpg)
It's me!
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2010 Gender: Male  Posts: 1,077 Location: Just a Stone's Throw Away! Karma: 40 |  | Re: YouTube Thumbnail Links in Posts « Reply #20 on Aug 15, 2011, 4:59pm » | |
SubDevo...
When you say "You may add a border to the CSS without any issues.", where, if I may ask, where is it? I've tried it and it shows nothing.
Note: Is the border suppose to go all the way around the thumbnail image?
|
|
|
OJ Moderator member is offline
![[avatar] [avatar]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/GOTS-OjMod-Avvy.png)
![[msn] [msn]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-msn_off.png)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Nov 2010 Gender: Male  Posts: 976 Location: California Karma: 53 |  | Re: YouTube Thumbnail Links in Posts « Reply #21 on Aug 15, 2011, 6:09pm » | |
Aug 15, 2011, 10:25am, SubDevo wrote: I could be wrong, but I think the CSS is for those border Sub is pointing out. But like I said, I could be wrong.
|
|
|
aRMY83 Elite Member IOD Supporter member is offline
![[avatar] [avatar]](http://i1043.photobucket.com/albums/b436/army83_2010/ronsAvatar.jpg)
It's me!
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2010 Gender: Male  Posts: 1,077 Location: Just a Stone's Throw Away! Karma: 40 |  | Re: YouTube Thumbnail Links in Posts « Reply #22 on Aug 15, 2011, 7:30pm » | |
Thanks OJ for the input, but tried that with a light background with no affect of seeing any kind of border. Was looking for a border tho, that is somewhat like yours, and if I may add, SHARP it is!
Cheers....
|
|
|
OJ Moderator member is offline
![[avatar] [avatar]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/GOTS-OjMod-Avvy.png)
![[msn] [msn]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-msn_off.png)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Nov 2010 Gender: Male  Posts: 976 Location: California Karma: 53 |  | Re: YouTube Thumbnail Links in Posts « Reply #23 on Aug 15, 2011, 7:59pm » | |
Oh no see, those red borders aren't really there. Sub took a ss of my thread where HE put the borders to show me where the borders are supposed to be. But who knows, you might be able to put borders like that.
|
|
|
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Re: YouTube Thumbnail Links in Posts « Reply #24 on Aug 16, 2011, 1:42am » | |
Ok folks, since, it seems everyone wants it more customizable, I TOTALLY changed the code. Now, you can specify the small logo image URL and with the new CSS you can position, size, add borders etc to the actual thumbnail image and the logo image. If you replace your current code (if you have it default), you will not see any visual differences. But, it will be ready if you wish to customize it in the future.
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
aRMY83 Elite Member IOD Supporter member is offline
![[avatar] [avatar]](http://i1043.photobucket.com/albums/b436/army83_2010/ronsAvatar.jpg)
It's me!
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2010 Gender: Male  Posts: 1,077 Location: Just a Stone's Throw Away! Karma: 40 |  | Re: YouTube Thumbnail Links in Posts « Reply #25 on Aug 16, 2011, 3:38pm » | |
Oh yeah Sub, no complaints on the change, and again, one nice code, indeed!
Cheers to ya buddy....
|
|
|
LunyRed Senior Member member is offline
![[avatar] [avatar]](http://i208.photobucket.com/albums/bb261/Sid_Jr0602/Avatars_II/Upset_Kuro_Usagi_100x100.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Sept 2009 Gender: Male  Posts: 542 Location: An archipelago in SE Asia Karma: 14 |  | Re: YouTube Thumbnail Links in Posts « Reply #26 on Aug 16, 2011, 10:12pm » | |
I missed what the fuss is about. 
It seems this code has been customized even more than the original. I like how this has turned out, judging from the screenshot samples OJ has posted.
|
![[image] [image]](http://i741.photobucket.com/albums/xx54/44udonge/Mine/GOTS-ProudMember-LunyRed.png) [ME] and I are best buddies~ Unlike me, [ME] is obsessed with Justin Bieber.. o_o' |
|
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Re: YouTube Thumbnail Links in Posts « Reply #27 on Aug 16, 2011, 11:30pm » | |
Yes Luny. Replace the code I gave you with this one. It will look exactly the same but it is more customizable. I updated the code post with new instructions and a second "black" background image as another option (at the bottom of the post).
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
LunyRed Senior Member member is offline
![[avatar] [avatar]](http://i208.photobucket.com/albums/bb261/Sid_Jr0602/Avatars_II/Upset_Kuro_Usagi_100x100.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Sept 2009 Gender: Male  Posts: 542 Location: An archipelago in SE Asia Karma: 14 |  | Re: YouTube Thumbnail Links in Posts « Reply #28 on Aug 16, 2011, 11:47pm » | |
Excellent! Can't wait to update! You're awesome, Sub! X3
|
![[image] [image]](http://i741.photobucket.com/albums/xx54/44udonge/Mine/GOTS-ProudMember-LunyRed.png) [ME] and I are best buddies~ Unlike me, [ME] is obsessed with Justin Bieber.. o_o' |
|
LunyRed Senior Member member is offline
![[avatar] [avatar]](http://i208.photobucket.com/albums/bb261/Sid_Jr0602/Avatars_II/Upset_Kuro_Usagi_100x100.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Sept 2009 Gender: Male  Posts: 542 Location: An archipelago in SE Asia Karma: 14 |  | Re: YouTube Thumbnail Links in Posts « Reply #29 on Nov 8, 2011, 7:45pm » | |
Bump!
Sub isn't around.. Now that the background for the YouTube player has been more customizable, I've thought of something to push it further to the next level. So I'd like to ask this:
If the forum is using different skins, which parts of the code should the If-Else statements be applied? (the entire part)
To anyone who knows, thank you in advance!
|
![[image] [image]](http://i741.photobucket.com/albums/xx54/44udonge/Mine/GOTS-ProudMember-LunyRed.png) [ME] and I are best buddies~ Unlike me, [ME] is obsessed with Justin Bieber.. o_o' |
|
|