Since the media embed option in 1.7, users can paste links from different social channels to embed it in posts, comments and description fields.
It is not clear to a user which channels are supported by Open Social.
'Facebook, Flickr, Instagram, Youtube, Slideshare, Soundcloud, Spotify, TED, Twitter, Vimeo and a few more.' https://lets.getopensocial.com/embed_media_in_content
This is reported by a customer (PAC), since they don't want people hit-and-miss, especially on posts/comments. (because the description fields show a preview first).
Comment | File | Size | Author |
---|---|---|---|
#11 | add_form_description-2938804-11.patch | 1.07 KB | dcgoodwin |
#5 | opensocial-embed-in-wysiwyg.png | 88.1 KB | jaapjan |
Comments
Comment #2
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and for Open Social commentedComment #3
sameeran joshi CreditAttribution: sameeran joshi commentedi am newbie,could you plz tell me which files should i change in the module?thanku
Comment #4
sameeran joshi CreditAttribution: sameeran joshi commentedalso a detailed installation of embedding a link could be helpful,thanks
Comment #5
jaapjan CreditAttribution: jaapjan commentedHi there,
There are multiple ways of embedding a link. Prerequisite is that the social_embed module is enabled (this is the only installation step). After that:
1. You can do it via the WYSIWYG editor in the Description/Body when you create a new topic/event/page.
2. You can post a compatible link in any comment or post and it will convert to an embed object automatically.
I think we should first focus on the description for 1. I suggest we add the description here:
I think you can add this description:
"You can post a link to Facebook, Flickr, Instagram, Spotify, Twitter, Vimeo, Youtube and Ted.com and it will automatically convert to a embedded media object."
I am not entirely sure what would be the best way to do this but I think it would be best if you implement a hook_form_alter in the social_embed.module to alter the form which is displayed after clicking the button in the WYSIWYG.
Comment #6
sameeran joshi CreditAttribution: sameeran joshi commentedI have got an idea clear of what to do, i. e like a placeholder we would be placing the text in the 'url' field. But In order to understand the functions in social_embed. Module where should i refer to. I dont know how to display text in it. Thanku
Comment #7
shubham_narlawar CreditAttribution: shubham_narlawar at Google Summer of Code commentedIs this issue same as below issue?
https://www.drupal.org/project/emfield
Comment #8
jaapjan CreditAttribution: jaapjan commentedHow is it going with this issue? Any progress?
Comment #9
dcgoodwin CreditAttribution: dcgoodwin as a volunteer commentedComment #10
dcgoodwin CreditAttribution: dcgoodwin as a volunteer commentedAdding patch
Comment #11
dcgoodwin CreditAttribution: dcgoodwin as a volunteer commentedAdding updated patch to correct minor typo in the description text of the previous patch.
Comment #12
dcgoodwin CreditAttribution: dcgoodwin as a volunteer commentedComment #13
dcgoodwin CreditAttribution: dcgoodwin as a volunteer commentedComment #14
tbsiqueiraBecause we are now moving to Media API this will be relevant, closing ticket.