Answers.Body: <p>I followed the same steps on <a href="http://wpmaster.demo.civicrm.org/" rel="nofollow noreferrer">wpmaster</a> and i was able to add embeded video. Here is what i did:</p>
  
  <ol>
  <li>Added 2 custom field of type Link and Note(RichTextEditor).</li>
  <li>Added above 2 fields in a Profile search.</li>
  <li><p>Updated custom field for individual</p>
  
  <ul>
  <li>Added video link to link type custom field.</li>
  <li>Added embed video code to Note type custom field.
  <a href="https://i.sstatic.net/B2r9R.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/B2r9R.png" alt="enter image description here"></a></li>
  </ul></li>
  <li><p>On <a href="http://wpmaster.demo.civicrm.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm%2Fprofile&amp;gid=16&amp;reset=1" rel="nofollow noreferrer">Profile search mode</a> i did a search on contact #3
  <a href="https://i.sstatic.net/HPiYE.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HPiYE.png" alt="enter image description here"></a> </p></li>
  </ol>
  
  <p>Can you check CiviCRM Log to see any error being recorded?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-03T07:03:24.333Z
Answers.LastActivityDate: 2018-01-03T07:03:24.333Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>Working on a public directory. The listings include a link to a YouTube video. It is working fine with a custom field of the type link. We would like to embed the videos in the search results. I created a custom field for this. When I add the embed code in the back end I get.</p>
  
  <blockquote>
    <p>Network Error
    Unable to reach the server. Please refresh this page in your browser and try again.</p>
  </blockquote>
  
  <p>If I use a text area field with rich text editor and paste the code using the source view the video shows and can be played when you switch out of source but it will not save.</p>
  
  <p>Using WordPress 4.9 &amp; CiviCRM 4.7.27</p>
  
Tags: <custom-fields><profile><directory>
Title: Embed video in Profile field for directory
ThreadText: # Embed video in Profile field for directory
  
  (Asked by: username_0 on 2018-01-02)
  
  Working on a public directory. The listings include a link to a YouTube video. It is working fine with a custom field of the type link. We would like to embed the videos in the search results. I created a custom field for this. When I add the embed code in the back end I get.
  
  > Network Error
  > Unable to reach the server. Please refresh this page in your browser and try again.
  
  If I use a text area field with rich text editor and paste the code using the source view the video shows and can be played when you switch out of source but it will not save.
  
  Using WordPress 4.9 & CiviCRM 4.7.27
  
  **Tags:** custom-fields, profile, directory
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-01-03. Score: 1
  
  I followed the same steps on [wpmaster](http://wpmaster.demo.civicrm.org/) and i was able to add embeded video. Here is what i did:
  
  1. Added 2 custom field of type Link and Note(RichTextEditor).
  2. Added above 2 fields in a Profile search.
  3. Updated custom field for individual
  
     * Added video link to link type custom field.
     * Added embed video code to Note type custom field.
       [![enter image description here](https://i.sstatic.net/B2r9R.png)](https://i.sstatic.net/B2r9R.png)
  4. On [Profile search mode](http://wpmaster.demo.civicrm.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fprofile&gid=16&reset=1) i did a search on contact #3
     [![enter image description here](https://i.sstatic.net/HPiYE.png)](https://i.sstatic.net/HPiYE.png)
  
  Can you check CiviCRM Log to see any error being recorded?
  
  
  ---
  
  