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

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

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

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

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

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 -

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

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 -

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

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

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

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

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

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, >

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

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

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