Re: Android Player Object in Background

2022-07-26 Thread Dan Friedman via use-livecode
Tom,

Yes, I know the browser will do this.  That's what we did originally.   But, I 
couldn't get enough control over the playback in the browser.  The Player 
Object does everything I need!   Except work with the OS apparently.  I'll have 
to reach out to LC for assistance.

-Dan


On 7/26/22, 2:29 PM, "use-livecode on behalf of Tom Glod via use-livecode" 
 wrote:

The way I achieved this is using a html 5 player in the browser instead of
the player object.
The player has no way of doing this currentlyas far as I know.

On Tue, Jul 26, 2022 at 12:43 PM Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a music playing app that uses the native player object to play
> music.  When in the background, iOS allows control of the playing song in
> the Control Center.  This not function this way on Android.  There is a
> androidStartAudioPlayingInBackground command, but that plays a supplied
> url, not from the player object.   Does anyone have any insight on this?
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android Player Object in Background

2022-07-26 Thread Tom Glod via use-livecode
The way I achieved this is using a html 5 player in the browser instead of
the player object.
The player has no way of doing this currentlyas far as I know.

On Tue, Jul 26, 2022 at 12:43 PM Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have a music playing app that uses the native player object to play
> music.  When in the background, iOS allows control of the playing song in
> the Control Center.  This not function this way on Android.  There is a
> androidStartAudioPlayingInBackground command, but that plays a supplied
> url, not from the player object.   Does anyone have any insight on this?
>
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android Player Object in Background

2022-07-26 Thread Dan Friedman via use-livecode
I have a music playing app that uses the native player object to play music.  
When in the background, iOS allows control of the playing song in the Control 
Center.  This not function this way on Android.  There is a 
androidStartAudioPlayingInBackground command, but that plays a supplied url, 
not from the player object.   Does anyone have any insight on this?

-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-29 Thread Paul Dupuis via use-livecode
There are apparently no work-arounds for the failure of this version of 
the export snapshot on Windows 10/11


I've tried:
    -- method that does not work on Windows, but works on macOS with 
player hidden [A REQUIREMENT]

    put the rect of player "myPlayer" into tRect
    export snapshot from rect tRect of player "myPlayer" to tImage as PNG
    put tImage into img "myImage"

    -- trying alt method #1 [FAILS LIKE ABOVE]
    export snapshot from player "myPlayer" to tImage as PNG
    put tImage into img "myImage"

    -- trying alt method #2 [TAKES A SNAPSHOT OF THE WINDOWS SCREEN]
    put the rect of player "myPlayer" into tRect
    export snapshot from rect tRect to tImage as PNG
    put tImage into img "myImage"

    -- trying alt method #3 [WORKS ONLY IF VISIBLE ON SCREEN WITH 
NOTHING ON TOP (no overlapping windows)] This also fails (with an 
execution error) if the user has moved the window so the player is 
off-screen!

    put the rect of player "myPlayer" into tRect
    export snapshot from rect tRect of window (the windowID of this 
stack) to tImage as PNG

    put tImage into img "myImage"

As I need to grab multiple specific frames of video as a series of 
images behind the scenes for any analysis/report, I can not have the 
player visible while the user is running the analysis. Current the code 
hides the player controller. The player is on a non-visible stack and 
the video is associated with that hidden player. A loop then sets the 
currentTime of the player to various points based on clips provided by 
the researcher and takes an image of each frame that currentTime is set to.


This works on macOS and in some prior versions of LC and/or Windows, 
worked on Windows as well and now in LC 9.6.7 on WIn 10/11 it does not.




On 4/27/2022 6:21 PM, Paul Dupuis via use-livecode wrote:

I am executing the following 2 lines of code:

  export snapshot from rect tRect of player "mediaConvert" 
of stack "libHrAPI" to tImage as PNG

  put tImage into img "imageConvert" of stack "libHrAPI"

Prior to the export the player has a video load and has the 
currentTime set to a particular frame, and I can see in the stack that 
the player is showing the correct frame is visible.

I can also see that the image "imageConvert" is also visible, but empty

After the Export Snapshot is executed, it looks like tImage contains 
valid PNG data, although I can not tell if it is the correct image
After the Put statement, the image "imageConvert" is set to a white 
rectangle with a little bit of the player border on the left and top. 
It is the same size as the player where as the empty image I started 
with was larger.


This is with LC 9.6.7 on Windows 10. This code works on macOS. Does 
anyone know if there is a known Windows bug with export a snapshot 
form a player and any work around?



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-29 Thread Paul Dupuis via use-livecode

Martin,

Thank you for confirming. I have filed a bug with Livecode: 
https://quality.livecode.com/show_bug.cgi?id=23694


On 4/29/2022 8:45 AM, Martin Koob wrote:

Hi Paul

I just tried the same thing and got the same result.  It works on Mac, not on 
Windows.

I also tried exporting the image as a file to see if that made any difference.

   export snapshot from rect tRect of player "mediaConvert" of stack 
"libHrAPI" to file [filepath/filename.png] as PNG

  I got an image file but it is the same as what you see in the image object on 
the stack — an image of a white rect inside the player boarder.

So it looks like it is a bug.  The snapshot does create a proper png it just 
doesn’t grab the current video image inside the player it just gets a white 
rect.

Martin


On Apr 27, 2022, at 6:21 PM, Paul Dupuis via use-livecode 
 wrote:

I am executing the following 2 lines of code:

   export snapshot from rect tRect of player "mediaConvert" of stack 
"libHrAPI" to tImage as PNG
   put tImage into img "imageConvert" of stack "libHrAPI"

Prior to the export the player has a video load and has the currentTime set to 
a particular frame, and I can see in the stack that the player is showing the 
correct frame is visible.
I can also see that the image "imageConvert" is also visible, but empty

After the Export Snapshot is executed, it looks like tImage contains valid PNG 
data, although I can not tell if it is the correct image
After the Put statement, the image "imageConvert" is set to a white rectangle 
with a little bit of the player border on the left and top. It is the same size as the 
player where as the empty image I started with was larger.

This is with LC 9.6.7 on Windows 10. This code works on macOS. Does anyone know 
if there is a known Windows bug with export a snapshot form a player and any 
work around?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-29 Thread Martin Koob via use-livecode
Hi Paul

I just tried the same thing and got the same result.  It works on Mac, not on 
Windows.

I also tried exporting the image as a file to see if that made any difference. 

  export snapshot from rect tRect of player "mediaConvert" of stack 
"libHrAPI" to file [filepath/filename.png] as PNG

 I got an image file but it is the same as what you see in the image object on 
the stack — an image of a white rect inside the player boarder.

So it looks like it is a bug.  The snapshot does create a proper png it just 
doesn’t grab the current video image inside the player it just gets a white 
rect.

Martin

> On Apr 27, 2022, at 6:21 PM, Paul Dupuis via use-livecode 
>  wrote:
> 
> I am executing the following 2 lines of code:
> 
>   export snapshot from rect tRect of player "mediaConvert" of 
> stack "libHrAPI" to tImage as PNG
>   put tImage into img "imageConvert" of stack "libHrAPI"
> 
> Prior to the export the player has a video load and has the currentTime set 
> to a particular frame, and I can see in the stack that the player is showing 
> the correct frame is visible.
> I can also see that the image "imageConvert" is also visible, but empty
> 
> After the Export Snapshot is executed, it looks like tImage contains valid 
> PNG data, although I can not tell if it is the correct image
> After the Put statement, the image "imageConvert" is set to a white rectangle 
> with a little bit of the player border on the left and top. It is the same 
> size as the player where as the empty image I started with was larger.
> 
> This is with LC 9.6.7 on Windows 10. This code works on macOS. Does anyone 
> know if there is a known Windows bug with export a snapshot form a player and 
> any work around?
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC 9.6.7 export snapshot from a player object seems to fail on Windows (10)

2022-04-27 Thread Paul Dupuis via use-livecode

I am executing the following 2 lines of code:

  export snapshot from rect tRect of player "mediaConvert" 
of stack "libHrAPI" to tImage as PNG

  put tImage into img "imageConvert" of stack "libHrAPI"

Prior to the export the player has a video load and has the currentTime 
set to a particular frame, and I can see in the stack that the player is 
showing the correct frame is visible.

I can also see that the image "imageConvert" is also visible, but empty

After the Export Snapshot is executed, it looks like tImage contains 
valid PNG data, although I can not tell if it is the correct image
After the Put statement, the image "imageConvert" is set to a white 
rectangle with a little bit of the player border on the left and top. It 
is the same size as the player where as the empty image I started with 
was larger.


This is with LC 9.6.7 on Windows 10. This code works on macOS. Does 
anyone know if there is a known Windows bug with export a snapshot form 
a player and any work around?



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick question: player object callbacks still working?

2020-06-28 Thread Martin Koob via use-livecode
Hi

I have an app that uses player callbacks and I am now using LC 9.6 to work on 
it and the callbacks work fine.

The callbacks, duration, currentTime and other movie time properties are in 
timescale which is intervals/second as you said.


I just created a small stack and did a basic test of callbacks  and it worked.
-create a new stack
-drag a player to the card
-drag a single line field to the card
-put the following code in the card's script

---
local sMovieScale

on mouseup

put the timescale of player 1 into sMovieScale

set the callbacks of player 1 to (sMovieScale * 0), "secondcount" & CR & \

(sMovieScale * 1), "secondcount" & CR & \

(sMovieScale * 2), "secondcount" & CR & \

