Quicktime / player limits?
Pierre Sahores
psahores at free.fr
Sun Jan 28 11:17:09 EST 2007
Hi Stephan,
Just pick inside those prod state scripts what you need ;-)
> on dofullscreen
> lock screen
> put the screenrect into eee
> hide fld "userpanel" of stack "iStream"
> set the rect of stack "iStream" to eee
> subtract 20 from last item of eee
> set the rect of player "mainplayer" to eee
> set the showController of player "mainplayer" of stack "iStream"
> to false
> set the loc of player "mainplayer" of stack "istream" to the loc
> of window "iStream"
> hide menubar
> set the backgroundcolor of this cd to "black"
> unlock screen
> end dofullscreen
>
>
>
> on dofullscreen2
> lock screen
> put the screenrect into eee
> hide fld "userpanel" of stack "iStream"
> set the rect of stack "iStream" to eee
> show graphic "graphic1"
> subtract (last item of eee div 2.4) from last item of eee
> set the rect of player "mainplayer" to eee
> set the showController of player "mainplayer" of stack "iStream"
> to false
> set the loc of player "mainplayer" of stack "istream" to the loc
> of window "iStream"
> hide menubar
> set the backgroundcolor of this cd to "black"
> unlock screen
> end dofullscreen2
>
>
>
> on doresizebtn
> lock screen
> set the backgroundcolor of this cd to ""
> hide fld "userpanel" of stack "iStream"
> set the left of player "mainplayer" of stack "iStream" to the
> left of fld "commandpanel" of stack "iStream"
> set the width of player "mainplayer" of stack "iStream" to -44
> +the width of window "istream"
> set the top of player "mainplayer" of stack "iStream" to 20
> set the height of player "mainplayer" of stack "iStream" to -38
> +the height of window "istream"
> set the showController of player "mainplayer" of stack "iStream"
> to true
> unlock screen
> end doresizebtn
>
>
>
> on doresizeplayer
> global StSzTemp
> lock screen
> set the backgroundcolor of this cd to ""
> if the left of player "mainplayer" of stack "iStream" is not
> "254" then
> show menubar
> set the rect of stack "istream" to the screenrect
> set the loc of stack "istream" to the screenloc
> set the top of window "istream" to 20
> set the height of window "istream" to -40+the height of window
> "istream"
> set the showController of player "mainplayer" of stack
> "iStream" to true
> set the left of player "mainplayer" of stack "iStream" to 254
> set the width of player "mainplayer" of stack "iStream" to -276
> +the width of window "istream"
> set the top of player "mainplayer" of stack "iStream" to 84
> set the height of player "mainplayer" of stack "iStream" to
> -46-60+the height of window "istream"
> set the width of fld "userpanel" of stack "iStream" to the -44
> +width of window "istream"
> hide graphic "graphic1"
> show fld "userpanel" of stack "iStream"
> revChangeWindowSize the width of stack "iStream", the height of
> stack "iStream"
> else if "mainplayer" is not in the target then
> hide fld "userpanel" of stack "iStream"
> set the left of player "mainplayer" of stack "iStream" to the
> left of fld "commandpanel" of stack "iStream"
> set the width of player "mainplayer" of stack "iStream" to -44
> +the width of window "istream"
> set the top of player "mainplayer" of stack "iStream" to 20
> set the height of player "mainplayer" of stack "iStream" to -38
> +the height of window "istream"
> end if
> unlock screen
> end doresizeplayer
Best Regards,
Le 28 janv. 07 à 16:43, Stephen Barncard a écrit :
> Pierre, how do you determine the rect of the player when playing a
> stream if the rect of the particular file is not known?
>
>> Hi,
>>
>> No limit in streaming mode (DSS 5 server). Don't know about
>> downloading mode.
>>
>> Hope this help,
>>
>> Best Regards,
>>
>> Le 28 janv. 07 à 03:33, Stephen Barncard a écrit :
>>
>
> --
>
>
> stephen barncard
> s a n f r a n c i s c o
> - - - - - - - - - - - -
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
--
Pierre Sahores
www.sahores-conseil.com
More information about the use-livecode
mailing list