1,633 questions

3,178 answers


478 users

Anyone been able to embed videos into CRM?

0 votes

Has anyone been able to successfully embed videos into CRM?

asked Nov 27 by chriswhisenhunt (3,850 points)   8 25 43

1 Answer

0 votes

Looks like videos are not supported as field types like photos are. I created a view form that selected the video url out of our custom video table. Then in the html I did the following:

<span id="#MAP#VIDEOURL_value" style="float: right; display: none;"></span>
  <video id="MyVideo" controls style="float: right;">
    Your browser does not support the video tag.

and then

<script type="text/javascript" language="javascript">
  function setUrl() {
    var url = $("##MAP#VIDEOURL_value").text();
    var video = document.getElementById('MyVideo');
    var source = document.createElement('source');

    source.setAttribute('src', url);


  //the view form doesnt load the value in time so 
  //we have to give the platform a second to wait
  setTimeout(setUrl, 1000);
answered Nov 27 by chriswhisenhunt (3,850 points)   8 25 43