[RC] YouTube Videos Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

muggins wrote:Excellent work!

I ran into the "square corners" thing too, but fixed it by deleting an extra "</div>".
Then you're not using the latest version. Version 1.0.7 (the latest version) does not have that problem. And it corrects a couple of other issues. I recommend you update.

... And thanks ;)
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: [BETA] YouTube Videos Mod

Post by muggins »

:oops: And after all the customizing I did this morning. :lol:

Image

I have a request that may still be valid after I upgrade.

I can't seem to puzzle it out myself, but I'd like to increase the width of the div and use a scaled-up video window that comes closer to the panel width, but the video player window is shifted off to the right instead of centered. I tried edits in the .html, .css, and .js files to no avail. :(
Muggins
User avatar
balboag
Registered User
Posts: 76
Joined: Wed Jul 13, 2011 3:52 pm
Location: Galicia, Spain
Name: Gerardo

Re: [BETA] YouTube Videos Mod

Post by balboag »

Very good mod, thanks! :)

Ideas:

- Show a list of last [youtube] bbcode videos posted in the forum
- Open the video in a corner and keep it playing while browse the forum (in a new windows if it isnt possible)
User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan

Re: [BETA] YouTube Videos Mod

Post by muggins »

I fixed my formatting errors. The player is now 853x640 and the video thumbnails are now 5-up in three rows. I also added the requisite lines to viewonline.php that allows you to see who is viewing the youtube.php page.

It's pretty slick now! :mrgreen:

To Balboag, the first suggestion would require a database query every time the page is opened, and might slow things down quite a bit.

It should be possible to pop up the player window. Good thought, but I'm not quite sure how to manage it.
Last edited by muggins on Thu Feb 16, 2012 4:41 am, edited 1 time in total.
Muggins
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

balboag wrote:Very good mod, thanks! :)

Ideas:

- Show a list of last [youtube] bbcode videos posted in the forum
- Open the video in a corner and keep it playing while browse the forum (in a new windows if it isnt possible)
For the first one, sorry, no plans for that.

For the second one, if not tonight, then tomorrow I'll post the required edits ;)
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

muggins wrote:...I also added the requisite lines to viewonline.php that allows you to see who is viewing the youtube.php page.
Good idea. I may add that to the next version :idea:
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

keith10456 wrote:
balboag wrote:Very good mod, thanks! :)

Ideas:

- Show a list of last [youtube] bbcode videos posted in the forum
- Open the video in a corner and keep it playing while browse the forum (in a new windows if it isnt possible)
For the first one, sorry, no plans for that.

For the second one, if not tonight, then tomorrow I'll post the required edits ;)
I created the files and have the necessary edits to make the videos page open in a new window. All I have to do is package it up. I'm too tired to finish it tonight so the download will be available this weekend (God willing) :idea:
rigoberto
Registered User
Posts: 92
Joined: Sat Jan 07, 2012 7:51 pm

Re: [BETA] YouTube Videos Mod

Post by rigoberto »

I edited the quvic.PresentVideos('search','your_search_term_here',1);
to quvic.PresentVideos('search','collectibles,collection',1);

and nothing shows. Did I do something wrong?
rigoberto
Registered User
Posts: 92
Joined: Sat Jan 07, 2012 7:51 pm

Re: [BETA] YouTube Videos Mod

Post by rigoberto »

I love this MOD. You did an excellent job. Thank you.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

rigoberto wrote:I love this MOD. You did an excellent job. Thank you.
Thanks ;)
User avatar
FB92
Registered User
Posts: 181
Joined: Sun Oct 02, 2011 8:34 pm

Re: [BETA] YouTube Videos Mod

Post by FB92 »

I only want 5 videos in the list instead of 10. I went to change the script to 5 videos and it works fine but it leaves a whole large bit of white space at the bottom. Anyway of fixing it?
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

FB92 wrote:I only want 5 videos in the list instead of 10. I went to change the script to 5 videos and it works fine but it leaves a whole large bit of white space at the bottom. Anyway of fixing it?
Please provide a link to the page (and test account if applicable).
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

keith10456 wrote:
keith10456 wrote:
balboag wrote:Very good mod, thanks! :)

Ideas:

- Show a list of last [youtube] bbcode videos posted in the forum
- Open the video in a corner and keep it playing while browse the forum (in a new windows if it isnt possible)
For the first one, sorry, no plans for that.

For the second one, if not tonight, then tomorrow I'll post the required edits ;)
I created the files and have the necessary edits to make the videos page open in a new window. All I have to do is package it up. I'm too tired to finish it tonight so the download will be available this weekend (God willing) :idea:
Mod Download Updated:

I updated the download of the mod. The contrib folder now contains instructions/files for having the video page open in a new window. The folder is titled open_link_new_window.

Before applying the edits you should already have the mod installed and working on your site.

Enjoy ;)
lustucrus
Registered User
Posts: 45
Joined: Tue Dec 06, 2011 12:39 pm

Re: [BETA] YouTube Videos Mod

Post by lustucrus »

thank's work great :D
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm

Re: [BETA] YouTube Videos Mod

Post by keith10456 »

lustucrus wrote:thank's work great :D
Thanks ;)

Return to “[3.0.x] MODs in Development”