(sMovieScale * 3), "secondcount"

end mouseup


on secondcount pCallbackTime

put (pCallbackTime / sMovieScale) && "seconds" into field 1

end secondcount

-
- click on the card to set the callbacks
- play the movie to see if the seconds are displayed in the field.

See if that works.

If it does then maybe it is something with how you create your callback list.

You can see if the callbacks are actually set by with the line ‘ in the message 
box

  put the callbacks of player “yourPlayer

> On Jun 28, 2020, at 11:22 AM, David Bovill via use-livecode 
>  wrote:
> 
> The message is not being sent. I set the callbacks of the payer and test it 
> with:
>   set the callbacks of player 1 to "0,soundNotes"
> 
>   command soundNotes
> — does not get sent
> put the params
>   end soundNotes
> 
>   on currentTimeChanged theInterval
> put theInterval
>   end currentTimeChanged
> 
>   on playPaused
> put the currenttime of me
>   endplayPaused
> 
> As I understand it the callback timing should be in “intervals"
> 
> • The duration of player 1= 4665600
> • The  timescale of player 1 = 9
> 
> Setting the callbacks to a range of values between 0 and the duration seems 
> to have no effect with regard to messages actually being sent. I’ve tried 
> putting the “soundNotes” handler in various positions - card, stack and 
> player. Still debugging...
> On 28 Jun 2020, 06:35 +0100, Peter Bogdanoff via use-livecode 
> , wrote:
>> David,
>> 
>> Specifically what is not working? Setting the callbacks, the callbacks 
>> message not being sent or received?
>> 
>> Sometimes I’ve seen that the interval between callbacks is so great, that 
>> the message is never sent before the player ends. That is highly dependent 
>> on the timeScale of the player. Put in the message box after the file is 
>> loaded into the player:
>> 
>> put the timeScale of player “”
>> 
>> to see if the numbers make sense. Some files will have very different 
>> timeScales (a Mac file with 600/second may have a Windows equivalent of a 
>> number in the millions).
>> 
>> Peter Bogdanoff
>> 
>>> On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode 
>>>  wrote:
>>> 
>>> I’ve been testing an idea for an app - and I can’t get the callbacks 
>>> property sending of messages. Does it still work with 9.6 MacOS?
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick question: player object callbacks still working?

2020-06-28 Thread David Bovill via use-livecode
The message is not being sent. I set the callbacks of the payer and test it 
with:
set the callbacks of player 1 to "0,soundNotes"

command soundNotes
  — does not get sent
  put the params
end soundNotes

on currentTimeChanged theInterval
  put theInterval
end currentTimeChanged

on playPaused
  put the currenttime of me
endplayPaused

As I understand it the callback timing should be in “intervals"

• The duration of player 1= 4665600
• The  timescale of player 1 = 9

Setting the callbacks to a range of values between 0 and the duration seems to 
have no effect with regard to messages actually being sent. I’ve tried putting 
the “soundNotes” handler in various positions - card, stack and player. Still 
debugging...
On 28 Jun 2020, 06:35 +0100, Peter Bogdanoff via use-livecode 
, wrote:
> David,
>
> Specifically what is not working? Setting the callbacks, the callbacks 
> message not being sent or received?
>
> Sometimes I’ve seen that the interval between callbacks is so great, that the 
> message is never sent before the player ends. That is highly dependent on the 
> timeScale of the player. Put in the message box after the file is loaded into 
> the player:
>
> put the timeScale of player “”
>
> to see if the numbers make sense. Some files will have very different 
> timeScales (a Mac file with 600/second may have a Windows equivalent of a 
> number in the millions).
>
> Peter Bogdanoff
>
> > On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode 
> >  wrote:
> >
> > I’ve been testing an idea for an app - and I can’t get the callbacks 
> > property sending of messages. Does it still work with 9.6 MacOS?
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick question: player object callbacks still working?

2020-06-27 Thread Peter Bogdanoff via use-livecode
David,

Specifically what is not working? Setting the callbacks, the callbacks message 
not being sent or received?

Sometimes I’ve seen that the interval between callbacks is so great, that the 
message is never sent before the player ends. That is highly dependent on the 
timeScale of the player. Put in the message box after the file is loaded into 
the player:

put the timeScale of player “”

to see if the numbers make sense. Some files will have very different 
timeScales (a Mac file with 600/second may have a Windows equivalent of a 
number in the millions).

Peter Bogdanoff

> On Jun 27, 2020, at 1:41 PM, David Bovill via use-livecode 
>  wrote:
> 
> I’ve been testing an idea for an app - and I can’t get the callbacks property 
> sending of messages. Does it still work with 9.6 MacOS?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick question: player object callbacks still working?

2020-06-27 Thread Paul Hibbert via use-livecode
Just done a quick test and it’s working fine for me with LC9.6.0 on macOS 
Mojave 10.14.6.

Paul

> On Jun 27, 2020, at 13:41, David Bovill via use-livecode 
>  wrote:
> 
> I’ve been testing an idea for an app - and I can’t get the callbacks property 
> sending of messages. Does it still work with 9.6 MacOS?
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Quick question: player object callbacks still working?

2020-06-27 Thread David Bovill via use-livecode
I’ve been testing an idea for an app - and I can’t get the callbacks property 
sending of messages. Does it still work with 9.6 MacOS?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object in iOS 13....

2019-10-19 Thread Jjs via use-livecode
Who still wants Apple or iOs, everything breaks with them. They never heard of 
backwards compatibility. If someone wants Apple or iOs, just refuse it. To much 
hassle, and costs to much.

Brian Milby via use-livecode  schreef op 19 
oktober 2019 16:09:23 CEST:
>I can confirm that it does not work in the release version of the app
>either.  I checked 13.1.2 and 13.1.3 but not the earlier versions of
>13.
>
>One potential alternative would be a browser widget.
>
>Thanks,
>Brian
>On Oct 19, 2019, 9:50 AM -0400, Sannyasin Brahmanathaswami via
>use-livecode , wrote:
>> Can any one confirm:
>>
>> the iOS mobileAudioPlayer controller is broken with the iOS 13 update
>>
>> put pRect into sPlayerRect
>> mobileControlSet pPlayerName, "visible", true
>> mobileControlSet pPlayerName, "rect", pRect
>> mobileControlSet pPlayerName, "showController", true
>> mobileControlSet pPlayerName, "filename", pURL
>> if pURL begins with "https" then
>> showBusyIndicator true, "Loading audio..." -- add loading indicator
>until duration is available
>> end if
>>
>> Alternatives?
>>
>> BR
>>
>>
>>
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode

-- 
Verstuurd vanaf mijn Android apparaat met K-9 Mail.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object in iOS 13....

2019-10-19 Thread Brian Milby via use-livecode
I can confirm that it does not work in the release version of the app either.  
I checked 13.1.2 and 13.1.3 but not the earlier versions of 13.

One potential alternative would be a browser widget.

Thanks,
Brian
On Oct 19, 2019, 9:50 AM -0400, Sannyasin Brahmanathaswami via use-livecode , 
wrote:
> Can any one confirm:
>
> the iOS mobileAudioPlayer controller is broken with the iOS 13 update
>
> put pRect into sPlayerRect
> mobileControlSet pPlayerName, "visible", true
> mobileControlSet pPlayerName, "rect", pRect
> mobileControlSet pPlayerName, "showController", true
> mobileControlSet pPlayerName, "filename", pURL
> if pURL begins with "https" then
> showBusyIndicator true, "Loading audio..." -- add loading indicator until 
> duration is available
> end if
>
> Alternatives?
>
> BR
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Player object in iOS 13....

2019-10-19 Thread Sannyasin Brahmanathaswami via use-livecode
Can any one confirm: 

 the iOS mobileAudioPlayer controller is broken with the iOS 13 update

put pRect into sPlayerRect
mobileControlSet pPlayerName, "visible", true 
mobileControlSet pPlayerName, "rect", pRect
mobileControlSet pPlayerName, "showController", true 
mobileControlSet pPlayerName, "filename", pURL 
if pURL begins with "https" then
showBusyIndicator true, "Loading audio..." -- add loading indicator until 
duration is available
end if

Alternatives?

BR




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Best Practice with Player object to determine audio or video

2019-07-11 Thread Curry Kenworthy via use-livecode



Paul:

> Is this an approach you have coded and used?

Yes. If you had some code using your mediaType getprop, such as:

  if the mediaType of player 1 is "Video" then -- do something

It could become, for example (a minimal change):

  if the mediaTypes of player 1 contains "Video" then -- do something

Etc. Used successfully in familiar contexts.

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.com/

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Best Practice with Player object to determine audio or video

2019-07-11 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 11.07.2019 um 21:02 schrieb Paul Dupuis via use-livecode 
> :
> 
> the mediaTYpes property returns tracks (and the documentation doesn't say 
> whether the list is cr delimited or comma delimited, but that is a docs issue)
> 
> Are you saying that for example if (the mediaTypes of player X contains 
> "audio" and not (the mediaTypes of player X contains "video")) is definitely 
> an audio only media file? and conversely if (the mediaTypes contains "video") 
> it is a video media file?
> If not media file has been set for the player, what does "the mediaTypes" 
> return (once again, the documentation doesn't say!)
> 
> Is this an approach you have coded and used?

10 seconds of testing revealed this:
Filename not set -> mediatypes = EMPTY
Loaded a video without sound Default video of LC -> video
Loaded a video with sound MP4 -> video,audio
Loaded a sound file MP3 -> audio

I'll leave the conclusions to you! 8-)


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Best Practice with Player object to determine audio or video

2019-07-11 Thread Paul Dupuis via use-livecode
the mediaTYpes property returns tracks (and the documentation doesn't 
say whether the list is cr delimited or comma delimited, but that is a 
docs issue)


Are you saying that for example if (the mediaTypes of player X contains 
"audio" and not (the mediaTypes of player X contains "video")) is 
definitely an audio only media file? and conversely if (the mediaTypes 
contains "video") it is a video media file?
If not media file has been set for the player, what does "the 
mediaTypes" return (once again, the documentation doesn't say!)


Is this an approach you have coded and used?



On 7/11/2019 1:32 PM, Curry Kenworthy via use-livecode wrote:


Built-in "mediaTypes" property is pretty handy!

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.com/

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Best Practice with Player object to determine audio or video

2019-07-11 Thread Curry Kenworthy via use-livecode



Built-in "mediaTypes" property is pretty handy!

Best wishes,

Curry Kenworthy

Custom Software Development
"Better Methods, Better Results"
LiveCode Training and Consulting
http://livecodeconsulting.com/

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Best Practice with Player object to determine audio or video

2019-07-11 Thread Paul Dupuis via use-livecode
I'm looking for the best way (code), cross platform, to determine if the 
media a user selected for a player object is audio (only) or a video.


I am surprised there is not some inherent player property to get this 
information. I am using an approach that looks at the formattedHeight 
(with audio media that should just be the height of the controller), but 
is there some better approach. What if, for some strange reason someone 
loads a 2px high video? There isn't a way to get the controler height 
exactly and I think it is slightly different between OSX and Windows 
(and I have not checked Linux or any other platform)


This is our current code:

getProp mediaType -- returns whether a player is showing audio, video, 
or none

   put 40 into maxControllerHeight -- magic number
   --
   if word 1 of the name of the target is not "player" then return empty
   --
   if the filename of the target is empty OR there is no file (the 
filename of the target) then return "none" -- player not loaded
   if the formattedHeight of the target <= maxControllerHeight then 
return "audio" else return "video"

end mediaType

However, the "40" figure bother me because it doesn't come from LiveCode 
itself. What if with LC10, the Mothership revised the controller and its 
now 41px high and the code breaks. Anyone have a better way?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-26 Thread Sannyasin Brahmanathaswami via use-livecode
Back to this list

My goodness… You are right. I wasn't aware of all those options!

I was puzzled by the fact that I had a tape that was speeded up. In Audition it 
is was normal. Huh! I must have hit fast forward button in advertently, not 
knowing what it did.  

Unfortunately,  the fast forward and rewind (setting the playrate) 0nce you 
speed it up, there is no key that restores it. Fortunately I have a "resume" 
button, that set the playrate to 1.  That is the only way "out" once you speed 
it up with the controller. Did you find a modifier key that sets the playrate 
to back to 1?

Paul: "My goal is that a LiveCode Developer should NOT have to play around or 
discover or experiment to find out what the built in capabilities of a built in 
object are."

There a "ton" of stuff unexplained in the dictionary. I struggle with it 
regularly on numerous so-called "features" that I have trouble with. And yes 
there at ton of fiddling to figure out how it should behave. In real time… it 
can take days of playing with a "feature" sending queries to Elanor…waiting for 
a response and very poor architecture you develop due knowing not the "proper" 
way to do something.

That could be dispatched "right now" with a thorough definition, with examples, 
in the dictionary and we would get our code right from the "get go".

I glad to hold of this now before i start on a movie annotation module.

BR

Paul Dupuis via use-livecode wrote:
>>If you are on Pause, the Forward and Rewind arrows step forward or 
>>backwards by  frame
>>If you are on Play, the Forward and Rewind arrows fast forward or 
>>rewind (currently not working under Windows in LC904/5)
>>Play and Pause toggle between one another
>>Dragging the thumb changes the current time
>>
>>However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows 
>>jumps you to the end or start respectively
>>
>>I'd like to know what other modifier key in combination with visible 
>>controls do what? Without having to try every possible combination of 
>>keys and clicking.
>>
>
>Another example, SHIFT Clicking on the Forward/Rewind area changes it 
>to a blue slider, which does WHAT?
>
>I can find no documentation on the player's object controller bar. I 
>assume it must exists, but I just can't find it.
>

I stand corrected (a tiny bit) as I finally found this among the 
LiveCode Lessons: http://lessons.livecode.com/m/4603/l/44283-using-players
It actually has an annotated picture (at 

https://media.screensteps.com/image_assets/assets/001/160/690/original/36c81ebf-9b3a-4610-a259-fbc2eacd2843.png)
 
of the controller and the sparse notation:
"The controller that appears at the bottom of the player allows the user 
to start and stop play back(1), control the volume(2) and move to a 
certain point in the sound file or movie(3,4)."

And, yea, I probably could have tried every key and click combination in 
the time I have spent searching for documentation :-(

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-25 Thread Paul Dupuis via use-livecode

On 5/25/2019 11:37 AM, Paul Dupuis via use-livecode wrote:

On 5/25/2019 11:10 AM, Paul Dupuis via use-livecode wrote:
If you are on Pause, the Forward and Rewind arrows step forward or 
backwards by  frame
If you are on Play, the Forward and Rewind arrows fast forward or 
rewind (currently not working under Windows in LC904/5)

Play and Pause toggle between one another
Dragging the thumb changes the current time

However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows 
jumps you to the end or start respectively


I'd like to know what other modifier key in combination with visible 
controls do what? Without having to try every possible combination of 
keys and clicking.




Another example, SHIFT Clicking on the Forward/Rewind area changes it 
to a blue slider, which does WHAT?


I can find no documentation on the player's object controller bar. I 
assume it must exists, but I just can't find it.




I stand corrected (a tiny bit) as I finally found this among the 
LiveCode Lessons: http://lessons.livecode.com/m/4603/l/44283-using-players
It actually has an annotated picture (at 
https://media.screensteps.com/image_assets/assets/001/160/690/original/36c81ebf-9b3a-4610-a259-fbc2eacd2843.png) 
of the controller and the sparse notation:
"The controller that appears at the bottom of the player allows the user 
to start and stop play back(1), control the volume(2) and move to a 
certain point in the sound file or movie(3,4)."


And, yea, I probably could have tried every key and click combination in 
the time I have spent searching for documentation :-(


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-25 Thread Klaus major-k via use-livecode


> Am 25.05.2019 um 18:13 schrieb Paul Dupuis via use-livecode 
> :
> 
> On 5/25/2019 11:49 AM, Klaus major-k via use-livecode wrote:
>> why not try by yourself? Your machine won't exlode, promised!:-D
>> 
>> With this slider you can control the speed of playback:
>> playback backwards <- drag left- drag right-> playback forward
> 
> You miss my point. It should be documented. A LiveCode developer should not 
> have to "try by yourself" to learn what ALL the built in functions of the 
> player controller bar are.

yes, sorry, this is true of course!

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object controller bar

2019-05-25 Thread Paul Dupuis via use-livecode

On 5/25/2019 11:49 AM, Klaus major-k via use-livecode wrote:

why not try by yourself? Your machine won't exlode, promised!:-D

With this slider you can control the speed of playback:
playback backwards <- drag left- drag right-> playback forward


You miss my point. It should be documented. A LiveCode developer should 
not have to "try by yourself" to learn what ALL the built in functions 
of the player controller bar are.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object controller bar

2019-05-25 Thread Klaus major-k via use-livecode
Hi Paul,

> Am 25.05.2019 um 17:37 schrieb Paul Dupuis via use-livecode 
> :
> 
> On 5/25/2019 11:10 AM, Paul Dupuis via use-livecode wrote:
>> If you are on Pause, the Forward and Rewind arrows step forward or backwards 
>> by  frame
>> If you are on Play, the Forward and Rewind arrows fast forward or rewind 
>> (currently not working under Windows in LC904/5)
>> Play and Pause toggle between one another
>> Dragging the thumb changes the current time
>> 
>> However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows jumps you 
>> to the end or start respectively
>> I'd like to know what other modifier key in combination with visible 
>> controls do what? Without having to try every possible combination of keys 
>> and clicking.
> 
> Another example, SHIFT Clicking on the Forward/Rewind area changes it to a 
> blue slider, which does WHAT?

why not try by yourself? Your machine won't exlode, promised! :-D

With this slider you can control the speed of playback:
playback backwards <- drag left- drag right-> playback forward


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object controller bar

2019-05-25 Thread Paul Dupuis via use-livecode

On 5/25/2019 11:10 AM, Paul Dupuis via use-livecode wrote:
If you are on Pause, the Forward and Rewind arrows step forward or 
backwards by  frame
If you are on Play, the Forward and Rewind arrows fast forward or 
rewind (currently not working under Windows in LC904/5)

Play and Pause toggle between one another
Dragging the thumb changes the current time

However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows jumps 
you to the end or start respectively


I'd like to know what other modifier key in combination with visible 
controls do what? Without having to try every possible combination of 
keys and clicking.




Another example, SHIFT Clicking on the Forward/Rewind area changes it to 
a blue slider, which does WHAT?


I can find no documentation on the player's object controller bar. I 
assume it must exists, but I just can't find it.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-25 Thread Paul Dupuis via use-livecode

On 5/25/2019 10:08 AM, Rick Harrison via use-livecode wrote:

My experience with player controllers is that if you
just want people to be able to use the built in
controls, that should work fine.


I just want to see a document that tell me what ALL the built in 
controls are.


Are these all the function of the player controller bar

On 5/25/2019 10:28 AM, Sannyasin Brahmanathaswami via use-livecode wrote:

I just hoping that there is a little API in the engine itself, that responds to 
6 simple function of the controller

Play
Pause
Scrub forward
Scrub back
Fast Rewind
Fast Forward
Volume


If you are on Pause, the Forward and Rewind arrows step forward or 
backwards by  frame
If you are on Play, the Forward and Rewind arrows fast forward or rewind 
(currently not working under Windows in LC904/5)

Play and Pause toggle between one another
Dragging the thumb changes the current time

However, Alt (Win) or Opt(OSX) clicking forward or rewind arrows jumps 
you to the end or start respectively


I'd like to know what other modifier key in combination with visible 
controls do what? Without having to try every possible combination of 
keys and clicking.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-25 Thread Sannyasin Brahmanathaswami via use-livecode
" Some things that seem like they should be
easy to accomplish, just are not easy.
That is the harsh reality. "

Indeed, I been working of weeks get getting the browser to respond properly. 
Keep on changing with every new release.

I just hoping that there is a little API in the engine itself, that responds to 
6 simple function of the controller 

Play
Pause
Scrub forward 
Scrub back
Fast Rewind
Fast Forward
Volume

==
 Rick Harrison wrote:

The problem arises when you want to do something
different that the controller on it’s own normally
wouldn’t do.  In that case the best solution that
worked for me was to hide the normal player
controls, and then make my own controller
buttons and functions from scratch.  
==

Ahha! __ you did it already. Can you share sample stack on the forum? 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-25 Thread Rick Harrison via use-livecode
Hi Paul and Sannyasin,

My experience with player controllers is that if you
just want people to be able to use the built in
controls, that should work fine.

The problem arises when you want to do something
different that the controller on it’s own normally
wouldn’t do.  In that case the best solution that
worked for me was to hide the normal player
controls, and then make my own controller
buttons and functions from scratch.  

That gave me full control over everything that 
was going on, and I was able to accomplish 
my goal.

Was it a pain, and did it seem like there should
have been an easier solution?  Yes, but the
at least LC allowed me to work on the
problem on my own.

Some things that seem like they should be
easy to accomplish, just are not easy.
That is the harsh reality.

Good luck!

Rick

> On May 25, 2019, at 9:33 AM, Sannyasin Brahmanathaswami via use-livecode 
>  wrote:
> 
> In a related quest:  I just went through the same thing yesterday...
> 
> I would like to trap if a user clicks the play icon on the player controller 
> itself. I have functions which take the current time etc. allow time based  
> annotation in field. But they only work if the use clicks my "Play"  button 
> to initiate the handlers. Like you have a little API to the player, all run 
> from buttons independent of the controller.
> 
> But if the user click the player to start or scrubs forward and backwards, it 
> by passes the timing currentTime function. I could hide the player, make my 
> own progress bar to tie to my own "little player API" handlers, but that 
> seems to be overkill. 
> 
> So, this requires knowing what is/can be handled in the background when the 
> user interact with the controller, that we can track/handle "that is built 
> into the controller bar itself."
> 
> BR
> 
> 
> Paul wrote:
> 
>I have searched the dictionary, Guides, and livecode.com but have been 
>unable to find a annotated picture of the LC9xx player objects' 
>controller bar and what each control does, especially in combinations 
>with with modifier keys
> 
>Clearly, some controls are obvious, like play/pause, etc., but I am 
>looking for detailed documentation so I don't miss anything that is 
>built into the controller bar itself.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object controller bar

2019-05-25 Thread Sannyasin Brahmanathaswami via use-livecode
In a related quest:  I just went through the same thing yesterday...

I would like to trap if a user clicks the play icon on the player controller 
itself. I have functions which take the current time etc. allow time based  
annotation in field. But they only work if the use clicks my "Play"  button to 
initiate the handlers. Like you have a little API to the player, all run from 
buttons independent of the controller.

But if the user click the player to start or scrubs forward and backwards, it 
by passes the timing currentTime function. I could hide the player, make my own 
progress bar to tie to my own "little player API" handlers, but that seems to 
be overkill. 

So, this requires knowing what is/can be handled in the background when the 
user interact with the controller, that we can track/handle "that is built into 
the controller bar itself."

BR


Paul wrote:

I have searched the dictionary, Guides, and livecode.com but have been 
unable to find a annotated picture of the LC9xx player objects' 
controller bar and what each control does, especially in combinations 
with with modifier keys

Clearly, some controls are obvious, like play/pause, etc., but I am 
looking for detailed documentation so I don't miss anything that is 
built into the controller bar itself.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Player object controller bar

2019-05-24 Thread Paul Dupuis via use-livecode
I have searched the dictionary, Guides, and livecode.com but have been 
unable to find a annotated picture of the LC9xx player objects' 
controller bar and what each control does, especially in combinations 
with with modifier keys


Clearly, some controls are obvious, like play/pause, etc., but I am 
looking for detailed documentation so I don't miss anything that is 
built into the controller bar itself.




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


a picture is shown in a player object instead of a movie when using a streaming url

2017-07-19 Thread Matthias Rebbe via use-livecode
Hi,
i am trying to stream the URL
https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/master.m3u8 
<https://zdf1314-lh.akamaihd.net/i/de14_v1@392878/master.m3u8>
in an player object.

I´ve set the filename of the player object to the streaming url, but the video 
is not played, but only a still image is shown.
If i press the play control again i see a new image, but the video is still not 
played.

Am i missing something?
I am on Mac OS X 10.12.5 with LC 8.1.6RC2 and LC 9DP6 

Regards,
Matthias 

Matthias Rebbe
+49 5741 31
‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player Object in HTML 5?

2015-12-19 Thread [-hh]
Hi Simon,

$1999 is compared to that what I paid at about the factor 3.5 ---
may be there was some confusion of speed and pricing when looking back.

Hermann

Dont look back (by D. Pennebaker, vote ninth best documentary film of all time)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-19 Thread Simon
Richard Gaskin wrote
> Where can one find the pricing of the HTML5 deployment entitlement?

I found it in my account under my subscriptions "Add HTML 5 Deployment"
$1999.00 a year.

Simon



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-Object-in-HTML-5-tp4699644p4699701.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-19 Thread Richard Gaskin

Monte Goulding wrote:
> Did you expect to be able to deploy commercial HTML5 apps with
> community?

It's a minor point but perhaps worth offering a reminder that the 
distinction isn't about commercial, but about *proprietary*.


The GPL doesn't in any way restrict commercial activities with software. 
Its requirements focus on sharing source code.


For those who derive revenue solely from per-user licenses this 
distinction may not be all that important, since of course if the source 
is freely available everyone is one Standalone Builder moment away from 
having the finished app.


But over the last decade many business models have evolved with revenue 
streams beyond per-use licenses for software.  SaaS, PaaS, and other 
service-oriented models are increasingly popular, and indeed many of the 
tech industry's hottest startups are based around open source technology.


It's been estimated that as much as 90% of software is written "for use 
rather than for sale", and for those projects sharing the source means 
additional features, maintenance, and support from the community at no 
cost to the originator, so the software grows to accommodate an 
ever-large variety of use cases for a win-win for all.


Even though my proprietary LC licenses are prepaid many years in 
advance, right now the majority of projects I'm working on are for 
in-house workgroup support tools where the GPL-governed version would 
work equally well.   In fact, once they get mature enough portions of 
those projects may be released under GPL for the reasons I've noted 
above, to get more eyeballs on the code and new enhancements beyond my 
own limited current needs.


That said, even when using open source software I often contribute back 
to the core team.  It's in the interest of my business, my clients' 
businesses, and our end-users to make sure the stewards of the 
technologies we rely on are well taken care of.


I contribute to the Ubuntu project and others, and maintain an 
individual membership with the Linux Foundation for these reasons.  I 
have no obligation to do so, but there's nothing altruistic in my 
support, rather it's purely selfish: I recognize that the value I derive 
from these projects is more than strong enough to warrant supporting 
them to make sure they keep doing the great work they've been doing.


By the same token, in addition to my prepaid LC licenses for the 
proprietary edition I also devote time contributing to the project in 
support of the GPL-governed Community Edition.


Whether through cash, code, or evangelism, all useful open source 
projects can benefit from community contributions.


But none of that is an obligation, nor inhibits even substantial 
commercial activity, provide I adhere to the terms of the license I'm 
using: deploying proprietary apps only with a proprietary-licensed 
edition, and sharing code when made with the sharing-focused 
GPL-governed edition.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-19 Thread Richard Gaskin

Simon wrote:

> Peter TB Brett wrote
>> Yes, you can already deploy a commercial HTML5 standalone from Indy
>> or Business edition, if you have the HTML5 deployment entitlement
>> added on to your license.
>
> Ahhh shoot!
> How did I miss that?  $2K a year.
> While I'm not very bothered by HTML5 and LiveCode Indy/Business as I
> can use the Community version, I am surprised that I hadn't seen that
> it was coming out as an add-on.

The word "HTML" yields 0 hits on the Pricing page:


Where can one find the pricing of the HTML5 deployment entitlement?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Simon
Monte Goulding-2 wrote
> Hmm... I know big and rich are a matter of perspective but $500 is hardly
> a massive expense. For me if it saved me more than a few hours it would be
> a false economy not to buy it.

hmmm... My post wasn't about the cost really.  It's about the fact that
although I follow LiveCode very closely (heck I even read your Engine posts
on the forums hoping one day I'll understand what you are talking about) I
missed that HTML5 was a paid for add-on for commercial users.

Simon



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-Object-in-HTML-5-tp4699644p4699680.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Monte Goulding
Hmm... I know big and rich are a matter of perspective but $500 is hardly a 
massive expense. For me if it saved me more than a few hours it would be a 
false economy not to buy it.

Sent from my iPhone

> On 19 Dec 2015, at 4:40 pm, Simon  wrote:
> 
> Nope. 
> If I did a commercial HTML5 app it would have to be very big and my client
> very rich so not really a problem.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Simon
Monte Goulding-2 wrote
> Did you expect to be able to deploy commercial HTML5 apps with community?

Nope. 
If I did a commercial HTML5 app it would have to be very big and my client
very rich so not really a problem.

Simon



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-Object-in-HTML-5-tp4699644p4699678.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Monte Goulding
Did you expect to be able to deploy commercial HTML5 apps with community?

Sent from my iPhone

> On 19 Dec 2015, at 4:18 pm, Simon  wrote:
> 
> Ahhh shoot!
> How did I miss that?  $2K a year.
> While I'm not very bothered by HTML5 and LiveCode Indy/Business as I can use
> the Community version, I am surprised that I hadn't seen that it was coming
> out as an add-on.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Simon
Peter TB Brett wrote
> Yes, you can already deploy a commercial HTML5 standalone from Indy or 
> Business edition, if you have the HTML5 deployment entitlement added on 
> to your license.   

Ahhh shoot!
How did I miss that?  $2K a year.
While I'm not very bothered by HTML5 and LiveCode Indy/Business as I can use
the Community version, I am surprised that I hadn't seen that it was coming
out as an add-on.

Oh well.
Simon



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-Object-in-HTML-5-tp4699644p4699676.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Peter Bogdanoff
9 ms for me is very good. I would be most happy with that!

> On Dec 18, 2015, at 2:48 AM, Peter TB Brett  wrote:
> 
>> On 18/12/2015 10:34, Peter Bogdanoff wrote:
>> When I said "millisecond," I meant precision to a millisecond. Otherwise 
>> timers would be a second or two or longer. That is possible?
> 
> No, you won't get precision to a millisecond.  With most browsers, you will 
> get precision to the nearest frame timing (so an error of at least 9 ms, 
> roughly).
> 
>> And will the commercial versions of LiveCode be able to create the HTML5 
>> standalones?
> 
> Yes, you can already deploy a commercial HTML5 standalone from Indy or 
> Business edition, if you have the HTML5 deployment entitlement added on to 
> your license.
> 
>  Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode on reddit: https://reddit.com/r/livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Martin Koob
I am also interested in being able to have a player object in HTML 5 with
callbacks and am excited to see that this is on the roadmap.  Hopefully that
can be done fairly soon after the release of LC 8.0.

As far as precision I am syncing video to video so I don't need precision to
the millisecond just to nearest frame of video.  So if a callback is
triggered at the right time and has the correct interval value as is in the
callback list as the callback messages parameter but is slightly late in
arriving I think it would be OK for my purposes.

Martin Koob






--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-Object-in-HTML-5-tp4699644p4699658.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Colin Holgate
It’s worth noting that Peter does musical applications. I suspect he wants his 
drums to be on time, and not that he’s expecting Superman to be using his UI.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player Object in HTML 5?

2015-12-18 Thread Peter TB Brett

On 18/12/2015 12:06, David Bovill wrote:

Peter what would be the best way - now or in the future to create the
controller and interactivity in an HTML 5 exported app, and use standard
HTML video elements to play the video?


I'm really sorry to disappoint you, David, but I haven't had the 
opportunity to investigate this yet!  Does anyone else have any suggestions?


I think after LiveCode 8 is released, one of the things planned as an 
enhancement to LiveCode Builder is the possibility of calling JavaScript 
functions directly from LiveCode extensions.  That might provide a good 
avenue!


Also, I really would like to make the player control "Just Work", even 
if only for quite specific values of "work".


   Peter


--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread David Bovill
Peter what would be the best way - now or in the future to create the
controller and interactivity in an HTML 5 exported app, and use standard
HTML video elements to play the video?

On Friday, 18 December 2015, Peter TB Brett 
wrote:

> Hi Peter,
>
> On 18/12/2015 02:21, Peter Bogdanoff wrote:
>
>> I was messing with the HTML 5 Create Standalone in my project today. I
>> got it to load in Safari from my local drive and I could change cards and
>> see graphics load, objects hide and show, etc. It’s great!
>>
>
> I'm really glad that your experiments are going well!
>
> My player control, however, would not load a remote audio file. Are player
>> objects implemented yet? And even more important for me, are callbacks
>> based on millisecond timers going to work?
>>
>
> The player control isn't yet supported in the HTML5 engine.  I believe it
> will be possible to get it to work, probably, but unfortunately I don't
> expect to have enough development time to get it working before LiveCode
> 8.0 release.
>
> Very short interval timers can't be made to work reliably in JavaScript,
> as far as I know.  As I understand it (supported by the experiments I've
> done), browsers have an internal rendering framerate (usually aiming for
> whatever your monitor refresh rate is), and check & run JavaScript timers
> at each frame.  On the bright side, that should work just fine for
> animation purposes!
>
> Peter
>
> --
> Dr Peter Brett 
> LiveCode Open Source Team
>
> LiveCode on reddit: https://reddit.com/r/livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player Object in HTML 5?

2015-12-18 Thread [-hh]
> On 2015-12-18 11:34, Peter Bogdanoff wrote:
> > When I said "millisecond," I meant precision to a millisecond. 
> > Otherwise timers would be a second or two or longer. That is possible?
> 
> I would be very surprised if you need millisecond precision for anything UI 
> related - just a guarantee that your timers will trigger in order at the 
> closest time they can to your requested time (which is no different than you 
> get in the Desktop engines). People with the very best eyesight *might* be 
> able to detect changes at 60fps, but mostly it is 15-40fps I believe. So I 
> suspect an error in the region of +/-20ms would not be noticeable in any 
> use-case involving sound playback being tied to visual feedback. Warmest 
> Regards, Mark.

I would like to second this.
Time measurements on screen displays below 1 tick (=1/60 second) are said to be 
pretty good random generators. But I heard of people that even believe in 
'exactness' of data < 1 tick, measured on a Raspberry Pi (which doesn't even 
have a hardware clock).

TMHO, there are easier ways to interpret randomness ...
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Mark Waddingham

On 2015-12-18 11:34, Peter Bogdanoff wrote:

When I said "millisecond," I meant precision to a millisecond.
Otherwise timers would be a second or two or longer. That is possible?


I would be very surprised if you need millisecond precision for anything 
UI related - just a guarantee that your timers will trigger in order at 
the closest time they can to your requested time (which is no different 
than you get in the Desktop engines).


People with the very best eyesight *might* be able to detect changes at 
60fps, but mostly it is 15-40fps I believe. So I suspect an error in the 
region of +/-20ms would not be noticeable in any use-case involving 
sound playback being tied to visual feedback.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Peter TB Brett

On 18/12/2015 10:34, Peter Bogdanoff wrote:

When I said "millisecond," I meant precision to a millisecond. Otherwise timers 
would be a second or two or longer. That is possible?


No, you won't get precision to a millisecond.  With most browsers, you 
will get precision to the nearest frame timing (so an error of at least 
9 ms, roughly).



And will the commercial versions of LiveCode be able to create the HTML5 
standalones?


Yes, you can already deploy a commercial HTML5 standalone from Indy or 
Business edition, if you have the HTML5 deployment entitlement added on 
to your license.


  Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player Object in HTML 5?

2015-12-18 Thread Peter Bogdanoff
When I said "millisecond," I meant precision to a millisecond. Otherwise timers 
would be a second or two or longer. That is possible?

And will the commercial versions of LiveCode be able to create the HTML5 
standalones?

> On Dec 18, 2015, at 12:55 AM, Peter TB Brett  wrote:
> 
> Hi Peter,
> 
>> On 18/12/2015 02:21, Peter Bogdanoff wrote:
>> I was messing with the HTML 5 Create Standalone in my project today. I got 
>> it to load in Safari from my local drive and I could change cards and see 
>> graphics load, objects hide and show, etc. It’s great!
> 
> I'm really glad that your experiments are going well!
> 
>> My player control, however, would not load a remote audio file. Are player 
>> objects implemented yet? And even more important for me, are callbacks based 
>> on millisecond timers going to work?
> 
> The player control isn't yet supported in the HTML5 engine.  I believe it 
> will be possible to get it to work, probably, but unfortunately I don't 
> expect to have enough development time to get it working before LiveCode 8.0 
> release.
> 
> Very short interval timers can't be made to work reliably in JavaScript, as 
> far as I know.  As I understand it (supported by the experiments I've done), 
> browsers have an internal rendering framerate (usually aiming for whatever 
> your monitor refresh rate is), and check & run JavaScript timers at each 
> frame.  On the bright side, that should work just fine for animation purposes!
> 
>Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Open Source Team
> 
> LiveCode on reddit: https://reddit.com/r/livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player Object in HTML 5?

2015-12-18 Thread Peter TB Brett

Hi Peter,

On 18/12/2015 02:21, Peter Bogdanoff wrote:

I was messing with the HTML 5 Create Standalone in my project today. I got it 
to load in Safari from my local drive and I could change cards and see graphics 
load, objects hide and show, etc. It’s great!


I'm really glad that your experiments are going well!


My player control, however, would not load a remote audio file. Are player 
objects implemented yet? And even more important for me, are callbacks based on 
millisecond timers going to work?


The player control isn't yet supported in the HTML5 engine.  I believe 
it will be possible to get it to work, probably, but unfortunately I 
don't expect to have enough development time to get it working before 
LiveCode 8.0 release.


Very short interval timers can't be made to work reliably in JavaScript, 
as far as I know.  As I understand it (supported by the experiments I've 
done), browsers have an internal rendering framerate (usually aiming for 
whatever your monitor refresh rate is), and check & run JavaScript 
timers at each frame.  On the bright side, that should work just fine 
for animation purposes!


Peter

--
Dr Peter Brett 
LiveCode Open Source Team

LiveCode on reddit: https://reddit.com/r/livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Player Object in HTML 5?

2015-12-17 Thread Peter Bogdanoff
I was messing with the HTML 5 Create Standalone in my project today. I got it 
to load in Safari from my local drive and I could change cards and see graphics 
load, objects hide and show, etc. It’s great!

My player control, however, would not load a remote audio file. Are player 
objects implemented yet? And even more important for me, are callbacks based on 
millisecond timers going to work?

I’m very, very interested in finding out if my large interactive project can 
function in a browser (with allowances for the relative slowness of doing 
things on the Internet).

Peter Bogdanoff
UCLA
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: dontuseqt per player object, did I dream this?

2015-08-05 Thread Klaus major-k
Hi Peter,

> Am 05.08.2015 um 15:40 schrieb Peter TB Brett :
> On 2015-08-05 15:24, Klaus major-k wrote:
>> Hi friends,
>> I thought I had read about this new feature in 7.1, where we can set 
>> dontuseqt
>> for each player object independently. I chckecked the release notes for 7.1
>> but did not find anything.
>> Did I dream this?
>> Any mind easing insight welcome, thanks!
> 
> Hi Klaus,
> From 7.0.6 you could set dontuseqt independently for each player object on 
> Windows.
> We will soon extend this to OS X as well.  This change hasn't been released 
> yet.  If it is not released in 7.1.0-rc-1, then it will be released in 
> 7.1.1-rc-1.
>   Peter

aha, thank you very much! 
So i DID read it here :-)

> -- 
> Dr Peter Brett 
> LiveCode Engine Development Team

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: dontuseqt per player object, did I dream this?

2015-08-05 Thread Peter TB Brett

On 2015-08-05 15:24, Klaus major-k wrote:

Hi friends,

I thought I had read about this new feature in 7.1, where we can set 
dontuseqt
for each player object independently. I chckecked the release notes for 
7.1

but did not find anything.

Did I dream this?

Any mind easing insight welcome, thanks!


Hi Klaus,

From 7.0.6 you could set dontuseqt independently for each player object 
on Windows.


We will soon extend this to OS X as well.  This change hasn't been 
released yet.  If it is not released in 7.1.0-rc-1, then it will be 
released in 7.1.1-rc-1.


   Peter

--
Dr Peter Brett 
LiveCode Engine Development Team


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


dontuseqt per player object, did I dream this?

2015-08-05 Thread Klaus major-k
Hi friends,

I thought I had read about this new feature in 7.1, where we can set dontuseqt 
for each player object independently. I chckecked the release notes for 7.1
but did not find anything.

Did I dream this?

Any mind easing insight welcome, thanks!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Resolution of PDF in player object

2015-05-27 Thread dfepstein
I'm quite sure that on my PowerPC Mac a high resolution PDF in a LiveCode 
Player object was displayed not like a bitmap but just like it was in Preview 
or Acrobat.  I assume that LiveCode is tapping into QuickTime to render PDFs, 
so why is the PDF file's resolution degraded?  Is there any prospect that this 
will be corrected in future releases?  I have not tried revBrowser to display 
PDFs, so am not sure how its resolution works; but as I understand it 
revBrowser does not let us view pages other than the first of a multi-page PDF. 
Regards, 
David Epstein 
  
  
This probably doesn¹t help you, but in years gone by, my experience when 
using a player to view a PDF resulted in the content being displayed as a 
bitmap image, regardless of the type of content.  So enlarging beyond 100% 
would often appear pixelated.  I never encountered a player-viewed PDF 
displayed as anything BUT a bitmap.  But this was all QuickTime stuff, so 
things may have changed more recently. 

Regards, 

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 




On 5/26/15, 4:09 PM, "David Epstein" < dfepstein at comcast.net > wrote: 

> In the past, when I displayed a PDF in a player object on my PowerPC Mac 
> Mini, I could scale it to, say, 1.5x the formattedWidth and 
> formattedHeight, and see it beautifully displayed at full resolution.  On 
> my newer MacBook Air and iMac this is not true; the PDF looks terrible 
> when scaled to anything other than 100%.  And if I print it, even at 
> 100%, I get screen quality, i.e., very bad, resolution.  Has something 
> changed?  Can LiveCode not display or print PDFs at full resolution on an 
> Intel Mac? 
> 
> David Epstein 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Resolution of PDF in player object

2015-05-26 Thread Scott Rossi
This probably doesn¹t help you, but in years gone by, my experience when
using a player to view a PDF resulted in the content being displayed as a
bitmap image, regardless of the type of content.  So enlarging beyond 100%
would often appear pixelated.  I never encountered a player-viewed PDF
displayed as anything BUT a bitmap.  But this was all QuickTime stuff, so
things may have changed more recently.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/26/15, 4:09 PM, "David Epstein"  wrote:

>In the past, when I displayed a PDF in a player object on my PowerPC Mac
>Mini, I could scale it to, say, 1.5x the formattedWidth and
>formattedHeight, and see it beautifully displayed at full resolution.  On
>my newer MacBook Air and iMac this is not true; the PDF looks terrible
>when scaled to anything other than 100%.  And if I print it, even at
>100%, I get screen quality, i.e., very bad, resolution.  Has something
>changed?  Can LiveCode not display or print PDFs at full resolution on an
>Intel Mac?
>
>David Epstein
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Resolution of PDF in player object

2015-05-26 Thread David Epstein
In the past, when I displayed a PDF in a player object on my PowerPC Mac Mini, 
I could scale it to, say, 1.5x the formattedWidth and formattedHeight, and see 
it beautifully displayed at full resolution.  On my newer MacBook Air and iMac 
this is not true; the PDF looks terrible when scaled to anything other than 
100%.  And if I print it, even at 100%, I get screen quality, i.e., very bad, 
resolution.  Has something changed?  Can LiveCode not display or print PDFs at 
full resolution on an Intel Mac?

David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-15 Thread Peter Haworth
Hi Martin,
Thanks for the tip.  Unfortunately it doesn't seem to work for audio files,
at least with LC 6.6.2 and OSX 10.7.4.

That would be a nice feature though.  Looks like it could be accommodated
by varying the playrate property.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Thu, Jan 15, 2015 at 3:22 AM, Martin Koob  wrote:

> Oh forgot to say don't know how this works for audio files.
>
> Martin Koob
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/Player-object-tp4687755p4687857.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-15 Thread Martin Koob
Oh forgot to say don't know how this works for audio files.

Martin Koob



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-object-tp4687755p4687857.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-15 Thread Martin Koob
If you hold the shift key and click on the step forward/step backward buttons
on the right of the controller you get a scrub control that allows you to
vary the player's playrate forward and backward from - 3x to 3x.  

Martin Koob



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Player-object-tp4687755p4687856.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-14 Thread Peter Haworth
Thanks Peter, got it.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Jan 14, 2015 at 9:58 AM, Peter Bogdanoff  wrote:

>
> Here it is:
>
>
> https://www.dropbox.com/s/61pwux0d51niarg/LibITS%20accessing%20iTunes%20in%20Livecode.zip?dl=0
>
> Peter Bogdanoff
> UCLA
>
> On Jan 14, 2015, at 9:25 AM, Peter Haworth  wrote:
>
> > Been searching for libITS without any luck.  The URL in some older forum
> > posts doesn't work any longer.  It's also on rev Online I believe however
> > rev Online seems to be broken - when I open it, it hangs with a message
> > "retrieving stack data".
> >
> > Anyone have another location to find it?
> >
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> >
> > On Wed, Jan 14, 2015 at 4:42 AM, Peter M. Brigham 
> wrote:
> >
> >> On Jan 13, 2015, at 9:27 PM, Peter Haworth wrote:
> >>
> >>> I've got the track/playlist management stuff in place and I figured
> out a
> >>> way round the original problem too that seems to work.  The fast
> >>> forward/reverse buttons do work (at least in 6.6.2/OSX 10.7) although
> >> they
> >>> don't move things along very fast.
> >>>
> >>> However, I closed my stack and re-opened it and now nothing plays.  Not
> >>> only that, the player object is just a plain white rectangle, no
> buttons,
> >>> no progress bar.  Not sure if this is related to the bug that's been
> >>> discussed today.
> >>>
> >>> Oh well, I guess I'll need to make my own controller after all.  What
> >> fun.
> >>
> >> Thomas McGrath has a stack called libITS.rev, a pretty full-featured
> >> iTunes library suite. You might look into that. I used it to build a
> little
> >> controller that collapses down to a single round button that lives in
> the
> >> lower left corner of my screen.
> >>
> >> -- Peter
> >>
> >> Peter M. Brigham
> >> pmb...@gmail.com
> >> http://home.comcast.net/~pmbrig
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-14 Thread Peter Bogdanoff

Here it is:

https://www.dropbox.com/s/61pwux0d51niarg/LibITS%20accessing%20iTunes%20in%20Livecode.zip?dl=0

Peter Bogdanoff
UCLA

On Jan 14, 2015, at 9:25 AM, Peter Haworth  wrote:

> Been searching for libITS without any luck.  The URL in some older forum
> posts doesn't work any longer.  It's also on rev Online I believe however
> rev Online seems to be broken - when I open it, it hangs with a message
> "retrieving stack data".
> 
> Anyone have another location to find it?
> 
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> 
> On Wed, Jan 14, 2015 at 4:42 AM, Peter M. Brigham  wrote:
> 
>> On Jan 13, 2015, at 9:27 PM, Peter Haworth wrote:
>> 
>>> I've got the track/playlist management stuff in place and I figured out a
>>> way round the original problem too that seems to work.  The fast
>>> forward/reverse buttons do work (at least in 6.6.2/OSX 10.7) although
>> they
>>> don't move things along very fast.
>>> 
>>> However, I closed my stack and re-opened it and now nothing plays.  Not
>>> only that, the player object is just a plain white rectangle, no buttons,
>>> no progress bar.  Not sure if this is related to the bug that's been
>>> discussed today.
>>> 
>>> Oh well, I guess I'll need to make my own controller after all.  What
>> fun.
>> 
>> Thomas McGrath has a stack called libITS.rev, a pretty full-featured
>> iTunes library suite. You might look into that. I used it to build a little
>> controller that collapses down to a single round button that lives in the
>> lower left corner of my screen.
>> 
>> -- Peter
>> 
>> Peter M. Brigham
>> pmb...@gmail.com
>> http://home.comcast.net/~pmbrig
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-14 Thread Peter Haworth
Been searching for libITS without any luck.  The URL in some older forum
posts doesn't work any longer.  It's also on rev Online I believe however
rev Online seems to be broken - when I open it, it hangs with a message
"retrieving stack data".

Anyone have another location to find it?


Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Jan 14, 2015 at 4:42 AM, Peter M. Brigham  wrote:

> On Jan 13, 2015, at 9:27 PM, Peter Haworth wrote:
>
> > I've got the track/playlist management stuff in place and I figured out a
> > way round the original problem too that seems to work.  The fast
> > forward/reverse buttons do work (at least in 6.6.2/OSX 10.7) although
> they
> > don't move things along very fast.
> >
> > However, I closed my stack and re-opened it and now nothing plays.  Not
> > only that, the player object is just a plain white rectangle, no buttons,
> > no progress bar.  Not sure if this is related to the bug that's been
> > discussed today.
> >
> > Oh well, I guess I'll need to make my own controller after all.  What
> fun.
>
> Thomas McGrath has a stack called libITS.rev, a pretty full-featured
> iTunes library suite. You might look into that. I used it to build a little
> controller that collapses down to a single round button that lives in the
> lower left corner of my screen.
>
> -- Peter
>
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-14 Thread Peter Haworth
Thanks Peter, I'll see if I can track it down.

I also just remembered Bernd's very useful custom slider control that will
definitely make my life easier.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Wed, Jan 14, 2015 at 4:42 AM, Peter M. Brigham  wrote:

> On Jan 13, 2015, at 9:27 PM, Peter Haworth wrote:
>
> > I've got the track/playlist management stuff in place and I figured out a
> > way round the original problem too that seems to work.  The fast
> > forward/reverse buttons do work (at least in 6.6.2/OSX 10.7) although
> they
> > don't move things along very fast.
> >
> > However, I closed my stack and re-opened it and now nothing plays.  Not
> > only that, the player object is just a plain white rectangle, no buttons,
> > no progress bar.  Not sure if this is related to the bug that's been
> > discussed today.
> >
> > Oh well, I guess I'll need to make my own controller after all.  What
> fun.
>
> Thomas McGrath has a stack called libITS.rev, a pretty full-featured
> iTunes library suite. You might look into that. I used it to build a little
> controller that collapses down to a single round button that lives in the
> lower left corner of my screen.
>
> -- Peter
>
> Peter M. Brigham
> pmb...@gmail.com
> http://home.comcast.net/~pmbrig
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-14 Thread Peter M. Brigham
On Jan 13, 2015, at 9:27 PM, Peter Haworth wrote:

> I've got the track/playlist management stuff in place and I figured out a
> way round the original problem too that seems to work.  The fast
> forward/reverse buttons do work (at least in 6.6.2/OSX 10.7) although they
> don't move things along very fast.
> 
> However, I closed my stack and re-opened it and now nothing plays.  Not
> only that, the player object is just a plain white rectangle, no buttons,
> no progress bar.  Not sure if this is related to the bug that's been
> discussed today.
> 
> Oh well, I guess I'll need to make my own controller after all.  What fun.

Thomas McGrath has a stack called libITS.rev, a pretty full-featured iTunes 
library suite. You might look into that. I used it to build a little controller 
that collapses down to a single round button that lives in the lower left 
corner of my screen.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-13 Thread Peter Haworth
I've got the track/playlist management stuff in place and I figured out a
way round the original problem too that seems to work.  The fast
forward/reverse buttons do work (at least in 6.6.2/OSX 10.7) although they
don't move things along very fast.

However, I closed my stack and re-opened it and now nothing plays.  Not
only that, the player object is just a plain white rectangle, no buttons,
no progress bar.  Not sure if this is related to the bug that's been
discussed today.

Oh well, I guess I'll need to make my own controller after all.  What fun.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Tue, Jan 13, 2015 at 5:19 PM, Scott Rossi  wrote:

> Again, the buttons behave more reliably with video than audio (likely
> related to the audio-only playback bug mentioned earlier).  You might be
> better off creating your own controller.
>
> And yes, you’ll need to create your own track/playlist management.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
> On Jan 13, 2015, at 5:10 PM, Peter Haworth  wrote:
>
> > OK, got it. The buttons are for a different usage than I interpreted
> them.
> > They do behave a bit strangely though.  Holding down the mouse sends a
> > playpaused message and does fast forward through the track but the track
> > doesn't start playing again when I let go the mouse.  Maybe I can store
> the
> > currenttime in a mouseDown handler then in mouseUp start the player again
> > if the currenttime is different.
> >
> > I guess I'll just add my own button for prev/next track.
> >
> > Thanks Scott.
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> >
> > On Tue, Jan 13, 2015 at 3:37 PM, Scott Rossi 
> wrote:
> >
> >> I don’t believe the player as any sense of “tracks” by itself.  The
> >> buttons on the right are for fast forward and reverse (click and hold),
> but
> >> like the play button, they don’t respond well when playing audio only.
> >> Play a movie and you’ll see the results better.
> >>
> >> Regards,
> >>
> >> Scott Rossi
> >> Creative Director
> >> Tactile Media, UX/UI Design
> >>
> >> On Jan 13, 2015, at 3:17 PM, Peter Haworth  wrote:
> >>
> >>> Just venturing into using a player object for the first time.
> >>>
> >>> I'm playing mp3 files in my iTunes library and I have most of what I
> want
> >>> to do figured out but one thing eludes me.
> >>>
> >>> The controller has a couple of buttons on the right that look like they
> >> are
> >>> supposed to move to the prev/next track (I'm playing music from a
> >>> library).  I see a playPaused message when I click on them but there
> >>> doesn't appear to be a way to differentiate between clicking on one of
> >>> those buttons and clicking the controller icon.  I'd like to start
> >> playing
> >>> the prev/next track in the library.
> >>>
> >>> I'm sure I'm missing something obvious!
> >>>
> >>> Pete
> >>> lcSQL Software <http://www.lcsql.com>
> >>> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> >>> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object

2015-01-13 Thread Scott Rossi
Again, the buttons behave more reliably with video than audio (likely related 
to the audio-only playback bug mentioned earlier).  You might be better off 
creating your own controller.

And yes, you’ll need to create your own track/playlist management.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

On Jan 13, 2015, at 5:10 PM, Peter Haworth  wrote:

> OK, got it. The buttons are for a different usage than I interpreted them.
> They do behave a bit strangely though.  Holding down the mouse sends a
> playpaused message and does fast forward through the track but the track
> doesn't start playing again when I let go the mouse.  Maybe I can store the
> currenttime in a mouseDown handler then in mouseUp start the player again
> if the currenttime is different.
> 
> I guess I'll just add my own button for prev/next track.
> 
> Thanks Scott.
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> 
> On Tue, Jan 13, 2015 at 3:37 PM, Scott Rossi  wrote:
> 
>> I don’t believe the player as any sense of “tracks” by itself.  The
>> buttons on the right are for fast forward and reverse (click and hold), but
>> like the play button, they don’t respond well when playing audio only.
>> Play a movie and you’ll see the results better.
>> 
>> Regards,
>> 
>> Scott Rossi
>> Creative Director
>> Tactile Media, UX/UI Design
>> 
>> On Jan 13, 2015, at 3:17 PM, Peter Haworth  wrote:
>> 
>>> Just venturing into using a player object for the first time.
>>> 
>>> I'm playing mp3 files in my iTunes library and I have most of what I want
>>> to do figured out but one thing eludes me.
>>> 
>>> The controller has a couple of buttons on the right that look like they
>> are
>>> supposed to move to the prev/next track (I'm playing music from a
>>> library).  I see a playPaused message when I click on them but there
>>> doesn't appear to be a way to differentiate between clicking on one of
>>> those buttons and clicking the controller icon.  I'd like to start
>> playing
>>> the prev/next track in the library.
>>> 
>>> I'm sure I'm missing something obvious!
>>> 
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
>>> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>>> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Player object

2015-01-13 Thread Peter Haworth
OK, got it. The buttons are for a different usage than I interpreted them.
They do behave a bit strangely though.  Holding down the mouse sends a
playpaused message and does fast forward through the track but the track
doesn't start playing again when I let go the mouse.  Maybe I can store the
currenttime in a mouseDown handler then in mouseUp start the player again
if the currenttime is different.

I guess I'll just add my own button for prev/next track.

Thanks Scott.

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>

On Tue, Jan 13, 2015 at 3:37 PM, Scott Rossi  wrote:

> I don’t believe the player as any sense of “tracks” by itself.  The
> buttons on the right are for fast forward and reverse (click and hold), but
> like the play button, they don’t respond well when playing audio only.
> Play a movie and you’ll see the results better.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
>
> On Jan 13, 2015, at 3:17 PM, Peter Haworth  wrote:
>
> > Just venturing into using a player object for the first time.
> >
> > I'm playing mp3 files in my iTunes library and I have most of what I want
> > to do figured out but one thing eludes me.
> >
> > The controller has a couple of buttons on the right that look like they
> are
> > supposed to move to the prev/next track (I'm playing music from a
> > library).  I see a playPaused message when I click on them but there
> > doesn't appear to be a way to differentiate between clicking on one of
> > those buttons and clicking the controller icon.  I'd like to start
> playing
> > the prev/next track in the library.
> >
> > I'm sure I'm missing something obvious!
> >
> > Pete
> > lcSQL Software <http://www.lcsql.com>
> > Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> > SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Player object

2015-01-13 Thread Scott Rossi
I don’t believe the player as any sense of “tracks” by itself.  The buttons on 
the right are for fast forward and reverse (click and hold), but like the play 
button, they don’t respond well when playing audio only.  Play a movie and 
you’ll see the results better.

Regards,

Scott Rossi 
Creative Director 
Tactile Media, UX/UI Design 

On Jan 13, 2015, at 3:17 PM, Peter Haworth  wrote:

> Just venturing into using a player object for the first time.
> 
> I'm playing mp3 files in my iTunes library and I have most of what I want
> to do figured out but one thing eludes me.
> 
> The controller has a couple of buttons on the right that look like they are
> supposed to move to the prev/next track (I'm playing music from a
> library).  I see a playPaused message when I click on them but there
> doesn't appear to be a way to differentiate between clicking on one of
> those buttons and clicking the controller icon.  I'd like to start playing
> the prev/next track in the library.
> 
> I'm sure I'm missing something obvious!
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Player object

2015-01-13 Thread Peter Haworth
Just venturing into using a player object for the first time.

I'm playing mp3 files in my iTunes library and I have most of what I want
to do figured out but one thing eludes me.

The controller has a couple of buttons on the right that look like they are
supposed to move to the prev/next track (I'm playing music from a
library).  I see a playPaused message when I click on them but there
doesn't appear to be a way to differentiate between clicking on one of
those buttons and clicking the controller icon.  I'd like to start playing
the prev/next track in the library.

I'm sure I'm missing something obvious!

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


AW: player object problem on Win7

2011-08-15 Thread Tiemo Hollmann TB
A good part of my support cases are related to corrupted Quicktime
installations...
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-
> boun...@lists.runrev.com] Im Auftrag von Nicolas Cueto
> Gesendet: Montag, 15. August 2011 13:42
> An: How to use LiveCode
> Betreff: Re: player object problem on Win7
> 
> Well, QuickTime was the problem. Installed it and now my stack/standalone
> works.
> 
> > This is why many of us have been requesting for years that the RunRev
folks
> license a media player technology that could be included in the engine,
rather
> than relying on QuickTime.
> 
> Count me in on that request.
> 
> --
> Nicolas Cueto
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object problem on Win7

2011-08-15 Thread Richmond Mathewson

On 08/15/2011 02:41 PM, Nicolas Cueto wrote:

Well, QuickTime was the problem. Installed it and now my stack/standalone works.


  This is why many of us have been requesting for years that the RunRev folks 
license a media player technology that could be included in the engine, rather 
than relying on QuickTime.


Yup: and, ideally, a truly cross-platform solution so that movies
play seamlessly on Mac/Win and Linux . . .  :)


Count me in on that request.

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object problem on Win7

2011-08-15 Thread Nicolas Cueto
Well, QuickTime was the problem. Installed it and now my stack/standalone works.

> This is why many of us have been requesting for years that the RunRev folks 
>license a media player technology that could be included in the engine, rather 
>than relying on QuickTime.

Count me in on that request.

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object problem on Win7

2011-08-14 Thread Scott Rossi
AFAIK, Neither LiveCode nor Windows has ever included a QuickTime installer.

In answer to your question, yes, to get the most functionality from a player, 
the user must have QuickTime installed.  Otherwise, playback features are quite 
limited.  This is why many of us have been requesting for years that the RunRev 
folks license a media player technology that could be included in the engine, 
rather than relying on QuickTime.  The media support available from QuickTime 
is great, but the need to install it is off-putting for many non-Mac users.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design



On Aug 14, 2011, at 9:41 PM, Nicolas Cueto  wrote:

> Sorry to be replying to my own question.
> 
> A Win7 installation does not include QuickTime. And I've confirmed QT
> is not installed on my machine.
> 
> If this lack of QT is the source of the problem, does this mean Win7
> users of my LiveCode stacks must have QuickTime already installed?
> 
> If so, argh!  I hesitate installing QT to find out one way or the
> other. Cause of how annoyingly persistent its update messages are.
> Almost as bothersome as java's!
> 
> --
> Nicolas Cueto
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object problem on Win7

2011-08-14 Thread Nicolas Cueto
Sorry to be replying to my own question.

A Win7 installation does not include QuickTime. And I've confirmed QT
is not installed on my machine.

If this lack of QT is the source of the problem, does this mean Win7
users of my LiveCode stacks must have QuickTime already installed?

If so, argh!  I hesitate installing QT to find out one way or the
other. Cause of how annoyingly persistent its update messages are.
Almost as bothersome as java's!

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


player object problem on Win7

2011-08-14 Thread Nicolas Cueto
Hi.

A stack and its standalone version work fine in WinXP but not in Win7.

The problem relates to the player object. It's filename gets set to an
url on my webserver, and the url is a reference to an MP4 video. When
the Win7 version sets the player object to the filename, both the
stack in the IDE  and the standalone version slow down. The
stack/standalone are still active (eg, buttons are still clickable),
just very long wait times.

And I very much doubt the problem relates to firewalls or passwords,
since the stack also refers via url to jpg and txt files on the same
webserver and these get downloaded ok.

Any ideas?

Thanks.

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


player object and large video

2011-04-13 Thread Nicolas Cueto
Hello,

I'm moving a stack from the development stage to standalone. For both
Win and Web. The stack contains a player object, which refers to a
large (55Mb) MPEG-4 video that is online on my onrev account.

Some odd things, though.

When opening the stack, the screen shows only the frame/outline of the
stack. After many seconds and the video seems to have begun loading,
only then does the screen become fully drawn. The web version takes
longer than the standalone.

Further, the video loops. The stack uses "set the playSelection of
player x to true" to play the video in sections. And that selection is
what is getting looped. But, in the LC IDE, the looping property of
the player shows "false". I'll try including an explicit "set looping
to false" in the card script. But don't think that'll work.

Thanks as always.

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object messages

2011-04-10 Thread J. Landman Gay

On 4/10/11 11:37 PM, Nicolas Cueto wrote:

They're all in the dictionary under the Player category. That's in the
left-side list.


Thanks, Jacqueline. But there's so many listed there! Hard to tell
where to start just from the command name :-).


It sounds like you only want messages. So select the Player category at 
the left, then click the "Type" column header. That will sort the 
entries by type and all the messages will be together. There aren't as 
many of those.


Although, in my suggestion to use mouseUp instead of currentTimeChanged, 
you'd want to get the currentTime property, and that isn't a message...



--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object messages

2011-04-10 Thread Nicolas Cueto
> They're all in the dictionary under the Player category. That's in the
> left-side list.

Thanks, Jacqueline. But there's so many listed there! Hard to tell
where to start just from the command name :-).

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: player object messages

2011-04-10 Thread J. Landman Gay

On 4/10/11 9:32 PM, Nicolas Cueto wrote:

Hi,

Assuming there is one, what is the name for the message sent when the
thumbslider (?) of a player object is clicked and/or released?


currentTimeChanged



While on the topic, I'd welcome a short list of names for any other
player object messages related to its stop/play/pause and
thumbslide-left/right buttons.


They're all in the dictionary under the Player category. That's in the 
left-side list.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


player object messages

2011-04-10 Thread Nicolas Cueto
Hi,

Assuming there is one, what is the name for the message sent when the
thumbslider (?) of a player object is clicked and/or released?

While on the topic, I'd welcome a short list of names for any other
player object messages related to its stop/play/pause and
thumbslide-left/right buttons.

Thank you.

--
Nicolas Cueto

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode