Forum:Youtube Player Template Help

A while back, we here at Nukapedia had access to a template that allowed the addition of a compact YTP anywhere you'd like on your user-page and/or talk-page. This feature was included when we began introducing social aspects to our wiki, such as the chat and blog features. However, this template was eventually disabled by Wikia for being intrusive, and so I would now like to ask the community here if there's a chance I can either have this template re-activated through our wiki, (I will be sending in a support ticket as well.) or if there might be an alernative I can take advantage of. You can find the currently disabled template we use here. The reason why I am looking to have this template or something similar active on my wiki, is that changes made from the YouTube team have made it impossible to create a compact YouTube video on Wikia anymore, when using the embed tool provided to us. It now just comes off looking lumpy, and unprofessional looking. I do understand the intrusive concerns though, and I will be creating a strict set of guidelines for this template, - if one is to be introduced - to combat any abuse enacted. Thank you for reading, and I will be looking forward to your ideas and constructive feedback.  Some Assembly Required! 05:46, August 29, 2012 (UTC)


 * One option that you have available is you can directly embed an iframe from youtube. I keep an example on my test wiki here. Basically it's just a page that uses verbatim tags to include the raw HTML from the associated MediaWiki page. Note: the disadvantage to this is that it requires 1 MediaWiki page per video, and you need an admin to edit the MediaWiki page. To recap: 1) get an admin to copy/paste the youtube embed code into a MediaWiki page. 2) use verbatim tags to render the HTML on a wiki page in the main namespace (or wherever you want the video). This may or may not work well for you since it requires admin access to the MediaWiki namespace. But it is an option I thought I'd throw out there.


 * Thank you for your input. :) The issue you mentioned here isn't a true one, as I am an Administrator on my home wiki. I do have one question though: How well would that work with creating a compact player? As in, all that shows is the little black bar with the play and volume controls. [[file:ForGaroux.png|40px|link=User:GarouxBloodline]] Some Assembly Required! 06:08, August 29, 2012 (UTC)


 * I'm not sure how to do that exactly, but you can definitely adjust the width and height of the video however you want. For example, if you make the height about 25 pixels, I'd say that's pretty compact and basically the only thing you can see is the controls. I went ahead and made that change on my sample page.


 * Yes, I saw that! I've already copied everything over, and it seems to be working perfectly. I really do appreciate your help. Is there anyone I should specifically credit? [[file:ForGaroux.png|40px|link=User:GarouxBloodline]] Some Assembly Required! 06:18, August 29, 2012 (UTC)


 * You don't need to credit anyone, this isn't anything particularly special. Just make sure you have a good organizational system to keep track of all these MediaWiki pages for the videos! Sidenote: in my sample page, you'll notice the video autoplays -- you don't have to click play for it to start. 1) The reason for this is because of the autoplay=1 in the URL for the embed code. 2) I'm pretty sure that autoplay embeds do not contribute to youtube play counts. So if you want to help anybody's youtube channel, don't use autoplay.


 * The loop feature doesn't seem to work. If you know what URL parameter to use to make the youtube video loop, please let me know! I tried loop=1 but it doesn't work :\ ... not sure if there's something else that works...


 * Damn, damn, damn. It turns out the same problem is evident with this option, as well. The changes that ruined the embed tool provided to us here at Wikia and your idea is that when you make the player compact enough to hide everything but the play and volume buttons, the name of the song covers those buttons up, and you're not able to use them. It looks like I'm going to need to find a custom YTP like the one in the template I mentioned above. You can see the problem I'm having here
 * [[file:ForGaroux.png|40px|link=User:GarouxBloodline]] Some Assembly Required! 06:33, August 29, 2012 (UTC)