Plugin for [youtube] videos
Moderator: General Support Moderators
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.
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.
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Plugin for [youtube] videos
I have just created my first plugin, and it is available at http://joomlacode.org/gf/project/[youtube]/
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
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
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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
Languages included is English and Norwegian. Please provide additional languages files by posting them here.
Any feedback is much appreciated!
Stian
-
- Joomla! Intern
- Posts: 52
- Joined: Wed Sep 26, 2007 10:21 pm
- Location: Minnesota
Re: Plugin for [youtube] videos
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.
:-) Good luck and keep up the good work.
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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
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
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
The latest version is now up for grabs at http://joomlacode.org/gf/project/[youtube]/ , with added support for width/height, playlists, custom players and rendering of the Flash player through the SWFObject.
Stian
Stian
-
- Joomla! Intern
- Posts: 52
- Joined: Wed Sep 26, 2007 10:21 pm
- Location: Minnesota
Re: Plugin for [youtube] videos
Fantastic!!!
Great turn around for feature implementation.
Great turn around for feature implementation.
- LukeDouglas
- Joomla! Explorer
- Posts: 260
- Joined: Sat Dec 08, 2007 8:23 pm
- Contact:
Re: Plugin for [youtube] videos
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?
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?
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
Luke,
yes, this is a native 1.5 plugin, and will not work in 1.0.xx. Sorry about that...
Stian
yes, this is a native 1.5 plugin, and will not work in 1.0.xx. Sorry about that...
Stian
- LukeDouglas
- Joomla! Explorer
- Posts: 260
- Joined: Sat Dec 08, 2007 8:23 pm
- Contact:
Re: Plugin for [youtube] videos
Bummer but thanks for the quick reply.
Do you know if a [youtube] module is available for pre 1.5 versions?
Do you know if a [youtube] module is available for pre 1.5 versions?
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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
http://extensions.joomla.org/component/ ... Itemid,35/
Stian
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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:
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
I my code I use the following to decide if it's a single video, playlist or custom player:
Code: Select all
$playerType = 'v';
if (strlen($[youtube]) > 11) $playerType = 'p';
if (strlen($[youtube]) > 16) $playerType = 'cp';
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
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Dec 10, 2007 3:11 pm
Re: Plugin for [youtube] videos
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?
I uninstalled and everything came back to normal.
any idea?
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
Hm, I'll check this out in a couple of hours and come back to you...
S
S
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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/[youtube]/
This version also include German language support, and SWFObject script have been moved to the section.
Stian
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/[youtube]/
This version also include German language support, and SWFObject script have been moved to the section.
Stian
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Dec 10, 2007 3:11 pm
Re: Plugin for [youtube] videos
Excellent, it works.
Thanks a lot
Thanks a lot
- colmcille
- Joomla! Intern
- Posts: 96
- Joined: Wed Aug 15, 2007 10:08 pm
- Location: Dubin City
- Contact:
Re: Plugin for [youtube] videos
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 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/
Skype colmpower
http://docs.joomla.org/Beginners [This is the First Resource you should check]
http://OpenSourceCommunity.org/
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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
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
- felfert
- Joomla! Explorer
- Posts: 397
- Joined: Fri Apr 13, 2007 10:37 pm
- Location: Ludwigsburg, Germany
- Contact:
Re: Plugin for [youtube] videos
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.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
-
- Joomla! Intern
- Posts: 95
- Joined: Wed Jul 11, 2007 3:15 am
Re: Plugin for [youtube] videos
Hi,felfert wrote: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.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 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???
- felfert
- Joomla! Explorer
- Posts: 397
- Joined: Fri Apr 13, 2007 10:37 pm
- Location: Ludwigsburg, Germany
- Contact:
Re: Plugin for [youtube] videos
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/allvid ... se_id=6251mickscool 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???
Cheers
-Fritz
-
- Joomla! Intern
- Posts: 64
- Joined: Wed Jan 02, 2008 3:15 am
Re: Plugin for [youtube] videos
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.
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.
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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
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
-
- Joomla! Intern
- Posts: 64
- Joined: Wed Jan 02, 2008 3:15 am
Re: Plugin for [youtube] videos
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.
-
- Joomla! Intern
- Posts: 64
- Joined: Wed Jan 02, 2008 3:15 am
Re: Plugin for [youtube] videos
Is there anything in the code that would restrict the security for accessing [youtube] videos? Thanks.
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Feb 15, 2008 3:21 pm
Re: Plugin for [youtube] videos
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
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
-
- Joomla! Apprentice
- Posts: 14
- Joined: Fri Feb 15, 2008 3:21 pm
Re: Plugin for [youtube] videos
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
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
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
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
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
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat Mar 17, 2007 7:27 pm
Re: Plugin for [youtube] videos
crap
I tried like 3 diff [youtube] plugin and non of them seem to work for me
this is what I get
what the hell am I doing wrong?
I tried like 3 diff [youtube] plugin and non of them seem to work for me
this is what I get
what the hell am I doing wrong?
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Plugin for [youtube] videos
Eh, you are using [ instead of {, as stated very cleary in the instructions. Hm, crap...
Stian
Stian
-
- Joomla! Apprentice
- Posts: 17
- Joined: Sat Mar 17, 2007 7:27 pm
Re: Plugin for [youtube] videos
you are right, I saw it 5 minutes later, but I tried using {} and it shows nothing now..Stian wrote:Eh, you are using [ instead of {, as stated very cleary in the instructions. Hm, crap...
Stian