1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-12-22 15:09:29 +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,8 +4,11 @@
<h1>AiChaos Warners</h1> <h1>AiChaos Warners</h1>
<embed src="/creativity/flash/warners.swf" width="550" height="400" {% set swf_path="/creativity/flash/warners.swf" %}
autoplay="true" loop="true" hidden="false" quality="high"><p> {% set swf_width=550 %}
{% set swf_height=400 %}
{% include "flash/flash-common.html" %}
&#0171; <a href="/flash">More Flash Animations</a> &#0171; <a href="/flash">More Flash Animations</a>

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

View File

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