Best Practice with Player object to determine audio or video
Paul Dupuis
paul at researchware.com
Thu Jul 11 15:02:54 EDT 2019
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 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