4 Replies Latest reply on Jan 19, 2016 12:41 PM by Dan Stevens

    Embed a video on a landing page using Javascript from Brightcove

      I want to embed a video in a landing page using Javascript code generated by our video hosting platform, Brightcove.  Looking through the help docs and discussions I can only find instructions on how to do it with a YouTube video.  Can you help?

      I have tried adding the code using the "edit HTML source" interface but it is not working.  I can see the Javascript code in place in the HTML, but it does not display the video player in edit mode or when I preview the page.

      Here's the code I'm using from Brightcove:

      <!-- Start of Brightcove Player -->



      <div style="display:none">

      </div>

      <!--
      By use of this code snippet, I agree to the Brightcove Publisher T and C
      found at https://accounts.brightcove.com/en/terms-and-conditions/.
      -->

      <script language="JavaScript" type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>

      <object id="myExperience3616197381001" class="BrightcoveExperience">
        <param name="bgcolor" value="#FFFFFF" />
        <param name="width" value="400" />
        <param name="height" value="225" />
        <param name="playerID" value="1009352068001" />
        <param name="playerKey" value="AQ~~,AAAA6ln2Jbk~,0KOYeFggeIKJaiBAXj9gvfwnfOL3ivMe" />
        <param name="isVid" value="true" />
        <param name="isUI" value="true" />
        <param name="dynamicStreaming" value="true" />
       
        <param name="@videoPlayer" value="3616197381001" />
      </object>



      <!--
      This script tag will cause the Brightcove Players defined above it to be created as soon
      as the line is read by the browser. If you wish to have the player instantiated only after
      the rest of the HTML is processed and the page load is complete, remove the line.
      -->
      <script type="text/javascript">brightcove.createExperiences();</script>



      <!-- End of Brightcove Player -->