Re: webP and webM support in LiveCode

2017-08-25 Thread Monte Goulding via use-livecode
> On 26 Aug 2017, at 5:12 am, Alejandro Tejada via use-livecode > wrote: > > Please, before ruling out completely the opportunity > to include a modern compressed image format > like webP, I don’t think anyone is ruling anything out. Cheers Monte _

Re: Search Values of Array in "One Go"

2017-08-25 Thread Monte Goulding via use-livecode
As a slightly related aside in this conversation I’d still one day like to add `each` to filter: — filter array and retain elements where element[“foo”][“bar”] = “baz" put “foo” into tPath[1] put “bar” into tPath[2] filter elements of tArray by evaluating each[tPath] is “baz” Cheers Monte _

Re: Search Values of Array in "One Go"

2017-08-25 Thread Brian Milby via use-livecode
tElement isn't the part that would change (you are still searching against a single value in the array), you would need to modify the comparison to allow for pNeedle to contain multiple values and the operators. It would probably be easier to modify to use a RegEx. If you have 2 comma separated i

Re: Search Values of Array in "One Go"

2017-08-25 Thread Brian Milby via use-livecode
I created a stack to do some testing to see about making a function that could do multiple types of tests. What I found was that adding another if at that point added about 6% to the search time and a second level (else if) added another 10% (16% total). (I added a parameter for search type - "St

Re: Search Values of Array in "One Go"

2017-08-25 Thread Sannyasin Brahmanathaswami via use-livecode
OK I will bite what would an array representing an "AND/OR" style query look like such that if used as a predicate for else if tElement contains pNeedle then it would return true/false How would you have to construct "tElement" ?? Mark: In terms of generalizing that function - then

Adjusting browser widget contents for the keyboard in android

2017-08-25 Thread Jonathan Lynch via use-livecode
Has anyone had success with this? I have tried many suggestions from stack overflow and other sites with no luck. On an iPad this happens automatically. Not at all on android. Sent from my iPhone ___ use-livecode mailing list use-livecode@lists.runrev.

webP and webM support in LiveCode

2017-08-25 Thread Alejandro Tejada via use-livecode
I forgot a very important aspect of implementing webP in LiveCode engine. For a first implementation, LiveCode could import (decode) only static -not animated- webP images and exclude the option of exporting images as webP (excluding the encoder from the engine). This would reduce the complexity o

Re: webP and webM support in LiveCode

2017-08-25 Thread Bob Sneidar via use-livecode
NVM you are talking about the compression ratio. Bob S > On Aug 25, 2017, at 12:12 , Alejandro Tejada via use-livecode > wrote: > > WebP compress flat color graphics (with transparency) > much better than PNG or GIF. > > This is not a guess based on visual comparisons. ___

Re: webP and webM support in LiveCode

2017-08-25 Thread Bob Sneidar via use-livecode
I thought PNG is lossless. How can the image be better than the original?? Bob S > On Aug 25, 2017, at 12:12 , Alejandro Tejada via use-livecode > wrote: > > WebP compress flat color graphics (with transparency) > much better than PNG or GIF. > > This is not a guess based on visual compariso

webP and webM support in LiveCode

2017-08-25 Thread Alejandro Tejada via use-livecode
Hi Monte, on Thu Aug 24 2017, Monte Goulding wrote: > webM would require a reasonable size refactor to players because > we would need to wrap a custom player around the library and then > decide which player to use depending on the movie file. > webP on the other hand looks like it could be added

Re: HTML5 - Playing Audio files tutorial?

2017-08-25 Thread JOHN PATTEN via use-livecode
Hi Collin, No, the mp3 will not play either. I must be missing a step. :( http://jpatten.on-rev.com/sylvan/HTNML5%20Test.html . (no audio plays) http://jpatten.on-rev.com/sylvan/ TestAudio2.mp3. (plays fro

Re: Sending a message to users that floats above everything

2017-08-25 Thread J. Landman Gay via use-livecode
On 8/24/17 2:28 PM, Richard Gaskin via use-livecode wrote: > The equivalent for Android is in the Android object library I made > which is now available for anyone who attended my LC Global session. For those who didn't, what is it and where it is? It's an object library I made for myself t

Re: HTML5 - Playing Audio files tutorial?

2017-08-25 Thread Colin Holgate via use-livecode
Normally you would play MP3 or OGG in HTML5. Do MP3 files play ok? > On Aug 25, 2017, at 11:06 AM, JOHN PATTEN via use-livecode > wrote: > > Hi All, > > I have followed the tutorial here on playing audio files, > http://lessons.livecode.com/m/4071/l/742506-how-do-i-play-sound-files-in-html5

HTML5 - Playing Audio files tutorial?

2017-08-25 Thread JOHN PATTEN via use-livecode
Hi All, I have followed the tutorial here on playing audio files, http://lessons.livecode.com/m/4071/l/742506-how-do-i-play-sound-files-in-html5 I have tried with both a wav file, and a m4a. Neither of them seem t

Re: Search Values of Array in "One Go"

2017-08-25 Thread Mark Waddingham via use-livecode
On 2017-08-25 17:43, Sannyasin Brahmanathaswami via use-livecode wrote: @ Mark Waddingham Awesome! thanks, I will test this later… Yes, my solution, at the urging of our Cohorts of the Round Table LiveCode Data Diggers, who earlier said "Don't go looking for your needles in arrays." ( I just r

Re: Search Values of Array in "One Go"

2017-08-25 Thread Sannyasin Brahmanathaswami via use-livecode
@ Mark Waddingham Awesome! thanks, I will test this later… Yes, my solution, at the urging of our Cohorts of the Round Table LiveCode Data Diggers, who earlier said "Don't go looking for your needles in arrays." ( I just reformulated the SQL quaryand passed it back "up" to the stack script w

can't play h.264 on some windows machines

2017-08-25 Thread Tiemo Hollmann TB via use-livecode
Hello, for the video guys amongst you. As we know windows can't play h.264 mp4 videos with the old by LC used directShow API natively. You have to install additionally mp4 filters. I am using the LAV filters in my projects, which usually work fine and the mp4 videos can be played from my LC 8.1.4

Re: Little OT: PHP script needed

2017-08-25 Thread Klaus major-k via use-livecode
Hi all, we have found someone, thanks for all responses! > Am 24.08.2017 um 14:28 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > sorry for posting this to this list, but it is a bit of an emergency... > Anyone available for writing a little PHP script I can post things to? > Re

Re: Search Values of Array in "One Go"

2017-08-25 Thread Mark Waddingham via use-livecode
On 2017-08-23 17:24, Sannyasin Brahmanathaswami via use-livecode wrote: We use these arrays with media metadata that is extracted from our database of media metadata. The dbase was originally designed for lots of columns so that "there is nothing we cannot know about a media item" incorporating D