Tags: Animatron/player
Tags
v1.2 * Player is initialised from a container now (a warning appears, if it was initialized from canvas) * Player stores it's private data in `__anm` property of elements * Player is able to auto-initialize from a tag like `<div anm-player-target anm-snapshot-url="http://clips.animatron.com/0d8887993614c3b6d57535eca50fa014.json?width=200&height=200" anm-auto-play="true"></div>` w/o any additional JavaScript
* Use Engines! i.e. at client, DOM-engine is used as a proxy for all … …canvas & DOM related functionality * Fix `contains` test to include scale in applying of pivot/registration point * Fix image mockup in tests * ...Though tests are disabled now :( * There's a root `anm` namespace now, the parent for all classes and utils * The `require`-driven modules structure, though not perfect for the moment * Implement importing binary-encoded paths from Animatron * Implement paths caching when importing from Animatron * Fixes in masks, not complete * Give the ability for external scripts to disable loading audio or images or both, it was required for preview generation. * Pass time in scripting module handlers * Make projects always infinite in scripting module * Jumps in scripting module * Support master audio * Change `VISIBLE` flag to `HIDDEN` when importing * Support scripting for groups * Fixes for controls (when resizing and detaching player) * Stop loading animation on error, if last happened. * Fixes for importing local time * Fixes in audio & scripting modules * Loading screen for player w/o controls * Build system improvements * Controls restyling & refactoring, several times + support for controls "themes" * Support for thumbnail (an image shown on background instead of first frame) * Ability to pass thumbnail URL with snapshot URL * Pass a lot of useful information to modifiers, like `dt`, and `duration` * Fixed and improved canvas resizing * Refactor the way player applies options and stores them (truly awesome!) * Fix passing parameters through the snapshot URL * Publishing page and script tuning (they are now separated, `publish.js` is in Player's repo though) * GZIP support, smarter minifying * Notify Animatron API about plays * `S_COMPLETE` event (player surely finished playing the scene, not just stopped by accident) * `S_CHANGE_STATE` event to be fired on every player state change * Ability for user to overrride player styles, player creates it's own and custom CSS classes instead of writing directly into elements' style * Color tween, both fill and stroke * Custom fonts support * Text baseline fixes * Controls are not attached to body anymore, but placed next to player's canvas... * ...and both are now placed in a wrapper div, which puts original canvas inside of itself, which breaks some things for users, but we weren't able to solve this another way in this version (CSS positioning was impossible in a lot of cases with previous model + recalculating controls position taken a lot CPU before)
* Use Engines! i.e. at client, DOM-engine is used as a proxy for all … …canvas & DOM related functionality * Fix `contains` test to include scale in applying of pivot/registration point * Fix image mockup in tests * ...Though tests are disabled now :( * There's a root `anm` namespace now, the parent for all classes and utils * The `require`-driven modules structure, though not perfect for the moment * Implement importing binary-encoded paths from Animatron * Implement paths caching when importing from Animatron * Fixes in masks, not complete * Give the ability for external scripts to disable loading audio or images or both, it was required for preview generation. * Pass time in scripting module handlers * Make projects always infinite in scripting module * Jumps in scripting module * Support master audio * Change `VISIBLE` flag to `HIDDEN` when importing * Support scripting for groups * Fixes for controls (when resizing and detaching player) * Stop loading animation on error, if last happened. * Fixes for importing local time * Fixes in audio & scripting modules * Loading screen for player w/o controls * Build system improvements * Controls restyling & refactoring, several times + support for controls "themes" * Support for thumbnail (an image shown on background instead of first frame) * Ability to pass thumbnail URL with snapshot URL * Pass a lot of useful information to modifiers, like `dt`, and `duration` * Fixed and improved canvas resizing * Refactor the way player applies options and stores them (truly awesome!) * Fix passing parameters through the snapshot URL * Publishing page and script tuning (they are now separated, `publish.js` is in Player's repo though) * GZIP support, smarter minifying * Notify Animatron API about plays * `S_COMPLETE` event (player surely finished playing the scene, not just stopped by accident) * `S_CHANGE_STATE` event to be fired on every player state change * Ability for user to overrride player styles, player creates it's own and custom CSS classes instead of writing directly into elements' style * Color tween, both fill and stroke * Custom fonts support * Text baseline fixes * Controls are not attached to body anymore, but placed next to player's canvas... * ...and both are now placed in a wrapper div, which puts original canvas inside of itself, which breaks some things for users, but we weren't able to solve this another way in this version (CSS positioning was impossible in a lot of cases with previous model + recalculating controls position taken a lot CPU before)
* Accidentally switch to version 1.0 * Improve scripting support * Pass time in scripting module handlers * Make projects always infinite in scripting module * Update scripting manual * `findByName`, `goToScene` and `goToTime` functions for scripting * Fixes for a lot of incompatibilies with Animatron Editor when importing * Fix unsafe removing of elements when disposing scenes * Fix already-playing-check for dynamic modes * Give the ability for external scripts to disable loading audio or images or both, it was required for preview generation * Fix `contains` test to include scale in applying of pivot/registration point * Fix image mockup in tests * New easings came from Editor * Change `VISIBLE` flag to `HIDDEN` * Fix different problems with controls
PreviousNext