1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-12-21 22:49:28 +00:00

Use SWFObject for flash pages

This commit is contained in:
Noah 2015-05-12 20:01:39 +00:00
parent b15379ce02
commit 2fa2f98405
4 changed files with 28 additions and 9 deletions

View File

@ -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 %}

View File

@ -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>

View File

@ -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 %}

View File

@ -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 %}