- Posts: 5
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- How to add a youtube video preview for social sharing
How to add a youtube video preview for social sharing
- norcaljb
-
Topic Author
- Offline
- New Member
Less
More
11 years 2 months ago - 11 years 2 months ago #54671
by norcaljb
How to add a youtube video preview for social sharing was created by norcaljb
First off, thank you for this wonderful responsive plug-in.
I found this fix so i wanted to give back to the community.
A client wanted to stream line embedded Yotube videos that can be posted to his facebook, pinterest, twitter etc..
But it just comes up as a link and not to enticing to click on when shared.
First thought was add a pic in the article and it would pick up that pic.. but that just adds to load times and layout looks silly...not clean in my eyes.
Ive seen many people give solutions with no fix.
This will hide the pic on the site and load it when you share it on social sites.
::) mind you that it needs to be done in a html editor (all editors have a toggle editor button)
{youtube} youtube_link{/youtube}
<link href="url_of_image.jpg" rel="image_src" />
I found this fix so i wanted to give back to the community.
A client wanted to stream line embedded Yotube videos that can be posted to his facebook, pinterest, twitter etc..
But it just comes up as a link and not to enticing to click on when shared.
First thought was add a pic in the article and it would pick up that pic.. but that just adds to load times and layout looks silly...not clean in my eyes.
Ive seen many people give solutions with no fix.
This will hide the pic on the site and load it when you share it on social sites.
::) mind you that it needs to be done in a html editor (all editors have a toggle editor button)
{youtube} youtube_link{/youtube}
<link href="url_of_image.jpg" rel="image_src" />
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 2 months ago #54672
by Yiota
Replied by Yiota on topic Re: How to add a youtube video preview for social sharing
Thank you for sharing this @norcaljb.
Please Log in or Create an account to join the conversation.
- norcaljb
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
11 years 2 months ago #54673
by norcaljb
Replied by norcaljb on topic Re: How to add a youtube video preview for social sharing
Yiota, it is my pleasure , thank you :)
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- New Member
Less
More
- Posts: 1
10 years 11 months ago #55199
by Chris
Replied by Chris on topic How to add a youtube video preview for social sharing
I have a question that you might be able to help with. I have YouTube videos that I use with AllVideos. All works and plays great! Is there a way to use another image as the screenshot instead of what the YouTube video has?
I know that self hosted videos have the ability to use an image in the same directory with the same name, but how could something like this work for YouTube?
Thanks,
CTE2087
I know that self hosted videos have the ability to use an image in the same directory with the same name, but how could something like this work for YouTube?
Thanks,
CTE2087
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 11 months ago #55206
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic How to add a youtube video preview for social sharing
Hi. No, this is not possible.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- How to add a youtube video preview for social sharing