[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!
Get Involved
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

ffreitas1987 wrote:its possible change player to jwplayer?
Probably not by me (though it's not impossible) but I could make it so it opens in new window - without the overallheader, etc.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

Teaser: Version 2.0 is right around the corner with some pretty neat features ;)
Mick2015
Registered User
Posts: 40
Joined: Sun Feb 02, 2014 9:58 pm
Location: Newcastle
Name: michael lambert
Contact:

Re: [RC] YouTube Videos Mod

Post by Mick2015 »

hi all

just added this to my forums its working perfect and just wanting to let u know the Zip has to many folders in it so this wont work for Modx \ Auomod, all u need to do is up zip in

X:\Desktop\phpbb3 mods\Youtube-Gallery-master\Youtube-Gallery-master\

just zip the last folder which is called Youtube-Gallery-master (for an example) and use Automod to install i haven't had any problems with it at all


thanks alot for the mod
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

The new version will be released soon ;)
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

Mod Updated To Version 2.0.0

I'm pleased to announce that the mod has been updated to version 2.0.0. Your website visitors will now be able to view and search any/all of the videos on YouTube, and create a custom playlist from the results. Playlists are created by simply dragging and dropping video thumbnails to a box. In addition, visitors can view videos while searching for videos at the same time (without ever leaving your website). See the first post in this topic to download the mod and for upgrade instructions. Click here to view the demo.


New Features:
  • Ability to create custom playlist by dragging and dropping videos.
  • Tags that generate videos of popular search terms.
  • Hot Trends videos that automatically update from YouTube.
  • Ability to add/load videos from a specific User on YouTube.
  • Ability to add/load videos from a specific YouTube playlist.
User avatar
Solidjeuh
Registered User
Posts: 522
Joined: Wed Oct 06, 2010 11:20 pm
Location: Aalst / Belgium
Name: Andy Dm
Contact:

Re: [RC] YouTube Videos Mod

Post by Solidjeuh »

Great mod! Thank you!
I just made a few changes in html and css.. Made is better for people with a smaller resolution
And scrollbar in the video list.

See: http://www.chatparadijs.be/youtube.php

And you can maybe add the mod in viewonline.php?

language/en/common.php
add:

Code: Select all

	'VIEW_YOUTUBE'				=> 'Viewing youtube page',
viewonline.php
add:

Code: Select all

		case 'youtube':
			$location = $user->lang['VIEW_YOUTUBE'];
			$location_url = append_sid("{$phpbb_root_path}youtube.$phpEx");
		break;	
Just 1 little question, Is it possible to add the youtube video link under the video?
So that users can copy the link directly to share.. :)
I don't suffer from insanity. I enjoy every minute of it.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

@ Solidjeuh - I like your css edits. Send me the file/css edits and I'll add it to the contrib in the download (in addition to your viewonline edit). Thanks!

In reference to your question, no but if someone figures it out let me know. Also, you can copy the video link from the video itself. I know it's not the same as what you're asking but I just wanted to put that out there ;)
User avatar
Solidjeuh
Registered User
Posts: 522
Joined: Wed Oct 06, 2010 11:20 pm
Location: Aalst / Belgium
Name: Andy Dm
Contact:

Re: [RC] YouTube Videos Mod

Post by Solidjeuh »

I don't suffer from insanity. I enjoy every minute of it.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

@ Solidjeuh - I have the file... Thanks! I'll try to have this packaged-up and available to the public by the end of the weekend. Of course I'll be sure to give you credit ;)
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

keith10456 wrote:@ Solidjeuh - I have the file... Thanks! I'll try to have this packaged-up and available to the public by the end of the weekend. Of course I'll be sure to give you credit ;)
I was just checking the file and realized that I already had the viewonline language edit in the mod. I just didn't get around to adding the viewonline.php portion (not in the public version of the mod anyway). :?


* Edit - The updated mod package should be ready tonight. I just have to make one more change.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

Mod Updated To Version 2.0.1

I'm pleased to announce that the mod has been updated to version 2.0.1. See the first post in this topic to download the mod and for upgrade instructions. Click here to view the demo.


New Features:
  • Added ability to view View Online information (So you will know which members are viewing the YouTube page).
  • Added Solidjeuh's Vertical Video Results option to the "contrib" folder of the download. I also added install instructions to apply it.
Ozo
Registered User
Posts: 330
Joined: Mon Dec 13, 2010 7:57 pm

Re: [RC] YouTube Videos Mod

Post by Ozo »

Thanks for the update.

Silly question: how or where do I use the playlist ID? can't seem to figure it out! :)
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

Ozo wrote:Thanks for the update.

Silly question: how or where do I use the playlist ID? can't seem to figure it out! :)
Click the Playlist tab (near the bottom of the screen on your YouTube page (on your site)). Next, enter the Playlist ID of the playlist you want to view.

The Playlist ID comes from the respective page/profile on YouTube. It's important to note that the YouTube profile page (person) must have created a playlist. Not everyone does this.

For example:

1) Click here for the profile page on YouTube for AsapSCIENCE.

2) Click the Playlists link.

3) Select one of the playlists

4) Copy the Playlist ID from the URL (everything after the 2nd "="). In the sample below, the Playlist ID would be: PLvFsG9gYFxY_tkY6avqT_8rMV3_CxuECh

Code: Select all

https://www.youtube.com/watch?v=fOyO6l75GU8&list=PLvFsG9gYFxY_tkY6avqT_8rMV3_CxuECh
5) Go to the YouTube page on your site, click the Playlist tab, then Paste the ID you copied (replacing what's already there). Click Search.
User avatar
Demonify
Registered User
Posts: 7
Joined: Mon Mar 17, 2014 2:42 pm

Re: [RC] YouTube Videos Mod

Post by Demonify »

Is it possible to restrict use to one channel only and display videos only from that channel?
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] YouTube Videos Mod

Post by keith10456 »

Demonify wrote:Is it possible to restrict use to one channel only and display videos only from that channel?
Yes, sort, of.

1) Backup your website/board files.

2) Download and upload the edited template file here.

3) Open /root/language/en/mods/youtube_lang.php


Find:

Code: Select all

'YOUTUBE_VIDEOS_MOD_PLAYLIST_DEFAULT'                  => 'FLupvZG-5ko_eiXAupbDfxWw',
Replace FLupvZG-5ko_eiXAupbDfxWw with the default ID you want to use.


Find:

Code: Select all

'YOUTUBE_VIDEOS_MOD_USER_DEFAULT'                  => 'CNN',
Replace CNN with the default search term to use.


Find:

Code: Select all

'YOUTUBE_VIDEOS_MOD_RANDOM_0'                  => 'Funny',
Replace Funny with the Tag you want to use to pull-up your videos.


Let me know if you want to remove the Search Form as well.
Locked

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