2 Replies Latest reply on Feb 19, 2016 1:44 AM by mattdickens

    Twitter Widget Embed

    zooba

      There was an issue with previous Jive versions where the Twitter native widget display was being cut off when put into an HTML widget on the Overview Page. I was hoping this was fixed with Jive 8, however I am now unable to get it to display at all. Has anyone attempted this? Any luck, tips, results?

        • Re: Twitter Widget Embed
          zooba

          Anyone in the Jive Developers group have an answer?

            • Re: Twitter Widget Embed
              mattdickens

              Add this line to the end of the script. This will wait 1.5 seconds before resizing the html widget based on its content. increase the figure if you find the content is not loading in time before it is called.

               

              setTimeout(function(){resizeMe()},1500);
              

               

              so it should look like this:

               <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs"); setTimeout(function(){ resizeMe()},1500);
              </script>