mirror of
https://github.com/kirsle/kirsle.net
synced 2024-11-13 04:19:28 +00:00
Use SWFObject for flash pages
This commit is contained in:
parent
b15379ce02
commit
2fa2f98405
|
@ -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" %}
|
||||
|
||||
|
||||
« <a href="/flash">More Flash Animations</a>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
12
www/flash/flash-common.html
Normal file
12
www/flash/flash-common.html
Normal 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>
|
||||
|
|
@ -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" %}
|
||||
|
||||
« <a href="/flash">More Flash Animations</a>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
|
@ -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" %}
|
||||
|
||||
« <a href="/flash">More Flash Animations</a>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user