Last active
December 30, 2015 10:59
-
-
Save leomao10/7819941 to your computer and use it in GitHub Desktop.
Failing Prezi API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- VM10034:1 0ef9755629d2.js:2 | |
Uncaught Error: Internal error on method getCurrentObject | |
(anonymous function) | |
d | |
- VM10040:1 0ef9755629d2.js:2 | |
Uncaught Error: Internal error on method getCurrentObject | |
(anonymous function) | |
d | |
- 0ef9755629d2.js:2 | |
GET https://prezi.com/api/v1/user/me/?format=json 401 (UNAUTHORIZED) | |
f | |
- VM10046:1 0ef9755629d2.js:2 | |
Uncaught Error: Internal error on method getCurrentObject | |
(anonymous function) VM10046:1 | |
d | |
- VM10052:1 0ef9755629d2.js:2 | |
Uncaught Error: Internal error on method getCurrentObject | |
(anonymous function) VM10052:1 | |
d | |
- VM10059:1 0ef9755629d2.js:2 | |
Uncaught Error: Internal error on method getCurrentObject | |
(anonymous function) | |
d | |
- VM10078:1 | |
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<body> | |
<div id="prezi-player"> | |
Hello | |
</div> | |
<script src="https://prezi.github.io/prezi-player/lib/PreziPlayer/prezi_player.js"></script> | |
<script type="text/javascript"> | |
var player = new PreziPlayer('prezi-player', { | |
preziId: 'cxl1jy1chi9k', | |
width: '100%', | |
height: '800px' | |
}); | |
player.on(PreziPlayer.EVENT_STATUS, function(e) { | |
console.debug("Hi"); | |
if (e.value === PreziPlayer.STATUS_CONTENT_READY) { | |
player.play(4000); | |
} | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment