Source

liftinguptheworld / templates / cms / plugins / flash.html

{% load i18n sekizai_tags %}

{% addtoblock "js" %}<script type="text/javascript" src="{{ STATIC_URL }}js/flashobject.js"></script>{% endaddtoblock %}
{% addtoblock "js" %}
<script type="text/javascript">
  // <![CDATA[
  var fo = new FlashObject("{{ object.file.url }}", "movie", "{{ object.get_width }}", "{{ object.get_height }}", "10", "");
  //fo.addParam("scale","noscale");
  fo.addParam("allowScriptAccess", "sameDomain");
  fo.addParam("allowFullScreen","true");
  fo.addParam("wMode", "direct");
  fo.addVariable('xmlName', '{{ STATIC_URL }}panorama/menus.xml');
  fo.addVariable('quality3D', '70');
  fo.write("flash-plugin-{{ object.id }}");
  // ]]>
</script>
{% endaddtoblock %}


<div id="flash-plugin-{{ object.id }}" class="" style="height:100%">
  <span class="homecopy"><br><br><br><br><br><br><br><br>
    {% trans "Missing flash plugin. Please download the latest Adobe Flash Player: " %}<br />
    <a href="https://www.adobe.com/go/getflashplayer">
      <img alt="{% trans 'Get Adobe Flash Player' %}" src="{{ STATIC_URL }}cms/images/plugins/get_flash_player.gif" />
    </a>
  </span>
</div>