Topic-icon How to create a 'share' button with link to youtube-video?

Support Specialist
I'm not sure what you're seeing. I just tried to share that page to my own Facebook profile and the video played when I clicked the arrow in the middle. Can you tell me what what isn't working for you when you try?

Thanks,
Alex
The topic has been locked.
Support Specialist
A little more investigation.. I'm still not seeing any issues, but if you are, look at the debug information for your page and the one you link to in your first post. At the bottom of each page, you'll see a section like:

Type of Share
When this URL is shared on facebook, it is treated as a certain type. By putting meta tags on this page, you can influence how it is shared.
Video
type application/x-shockwave-flash
width 1280
height 720
src

For the other site, that looks like:

Type of Share
When this URL is shared on facebook, it is treated as a certain type. By putting meta tags on this page, you can influence how it is shared.
Video
type application/x-shockwave-flash
width 1280
height 720
src www.youtube.com/v/gF8wV9OlUHc?version=3& amp%3Bautohide=1

The only difference is that ?version=3&amp%3Bautohide=1 string on the URL. You can always try adding that to your tag to see if that improves your tests.

Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

Thx so much for your effort!

There seems to be an issue how Joomla (or JCE?) handels the '&amp' sections.
When I use the string:
{SCOpenGraph video=http://www.youtube.com/v/WfY_sdFlIuI?version=3&autohide=1}
SOMETIMES one 'amp' is dropped, sometimes not (can't yet find the reason, this is driving me crazy!).
And even more weird: when I tested the EDX-Example in Chrome, it first was NOT working (same behaviour like my link), now it IS working. Absolutely no idea what the reason could be.
To make it more robust I dropped the 'autohide' parameter, so I don't need those '&amp' things.
{SCOpenGraph video=http://www.youtube.com/v/WfY_sdFlIuI?version=3}
This seems to work now, hope it will not change again... :-o

So if you would have some tipps how the most stable and robust way of embedding a video is, I'd be happy!
The topic has been locked.
Support Specialist
If you include the &, just try it without converting the & to &, like:
{SCOpenGraph video=http://www.youtube.com/v/WfY_sdFlIuI?version=3&autohide=1}

Either way, I'm glad to hear it's working now. Obviously, test things further and good luck with your promotion!

Thanks,
Alex
The topic has been locked.