This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
271
Features / Re: Template edits
« on February 7th, 2013, 05:25 AM »
Don't use magic functions, they're pathetically slow. Can't you simply declare static functions in a base class, declare a new singleton class for main skeleton extending the base which has calls to the parent class but also passes the first parameter and keeps everything sane? That or make a new class for only one skeleton (you need more than one?) which is singleton and has instance object to return the only instance that it has?
272
Off-topic / Re: jQuery: .on() instead of .live()
« on February 3rd, 2013, 03:49 PM »
Two things
1) You're using the function wrong, it should be (similarly for the mouseleave function)
Code: [Select]
2) You're delegating events to an ID, that's pointless since you're only supposed to have one element in the DOM with the same ID. You might as well use bind after document.load
1) You're using the function wrong, it should be (similarly for the mouseleave function)
jQuery(document.body).on("mouseenter", "#ultimecomunicazioni", function() {
jQuery('<span id="ultimecomunicazioni_appear" style="font-weight:normal;margin-left:5px">(<a style="color:grey" href="//google.it">tutte</a>)</span>').appendTo(jQuery(this));
});2) You're delegating events to an ID, that's pointless since you're only supposed to have one element in the DOM with the same ID. You might as well use bind after document.load
273
The Pub / Re : Wedge templating for designers
« on February 2nd, 2013, 06:42 PM »
Honestly something like jquery should be global, not theme specific. Its not a theme preference, its something that affects the entire framework and things become ugly when one starts switching between two different frameworks. jQuery does mainly affect the visual output but if a standard library is default then plugins can freely use them to its full potential.
PS: Typed this from my tablet, would've given a longer answer but this is more or less what I mean.
PS: Typed this from my tablet, would've given a longer answer but this is more or less what I mean.
274
The Pub / Re : Wedge templating for designers
« on February 2nd, 2013, 12:46 PM »You do realize by limiting what a theme can do in this way, allowing things to be rendered a certain way regardless of what the theme wants to do(the titles for example, fixed to a common look in all themes), or letting plugins inject HTML that the theme will never know about, you put the burden of making it look nice more on you, the devs(and more fearsome, on the plugin authors, who generally will not live up to the challenge)?
While certainly not bad for you as devs, I cannot see Wedge ever having other than color versions of the offical theme(s) then..and in that respect become even less interesting for themers than SMF itself.
I am not saying abandon the current systen..but at least allow a theme to change the HTML from titles or plugins... I am of course assuming theme variation is a goal in Wedge. If not then its a moot point I guess.
275
The Pub / Re: Remove flash dependency from AeMe?
« on February 1st, 2013, 04:06 PM »I'm in Chrome, and all I can see when I right-click a video is a long menu and, at the end, "Flash Player Settings". <sigh>
276
The Pub / Re: Remove flash dependency from AeMe?
« on February 1st, 2013, 03:55 PM »I'm not sure they're taking it into account...Quote from Dragooon on January 31st, 2013, 03:06 PM Entirely YouTube :P.
Methinks they're counting only MP4 when both are available.
277
The Pub / Re: Remove flash dependency from AeMe?
« on January 31st, 2013, 03:06 PM »More interested in the alleged 2% market share for WebM... :wow:
278
Features: Theming / Re: CSS and JavaScript minification
« on January 30th, 2013, 03:39 PM »Very tempted to call it quits. It no longer wants me to compile anything...
279
The Pub / Re: Remove flash dependency from AeMe?
« on January 30th, 2013, 03:39 PM »Flash isn't a burden...
Class B = if we hide the feature instead of refusing its use, it's okay.
280
The Pub / Re: Remove flash dependency from AeMe?
« on January 30th, 2013, 02:57 PM »
At the minimum HTML5 playback/upload should be implemented with a fallback to flash based workouts, so that we can ultimately remove them at one point when they're simply a burden.
281
The Pub / Re: Remove flash dependency from AeMe?
« on January 29th, 2013, 04:33 PM »I was more asking about the mass upload aspect.
We still support IE8 with a vague nod at occasional IE7 support.
Firefox 4+
Google Chrome
Safari 5+
Opera 12+ (Took them two extra years to get on board...)
MSIE 10+ (I think, had a quick look and it does support File API)
282
The Pub / Re: Remove flash dependency from AeMe?
« on January 29th, 2013, 04:26 PM »
For WebM:
Mozilla Firefox 4 and later
Opera 10.60 and later
Google Chrome 6 and later
Microsoft Internet Explorer 9 and later (requires WebM MF components)
Safari on iOS doesn't support it and requires some sort of plugin for Mac OS X
For h.264/AAC over HTML5:
MSIE version 9 and later (not sure if by default)
Google Chrome 4.0 and later
Any relevant version of Safari over all platforms (I think it was 3+)
Mozilla Firefox 17.0 for Android and currently in nightly for desktops
Opera doesn't support any form AFAIK
h.264 seems ideal honestly but Firefox's support is a bit dodgy (screw Opera :P). We also have Ogg/Theora but I'm not sure about it.
Mozilla Firefox 4 and later
Opera 10.60 and later
Google Chrome 6 and later
Microsoft Internet Explorer 9 and later (requires WebM MF components)
Safari on iOS doesn't support it and requires some sort of plugin for Mac OS X
For h.264/AAC over HTML5:
MSIE version 9 and later (not sure if by default)
Google Chrome 4.0 and later
Any relevant version of Safari over all platforms (I think it was 3+)
Mozilla Firefox 17.0 for Android and currently in nightly for desktops
Opera doesn't support any form AFAIK
h.264 seems ideal honestly but Firefox's support is a bit dodgy (screw Opera :P). We also have Ogg/Theora but I'm not sure about it.
283
The Pub / Remove flash dependency from AeMe?
« on January 29th, 2013, 04:12 PM »
Are the flash plugins required anymore? HTML5 can handle h.264/WebM videos just fine and most of the recent browsers support them, and AFAIK we use flash for only these formats? Same goes with audio. Mass uploading can be conveniently replaced with HTML5 based upload and it'll probably be a better experience plus should be supported across mobiles as well. And I don't think we use flash for anything else.
PS: I also had an idea of allowing on-the-fly conversion of videos to webm for better compatibility with the web. Although it'll only be viable on a server like a VPS.
PS: I also had an idea of allowing on-the-fly conversion of videos to webm for better compatibility with the web. Although it'll only be viable on a server like a VPS.
284
Bug reports / Re : Weaving & Warm issues in iOS
« on January 23rd, 2013, 07:23 PM »Dragooon: seems you're right, as usual. http://www.mobilexweb.com/blog/iphone-5-ios-6-html5-developers seems to explain it, but type=file is what we have IIRC, though I don't know if our stuff plays nicely or not, I don't yet have iOS 6 on here to test.
Posted: January 23rd, 2013, 07:19 PM
Oh BTW, the linktree looks particularly pleasing on Warm.
285
Bug reports / Re : Weaving & Warm issues in iOS
« on January 23rd, 2013, 07:03 PM »
iOS6 actually enabled image uploading AFAIK, you need to modify some file input HTML for it to work with it.