Joomla! Discussion Forums



It is currently Sun Nov 22, 2009 3:32 am (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 65 posts ]  Go to page 1, 2, 3  Next
Author Message
Posted: Tue Dec 04, 2007 11:30 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
I have just created my first plugin, and it is available at http://joomlacode.org/gf/project/youtubeplugin/

It's a simple plugin for displaying YouTube videos in your content items, and can be invoked by adding {youtube}xxxxxx{/youtube} in the editor, where xxxxxx is the YouTube ID.

All feedback, tips and tricks is much appreciated!

Best, Stian


Top
  E-mail  
 
Posted: Wed Dec 05, 2007 10:06 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
Beta 2 of the plugin is now available for download. The change from Beta 1 is added language support through .ini files, and better description of the various parameters. Next step is support for playlists, and not just single videos.

Languages included is English and Norwegian. Please provide additional languages files by posting them here.

Any feedback is much appreciated!

Stian


Top
  E-mail  
 
Posted: Fri Dec 07, 2007 4:36 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 26, 2007 10:21 pm
Posts: 52
Location: Minnesota
Great little plug in!  I had just started using the Custom Player (http://www.youtube.com/custom_player) in a module position a couple days ago.  Once you've implemented height/width and playlists, I'll be using your plugin all over my content items.  Given your current development rate, that should be about 36 hours after Beta 2 was launched...

:-)  Good luck and keep up the good work. 


Top
   
 
Posted: Fri Dec 07, 2007 6:19 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
capkix,

glad you liked it ;-)

It's my first plugin for Joomla!, so all feedback is much appreciated. I already have support for width/height ready, and will add support for playlists before I upload it. Tomorrow perhaps?

Stian


Top
  E-mail  
 
Posted: Sat Dec 08, 2007 4:18 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
The latest version is now up for grabs at http://joomlacode.org/gf/project/youtubeplugin/ , with added support for width/height, playlists, custom players and rendering of the Flash player through the SWFObject.

Stian


Top
  E-mail  
 
Posted: Sat Dec 08, 2007 7:09 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 26, 2007 10:21 pm
Posts: 52
Location: Minnesota
Fantastic!!!

Great turn around for feature implementation.


Top
   
 
Posted: Sat Dec 08, 2007 8:26 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Dec 08, 2007 8:23 pm
Posts: 21
Stian,

Downloaded the plugin for Joomla, version 1.0.13.  Attempted to install via Components, Module and Mambots.  None worked. Is this a plugin that will only work for 1.5 and/or is this to be installed another way?


Top
  E-mail  
 
Posted: Sat Dec 08, 2007 8:38 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
Luke,

yes, this is a native 1.5 plugin, and will not work in 1.0.xx. Sorry about that...

Stian


Top
  E-mail  
 
Posted: Sat Dec 08, 2007 11:49 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Dec 08, 2007 8:23 pm
Posts: 21
Bummer but thanks for the quick reply.

Do you know if a YouTube module is available for pre 1.5 versions?


Top
  E-mail  
 
Posted: Sun Dec 09, 2007 2:54 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
I haven't tried it myself, but I guess the one below is what you're looking for...

http://extensions.joomla.org/component/ ... Itemid,35/

Stian


Top
  E-mail  
 
Posted: Sun Dec 09, 2007 11:03 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
I need some help/input, please...

I my code I use the following to decide if it's a single video, playlist or custom player:

Code:
$playerType = 'v';
if (strlen($youtubeid) > 11) $playerType = 'p';
if (strlen($youtubeid) > 16) $playerType = 'cp';


In my "research" I've found that the various players have ID of the exact same length, so the code above will do, for all I know.

Now, the ID for a custom player is something like "vjVQa1PpcFP4KN2TNRQxQm1dwssDUECOZYGeLvTm2rY=". This is probably a longshot, but does anyone know if some data can be extracted from that ID? What I'm after is if the player is the large version (with thumbnails of other videos to the right) or not.

I guess I could use the YouTube API to find out (alongside a bunch of other stuff), but that's another ballgame, and not something I plan to implement before version 2. Perhaps.

All input on this is much appreciated!

Stian


Top
  E-mail  
 
Posted: Mon Dec 10, 2007 3:18 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Dec 10, 2007 3:11 pm
Posts: 4
I have Joomla 1.5 and try to install your plugin, it works but the title of the articles, read more link and author dissapear from all site articles.

I uninstalled and everything came back to normal.

any idea?


Top
   
 
Posted: Mon Dec 10, 2007 3:48 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
Hm, I'll check this out in a couple of hours and come back to you...

S


Top
  E-mail  
 
Posted: Mon Dec 10, 2007 5:09 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
tobiascontreras,

thank you very much for pointing this out for me!

Stupid bug that have now been fixed. Please download the latest version (1.1) from http://joomlacode.org/gf/project/youtubeplugin/

This version also include German language support, and SWFObject script have been moved to the section.

Stian


Top
  E-mail  
 
Posted: Mon Dec 10, 2007 5:26 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Mon Dec 10, 2007 3:11 pm
Posts: 4
Excellent, it works.

Thanks a lot


Top
   
 
Posted: Sat Dec 15, 2007 5:00 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Aug 15, 2007 10:08 pm
Posts: 74
Location: Dubin City
Hi,

I used the allvideo plugin in 1.0 and that worked fine. Installing allvideo plugin in 1.5 has not worked. I was going ..oh sheet...

did a quick look and alighted upon your excellent plugin! Thats excellent mate!

How do you start to create a plugin? What do you need to study?

Colm

_________________
Colmcille Power, Dublin City
Skype colmpower
http://docs.joomla.org/Beginners [This is the First Resource you should check]
http://OpenSourceCommunity.org/


Top
  E-mail  
 
Posted: Sat Dec 15, 2007 5:56 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
Colm,

happy you liked it ;-)

Assuming you have some basic knowledge about PHP I would start by exploring the plugins in the standard installation of Joomla! 1.5 (/plugins and /administrator/plugins) Lots can be learned by studing the code of others, and the standard ones are coded the "correct" way.

There are also 2 excellent books on the subject:
http://www.packtpub.com/Joomla-Extensions/book
http://www.packtpub.com/joomla-one-poin ... ework/book

Happy coding!

Stian


Top
  E-mail  
 
Posted: Wed Dec 19, 2007 1:05 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Apr 13, 2007 10:37 pm
Posts: 393
Location: Ludwigsburg, Germany
colmcille wrote:
Hi,

I used the allvideo plugin in 1.0 and that worked fine. Installing allvideo plugin in 1.5 has not worked. I was going ..oh sheet...

did a quick look and alighted upon your excellent plugin! Thats excellent mate!

How do you start to create a plugin? What do you need to study?

Colm


I'm currently rewriting it for Joomla 1.5 (and extending/improving it as well) ... Nothing release yet - i got my project just approved here. Still some work to do, just watch this space: ... hmm developerforge just went down ... :-( ... anyway: Simply search for "AllVideos Reloaded". ... well and perhaps Stian an I can join our efforts ... we'll see.


Top
  E-mail  
 
Posted: Sat Dec 22, 2007 7:03 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Jul 11, 2007 3:15 am
Posts: 95
felfert wrote:
colmcille wrote:
Hi,

I used the allvideo plugin in 1.0 and that worked fine. Installing allvideo plugin in 1.5 has not worked. I was going ..oh sheet...

did a quick look and alighted upon your excellent plugin! Thats excellent mate!

How do you start to create a plugin? What do you need to study?

Colm


I'm currently rewriting it for Joomla 1.5 (and extending/improving it as well) ... Nothing release yet - i got my project just approved here. Still some work to do, just watch this space: ... hmm developerforge just went down ... :-( ... anyway: Simply search for "AllVideos Reloaded". ... well and perhaps Stian an I can join our efforts ... we'll see.


Hi,
I was also surprised to find out that AllVideos 2.4 plugin does not works with my Joomla 1.5 RC3 instance.

