Use Videos instead of Article Images?
Moderators: ooffick, General Support Moderators
Forum rules
-
- Joomla! Apprentice
- Posts: 12
- Joined: Sun Apr 03, 2011 7:30 pm
Use Videos instead of Article Images?
Hi there,
Does anyone know of a way to use a video instead of an article image? I can imagine it would require some core file changes but I would be interested to know if anyone has a solution for this?
It would be a great addition if rather than just having the options to add article intro image and article main image that you could choose whether this was an image or a video.
I realise video is easy enough to embed in to articles but I am specifically interested in just simply being able to select either a video or an image to the intro and main image positions in standard joomla articles.
Any help greatly appreciated
Does anyone know of a way to use a video instead of an article image? I can imagine it would require some core file changes but I would be interested to know if anyone has a solution for this?
It would be a great addition if rather than just having the options to add article intro image and article main image that you could choose whether this was an image or a video.
I realise video is easy enough to embed in to articles but I am specifically interested in just simply being able to select either a video or an image to the intro and main image positions in standard joomla articles.
Any help greatly appreciated
- ranwilli
- Joomla! Master
- Posts: 19203
- Joined: Sun Feb 19, 2006 6:47 pm
- Location: Toledo, OH
- Contact:
Re: Use Videos instead of Article Images?
There's no reason you can't upload videos to media manager, but there are lots of good reasons to embed a video from [youtube] et al. instead.
Don't HACK the Joomla! core, Instead "Extend" and/or "Override."
Stay ON the update path.
https://harpervance.com
Stay ON the update path.
https://harpervance.com
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Apr 08, 2010 4:41 am
Re: Use Videos instead of Article Images?
Edit: Sorry for posting in old thread, but i believe comment relevant.
I actually have to agree with this suggestion.
I absolutely love the feature of being able to how intro and full article images per article, but i do find that the 'image only' aspect is a little lacking.
Would be great to see an option here to either say, select an image (or video) from the media manager, but also provide some way of being able to link a video as the intro.
For example:
Say you have a list of blog-type articles being listed on your site, and you are displaying the intro images for each article to display better content to your users. This is quite useful and provides the users with instant feed.
Being also able to show a video in this location, i believe, would also be of great benefit.
I am looking at doing this currently using html template overrides and the article link options.
I actually have to agree with this suggestion.
I absolutely love the feature of being able to how intro and full article images per article, but i do find that the 'image only' aspect is a little lacking.
Would be great to see an option here to either say, select an image (or video) from the media manager, but also provide some way of being able to link a video as the intro.
For example:
Say you have a list of blog-type articles being listed on your site, and you are displaying the intro images for each article to display better content to your users. This is quite useful and provides the users with instant feed.
Being also able to show a video in this location, i believe, would also be of great benefit.
I am looking at doing this currently using html template overrides and the article link options.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue Jun 25, 2013 1:20 pm
Re: Use Videos instead of Article Images?
Did you have any luck in finding an extension or module for this Sunshine/Jweiry? I need the same option for a site I am building.
Again I would think this to be a very much needed function or at least somebody else has done an extension :S
Again I would think this to be a very much needed function or at least somebody else has done an extension :S
-
- Joomla! Apprentice
- Posts: 16
- Joined: Thu Apr 08, 2010 4:41 am
Re: Use Videos instead of Article Images?
Actually I believe I have seen something similar recently in a template from ThemeForest.
Picked up a template for use on a client site and it was in the preview.
http://rivers-joomla25.ws-theme.com/ind ... ntent/blog
The template system behind the scenes can read this tag in the "images and links" "intro image" and "full article image" comment sections
I don't know about [youtube] support though as we haven't needed to used it yet. But maybe this is the way to look at doing it, I just can't remember if J3 has that comment box for the intro and full article images.
Picked up a template for use on a client site and it was in the preview.
http://rivers-joomla25.ws-theme.com/ind ... ntent/blog
The template system behind the scenes can read this tag in the "images and links" "intro image" and "full article image" comment sections
Code: Select all
{vimeo | 1084537}
-
- Joomla! Explorer
- Posts: 397
- Joined: Sun Sep 02, 2007 12:50 am
- Contact:
Re: Use Videos instead of Article Images?
I am hoping that someone may have an idea how to do this, i am hoping to do this myself.
http://www.neocrisis.com/ - What will you find Next?
- effrit
- Joomla! Guru
- Posts: 846
- Joined: Sun Nov 12, 2017 2:21 pm
- Location: middle of Russia
- Contact:
Re: Use Videos instead of Article Images?
What the problem?
Make override for article template view and check if image field have special word(s), then replace it for specific code.
Make override for article template view and check if image field have special word(s), then replace it for specific code.
http://effrit.com/joomla | clean Word/Excel tables: http://r91228pz.bget.ru
- effrit
- Joomla! Guru
- Posts: 846
- Joined: Sun Nov 12, 2017 2:21 pm
- Location: middle of Russia
- Contact:
Re: Use Videos instead of Article Images?
the easiest solution is - custom fields.
make one of "text" type, paste here [youtube] video id (B4dDwlthuDQ), for example.
install and activate plugin flexiy outube.
so now you can just insert this in your article template (make override):
echo JHTML::_('content.prepare', "{basicy_outube}".$this->item->jcfields[1]->rawvalue."{/basicy_outube}");
(delete _ in basicy_outube, the forum replaces '[youtube]' so i insert it)
where jcfields [1] - id of your custom field.
make one of "text" type, paste here [youtube] video id (B4dDwlthuDQ), for example.
install and activate plugin flexiy outube.
so now you can just insert this in your article template (make override):
echo JHTML::_('content.prepare', "{basicy_outube}".$this->item->jcfields[1]->rawvalue."{/basicy_outube}");
(delete _ in basicy_outube, the forum replaces '[youtube]' so i insert it)
where jcfields [1] - id of your custom field.
http://effrit.com/joomla | clean Word/Excel tables: http://r91228pz.bget.ru