player visibility bug?
I am writing a complex media player application. I decided to hide the Player entirely, and use my own buttons instead. When I make the Player invisible, everything stops working, as if I had deleted the Player. Is this what the rest of you would have expected? :) Jon ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: player visibility bug?
Hi Jon, No, it's not a bug. As a player is designed to play movies, then it stops when it is hidden. It's a normal behaviour: there is nothing to watch :-) So, instead of making your player invisible, let it visible but put it out of the card window area: set the bottomRight of player MyPlayer to -1,-1. Note that you can put any object out of range of the user's action by placing it out of the card window without having to set its visible to false. It's a very old handy trick :-) Best regards from Paris, Eric Chatonet. Le 3 juin 05 à 14:23, Jon a écrit : I am writing a complex media player application. I decided to hide the Player entirely, and use my own buttons instead. When I make the Player invisible, everything stops working, as if I had deleted the Player. Is this what the rest of you would have expected? So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Plugins, tutorials and more on our website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: player visibility bug?
On 6/3/05 7:38 AM, Eric Chatonet wrote: Hi Jon, No, it's not a bug. As a player is designed to play movies, then it stops when it is hidden. Actually, I think this only happens on Windows. On Macs, hidden players continue to play. So it is maybe a sort-of, kind-of, partial bug. The workaround is easy though, and I usually just set the location of the player offscreen for all platforms. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: player visibility bug?
Hi Jacque, As I do it usually, I verified with a QT movie before answering (Mac OS 10.4.1 - Rev build 77): on mouseUp start player 1 wait 1 second with messages hide player 1 -- then stops end mouseUp on mouseUp start player 1 wait 1 second with messages set the botRight of player 1 to -1,-1 -- does not stop (of course and fortunately :-) end mouseUp Best regards from Paris, Eric Chatonet. Le 3 juin 05 à 18:13, J. Landman Gay a écrit : On 6/3/05 7:38 AM, Eric Chatonet wrote: Hi Jon, No, it's not a bug. As a player is designed to play movies, then it stops when it is hidden. Actually, I think this only happens on Windows. On Macs, hidden players continue to play. So it is maybe a sort-of, kind-of, partial bug. The workaround is easy though, and I usually just set the location of the player offscreen for all platforms. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Plugins, tutorials and more on our website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: player visibility bug?
On 6/3/05 11:25 AM, Eric Chatonet wrote: Hi Jacque, As I do it usually, I verified with a QT movie before answering (Mac OS 10.4.1 - Rev build 77): Okay, I believe you. :) I had a commercial app written in an older version of Revolution and the Mac player worked while hidden but the Windows player did not. So maybe they changed things to be more consistent now. Or, maybe the Mac player worked because it was always hidden. I did not show it and hide it from a script. Or maybe it worked because I wasn't playing a QT movie, I was playing sound files in a player. I haven't had time to re-test this though. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: player visibility bug?
Hi Jacque, I did not want to hurt you. Sometimes, my bad english makes things seemingly a little bit hard... And I found it when I read again my mail... Do you want to excuse me? On the other hand, I dug the question by testing if there was a difference when the file did not have any video track: that's should have shown how much the engine is precise :-) Infortunately not. Best regards from Paris, Eric Chatonet. Le 3 juin 05 à 19:17, J. Landman Gay a écrit : On 6/3/05 11:25 AM, Eric Chatonet wrote: Hi Jacque, As I do it usually, I verified with a QT movie before answering (Mac OS 10.4.1 - Rev build 77): Okay, I believe you. :) I had a commercial app written in an older version of Revolution and the Mac player worked while hidden but the Windows player did not. So maybe they changed things to be more consistent now. Or, maybe the Mac player worked because it was always hidden. I did not show it and hide it from a script. Or maybe it worked because I wasn't playing a QT movie, I was playing sound files in a player. I haven't had time to re-test this though. So Smart Software For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch Plugins, tutorials and more on our website Web sitehttp://www.sosmartsoftware.com/ Email[EMAIL PROTECTED]/ Phone33 (0)1 43 31 77 62 Mobile33 (0)6 20 74 50 86 ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution
Re: player visibility bug?
On 6/3/05 12:42 PM, Eric Chatonet wrote: Hi Jacque, I did not want to hurt you. Oh, not at all. No offense taken in the least. Sometimes, my bad english makes things seemingly a little bit hard... Your English is excellent, and much better than my French. I don't know any French. :) And I found it when I read again my mail... Do you want to excuse me? There is nothing to excuse. You haven't done anything wrong at all. On the other hand, I dug the question by testing if there was a difference when the file did not have any video track: that's should have shown how much the engine is precise :-) Infortunately not. I just did a test too. I set a player to the filepath of an mp3 file and hid the player. In Revolution, starting the player shows it again! I couldn't make the player start and remain hidden. Then I did the same thing in MetaCard. Here, I can keep the player hidden and it does play. These tests are all on Mac OS X. So it looks like the difference is in the IDE. Rev does not allow me to start a hidden player. Possibly this is to prevent the Windows bug from occuring. MetaCard does play correctly with the player hidden. -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution