Browse Source

Use SWFObject for flash pages

rophako
Noah Petherbridge 7 years ago
parent
commit
2fa2f98405
  1. 9
      www/flash/aichaos-warners.html
  2. 12
      www/flash/flash-common.html
  3. 8
      www/flash/kanian-azulian-war.html
  4. 8
      www/flash/pwnizard-i-choose-you.html

9
www/flash/aichaos-warners.html

@ -4,9 +4,12 @@
<h1>AiChaos Warners</h1>
<embed src="/creativity/flash/warners.swf" width="550" height="400"
autoplay="true" loop="true" hidden="false" quality="high"><p>
{% set swf_path="/creativity/flash/warners.swf" %}
{% set swf_width=550 %}
{% set swf_height=400 %}
{% include "flash/flash-common.html" %}
&#0171; <a href="/flash">More Flash Animations</a>
{% endblock %}
{% endblock %}

12
www/flash/flash-common.html

@ -0,0 +1,12 @@
<script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<div id="swfObject"></div>
<br><br>
<script>
swfobject.embedSWF("{{ swf_path }}", "swfObject",
{{ swf_width }}, {{ swf_height }},
"10.0.0"
);
</script>

8
www/flash/kanian-azulian-war.html

@ -4,9 +4,11 @@
<h1>Kanian/Azulian War</h1>
<embed src="/creativity/flash/KanianAzuWar.swf" width="550" height="400"
autoplay="true" loop="true" hidden="false" quality="high"><p>
{% set swf_path="/creativity/flash/KanianAzuWar.swf" %}
{% set swf_width=550 %}
{% set swf_height=400 %}
{% include "flash/flash-common.html" %}
&#0171; <a href="/flash">More Flash Animations</a>
{% endblock %}
{% endblock %}

8
www/flash/pwnizard-i-choose-you.html

@ -4,9 +4,11 @@
<h1>Pwnizard, I Choose You!</h1>
<embed src="/creativity/flash/pwnizard.swf" width="480" height="320"
autoplay="true" loop="true" hidden="false" quality="high"><p>
{% set swf_path="/creativity/flash/pwnizard.swf" %}
{% set swf_width=480 %}
{% set swf_height=320 %}
{% include "flash/flash-common.html" %}
&#0171; <a href="/flash">More Flash Animations</a>
{% endblock %}
{% endblock %}

Loading…
Cancel
Save