Fix mediaelement.js path in Nyan example.

This commit is contained in:
Jürg Lehni 2013-10-29 17:35:57 +01:00
parent 2066fae47a
commit ccfacf2484

View file

@ -5,13 +5,13 @@
<title>Nyan Rainbow</title>
<link rel="stylesheet" href="../css/style.css">
<script type="text/javascript" src="../../dist/paper.js"></script>
<script type="text/javascript" src="http://paperjs.org/static/mediaelement/mediaelement.js"></script>
<script type="text/javascript" src="http://paperjs.org/assets/mediaelement/mediaelement.js"></script>
<script type="text/paperscript" canvas="canvas">
// A tribute to Nyan Cat http://www.youtube.com/watch?v=QH2-TGUlwu4
var mediaElement;
var playing = false;
MediaElement('nyan', {
pluginPath: '/static/mediaelement/',
pluginPath: '/assets/mediaelement/',
success: function(me) {
mediaElement = me;
me.play();