mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Fix mediaelement.js path in Nyan example.
This commit is contained in:
parent
2066fae47a
commit
ccfacf2484
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue