Search Unity

embedding real time gif slideshow from giphy in a material?

Discussion in 'Formats & External Tools' started by martinamenegon, May 8, 2017.

  1. martinamenegon

    martinamenegon

    Joined:
    Aug 28, 2014
    Posts:
    31
    Hi all,
    I was wondering if it is possible to have a giphy link as texture in unity..
    to be more specific, i would like to use the embed code from a giphy tv (giff slideshow that constantly updates)... it looks like this:

    <div id="_giphy_tv"></div> <script> var _giphy_tv_tag="cat"; var g = document.createElement('script'); g.type = 'text/javascript'; g.async = true; g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'giphy.com/static/js/widgets/tv.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(g, s); </script>


    any idea?
    is it possible?