AW: I don't get Quicktime to run under LC 6.7.6

Tiemo Hollmann TB toolbook at kestner.de
Fri Oct 16 06:05:06 EDT 2015


Thank you Panos,
I tested the first approach with 6.7.8 and it works perfectly!
Tiemo

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von panagiotis merakos
Gesendet: Freitag, 16. Oktober 2015 11:34
An: How to use LiveCode <use-livecode at lists.runrev.com>
Betreff: Re: I don't get Quicktime to run under LC 6.7.6

Hi Tiemo,

I saw that your reply was on my first comment, which I just confirmed that does not work. But the solutions suggested in my next comment should work.
In case you missed it, here it is:

In LC 6.7.8 RC1 (released yesterday) you can set the dontuseqt for the player object. So this *will* work:

on preopenstack
   put the filename of player "myPlayer" into tOldFilename
   set the filename of player "myPlayer" to empty
   set the dontuseQT of player "myPlayer" to false
   set the filename of player "myPlayer" to tOldFilename
   [...]
end preopenstack

Another solution that will work in LC versions before  6.7.8 RC1, is to delete and recreate the player on preopenstack. This will force the player to use QT from the very first time your stack is loaded:

on preopenstack
set the dontuseQT to false
put the rect of player "myPlayer" into tRect
   put the filename of player "myPlayer" into tOldFilename delete player "myPlayer"
create player "myPlayer"
set the showcontroller of player "myPlayer" to true // This is needed because the newly created player has no controller set the filename of player "myPlayer" to tOldFilename set the rect of player "myPlayer"  to tRect end preopenstack

Best,
Panos
--


On Fri, Oct 16, 2015 at 10:09 AM, Tiemo Hollmann TB <toolbook at kestner.de>
wrote:

> Hi Panos,
> Thanks Panos, but that didn't worked.
> I found a workaround. If I create a splash stack, where I set 
> dontuseQT to false and go from the splash stack to my real stack then QT works correct.
> But I didn't found a trick to get it to run in the first stack.
> I will file a bug.
> If anybody gets another idea for a workaround I would love to test it 
> Tiemo
>
> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im 
> Auftrag von panagiotis merakos
> Gesendet: Donnerstag, 15. Oktober 2015 19:01
> An: How to use LiveCode <use-livecode at lists.runrev.com>
> Betreff: Re: I don't get Quicktime to run under LC 6.7.6
>
> Hi Tiemo,
>
> What happens if you do:
>
> on preopenstack
>
> put the filename of player "myPlayer" into tOldFilename set the 
> filename of player "myPlayer" to empty set the dontuseQT to false set 
> the filename of player "myPlayer" to tOldFilename [...] end 
> preopenstack
>
> Best regards,
> Panos
> --
>
>
> On Thu, Oct 15, 2015 at 7:35 PM, Tiemo Hollmann TB 
> <toolbook at kestner.de>
> wrote:
>
> > Hello,
> >
> > OSX 10.9.5. Because of video file compatibility I still want to use 
> > QT in 6.7.6. In preopenstack I set:
> >
> > set the dontuseQT to false
> >
> > put the qtVersion into tTest
> >
> > In IDE:  start player "myplayer" -- nothing happens. The player runs 
> > (I get the playStopped status after the video is finished), but 
> > doesn't shows any video. Doing "set the dontuseQT to false" multiple 
> > times again, changes nothing.
> >
> > When closing the stack, removing from memory and reloading the same 
> > stack a second time, everything works fine like before in LC 6.5.2, 
> > the videos are played fine. So it seems, it has something to do with 
> > loading and providing QT. The first opening of my stack seems to 
> > load QT, but doesn't provides it to my stack. When opening the stack 
> > a second time, it now catches the properly loaded QT.
> >
> > In a standalone the videos are not played anymore at all.
> >
> > Does anybody got QT to run under 6.7.6? Any ideas, what else I could do?
> >
> > Thanks for any hints
> >
> > Tiemo
> >
> >
> >
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at 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 at 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 at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list