I noticed that you have some alpha version files there, willl they work with Joomla 1.5 RC3???


Top
   
 
Posted: Sat Dec 22, 2007 9:23 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Apr 13, 2007 10:37 pm
Posts: 393
Location: Ludwigsburg, Germany
mickscool wrote:
Hi,
I was also surprised to find out that AllVideos 2.4 plugin does not works with my Joomla 1.5 RC3 instance.

I noticed that you have some alpha version files there, willl they work with Joomla 1.5 RC3???


They do. Getting AllVideos working navtively (no legacy mode needed) is the whole reason for that fork. For info about the reason for the alpha status, have a look here: http://joomlacode.org/gf/project/allvideos15/frs/?action=FrsReleaseView&release_id=6251

Cheers
-Fritz


Top
  E-mail  
 
Posted: Sun Jan 20, 2008 9:12 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Jan 02, 2008 3:15 am
Posts: 62
Hi.  I tried using the plugin.  When I enable include swf script and enable/disable use swf script, or when I disable both include swf script and use swf script, I get the following error:

Internet Explorer cannot open the internet site

When I have the script disabled, but use swf enabled, then the page will appear without the video screen.  Do you know what I am missing?

Thank you.


Top
   
 
Posted: Sun Jan 20, 2008 7:00 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
So, the short version is that the plugin doesn't work at all?

Have you tried it in for example Firefox? If it works there I think you need to tweak the security/privacy options in IE.

Stian


Top
  E-mail  
 
Posted: Sun Jan 20, 2008 9:55 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Jan 02, 2008 3:15 am
Posts: 62
Yes, it does work in Firefox.  How could I get it to work with IE for the common user?  I tried to load on IE on 2 different computers with the same results.  Is there a way for it to work with default IE security settings?  Thanks.


Top
   
 
Posted: Tue Jan 22, 2008 1:03 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Jan 02, 2008 3:15 am
Posts: 62
Is there anything in the code that would restrict the security for accessing youtube videos?  Thanks.


Top
   
 
Posted: Sun Mar 02, 2008 9:02 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Feb 15, 2008 3:21 pm
Posts: 14
hi
this is a top plugin

would you be able to explain how to use all the parameters that you have created - width/height, playlists, etc

eg if this is the string to show {youtube}xxxxxx{/youtube} - where do you add the parameters, and how!

thanks

frank


Top
  E-mail  
 
Posted: Tue Mar 11, 2008 1:18 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Feb 15, 2008 3:21 pm
Posts: 14
Hi this Plugin is awersome

i can use it in articles no problem

but I am trying to create a customs html module, which will appear on the front page

but when i display it on the front page all i get is the code

is this possible


Top
  E-mail  
 
Posted: Tue Mar 11, 2008 8:23 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
Hi, all!

Thanks for all your feedback. I'm really bussy these days, and haven't the time to answer all your questions. Soon I will update it to a new version that will fix some of your problems. The current version will only work in articles, but the new one will work everywhere, including Custom HTML modules.

Stian


Top
  E-mail  
 
Posted: Fri Apr 18, 2008 6:41 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 17, 2007 7:27 pm
Posts: 16
crap

I tried like 3 diff youtube plugin and non of them seem to work for me

this is what I get

Image

what the hell am I doing wrong?


Top
  E-mail  
 
Posted: Fri Apr 18, 2008 8:04 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat May 20, 2006 7:58 am
Posts: 225
Location: Norway
Eh, you are using [ instead of {, as stated very cleary in the instructions. Hm, crap...

Stian


Top
  E-mail  
 
Posted: Fri Apr 18, 2008 10:14 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sat Mar 17, 2007 7:27 pm
Posts: 16
Stian wrote:
Eh, you are using [ instead of {, as stated very cleary in the instructions. Hm, crap...

Stian


you are right, I saw it 5 minutes later, but I tried using {} and it shows nothing now.. :(


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 65 posts ]  Go to page 1, 2, 3  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group