-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Responsiveness #222
Comments
Unfortunately, doing so for sprites and stitched setups is not possible without breaking the current compatibility (possible only in IE8+), so for the first phase, I will leave these modes out :( Hopefully this decision will change... |
For those who like to try this out, the work on this is being carried on the responsiveness branch |
So, until now, this feature supported only sequences. Now it supports stitched and sprites too. There is a small limitation however. IE's insufficiencies mean, that when you set |
There's one new feature coming alongside of this and that is substitution of (certain) data values in URLs.
For example, with URL like this:
... the actual request will be for:
(for Reel 320 pixels wide and 180 high). Currently supported width ( |
…n mark-function pairs. `@T` has been implemented this way. #222
You can also define your own substitution method(s) inside the For example to create a quality substitute $.reel.substitutes["Q"] = function( get ){
if ( get("width") > 500 ) return "high"
else return "low";
} ... which you can then use in URLs:
... to fetch two different qualities from two folders:
|
Merged into development branch ready for release. |
Released today as part of v1.3.0 |
A request has been made to teach Reel to be responsive and eventually scale and grow with its parent.
Such a feature might be performance heavyish, so an option switch
responsive
will be provided and will be set to OFF by default (at least for the time being).The text was updated successfully, but these errors were encountered: