Go Green Solutions, LLC

Hitachi Vantara – Digital Transformation, IoT, Cloud, Big Data and Analytics

[]

  • Products
  • Services

    ‘); }) /*$(window).bind(“load”, function() { var myPlayer, timeoutID, removeCTATime; videojs(‘myPlayerID’).ready(function(){ var cuePointAra = [], allCuePointData; myPlayer = this; // Hide overlay initially //myPlayer.addClass(“hide-overlay”); var $hh = $(”); $(‘#myPlayerID’).append($hh); cuePointAra = myPlayer.mediainfo.cue_points; var tt = myPlayer.textTracks()[0]; // When a cue point starts, extract cue data and pass data to be displayed tt.oncuechange = function () { if (tt.activeCues[0] !== undefined) { allCuePointData = getSubArray(cuePointAra, ‘time’, tt.activeCues[0].startTime); displayCTA(allCuePointData[0]); } } myPlayer.play(); myPlayer.on(‘loadstart’, function (evt) { // +++ Listen for cue change then pass data to be displayed +++ console.log(myPlayer.mediainfo); cuePointAra = myPlayer.mediainfo.cue_points; var tt = myPlayer.textTracks()[0]; // When a cue point starts, extract cue data and pass data to be displayed tt.oncuechange = function () { if (tt.activeCues[0] !== undefined) { allCuePointData = getSubArray(cuePointAra, ‘time’, tt.activeCues[0].startTime); displayCTA(allCuePointData[0]); } } myPlayer.play(); }); // +++ Extract data pieces from cue point meta data and display overlay +++ function displayCTA(cpData) { // Split metadata into an array of three pieces based on location of semicolons var dataAra = cpData.metadata.split(‘;’), durationCTA = dataAra[0], textCTA = dataAra[1], urlCTA = dataAra[2], // Dynamically build the anchor tag hrefCTA = ‘‘ + textCTA + ‘‘, timeoutValue; // Set duration, set timeout, inject dynamic html and show overlay timeoutValue = Number(durationCTA) * 1000; timeoutID = window.setTimeout(checkTime, timeoutValue); document.getElementsByClassName(“register”)[0].innerHTML = hrefCTA; //myPlayer.removeClass(“hide-overlay”); $(‘.vjs-overlay’).addClass(“active”); } // +++ Clear timeout and remove overlay +++ // This function called when timeout is reached function checkTime() { window.clearTimeout(timeoutID); //myPlayer.addClass(“hide-overlay”); $(‘.vjs-overlay’).removeClass(“active”); } // +++ Helper function to extract cue point info +++ function getSubArray(targetArray, objProperty, value) { var i, totalItems = targetArray.length, objFound = false, idxArr = []; for (i = 0; i

  • Next 2019

    Solutions To Maximize Your Return on Data

    5000

    true

    © Disney

    LET’S MAKE MAGICAL EXPERIENCES

    Hitachi Vantara and Disney Parks Announce Strategic Alliance

    DataOps provides data-driven insights to ride and show operations to enhance the experience of all guests by eliminating unplanned downtime and delivering operational improvements.

    Home page template

    en

    You’re in the Right Place!

    Hitachi Data Systems, Pentaho and Hitachi Insight Group have merged into one company: Hitachi Vantara.

    The result? More data-driven solutions and innovation from the partner you can trust.

    You’re in the Right Place!

    REAN Cloud is now a part of Hitachi Vantara.
    The result? Robust data-driven solutions and innovation, with industry-leading expertise in cloud migration and modernization.

    You’re in the Right Place!

    Hitachi Consulting and Hitachi Vantara have integrated into a new company under the Hitachi Vantara brand. We help you connect what’s now to what’s next.

    This site uses cookies from Hitachi and third parties for our own business purposes and to personalize your experience. By using this site, you agree to the use of cookies. For more information, visit Hitachi Cookies Policy.

    Source

    error: Content is protected !!