Well, like I said, I may have some lack of the proper understanding of the documentation, I just laid it out like it reads, and it reads that way all the way back to Lc 1.x.
I did read all the documentation in Mc about xanmim, and much of the docs on what remains of the xanim site itself.
Interesting that when you 'set the videoclipplayer', the message box shows it on put videoclipplayer. If the error started on setting it, wouldn't it return an error in the message box?
Player does not show on ubuntu
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Player does not show on ubuntu
No, there's no error on setting the global variable, I just don't see any code in the engine that uses it.
And maybe that's why it crashes on my system, since I don't have xanim installed, and it's expecting xanim no matter what I set as the player.
And maybe that's why it crashes on my system, since I don't have xanim installed, and it's expecting xanim no matter what I set as the player.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
Re: Player does not show on ubuntu
Well, I like your explanation better than mine
-
- Posts: 9
- Joined: Wed Dec 14, 2016 3:44 pm
Re: Player does not show on ubuntu
Thank you all for these interesting comments.
Is anyone able to sum-up this?
To come back to my original question, is there a simple way to obtain a player with buttons on livecode with ubuntu?
PS: I am developing an audio annotator, so I need every controllers (like the stop and pause buttons).
Is anyone able to sum-up this?
To come back to my original question, is there a simple way to obtain a player with buttons on livecode with ubuntu?
PS: I am developing an audio annotator, so I need every controllers (like the stop and pause buttons).
Re: Player does not show on ubuntu
Sure I can sum it up for you. As Max saidsandoval31 wrote: ↑Mon Apr 16, 2018 3:18 pmIs anyone able to sum-up this?
To come back to my original question, is there a simple way to obtain a player with buttons on livecode with ubuntu?
In other words, on Ubuntu (or really any linux), the player object doesn't display controls like play, pause, stop, etc because Mplayer (the default Lc uses) doesn't have those controls. But, as he points out, you can easily add your own controls and code those using Lc script. The commands for controlling the player are all in the dictionary and possibly the user guide. You can either use button objects to make the controls, or even straight up graphics.The player on linux uses MPLAYER.
Mplayer doesn't have visible controls, but you can add easily with livecode
This lesson is about playing sounds, but the language is pretty close to the same for playing movies.
This lesson is about creating a real fancy controller, but you can also use the plainer layout for what your attempting.
This lesson tells you some of the ways to control the player through script.
Lastly, a simple search with the term "livecode play movies" yielded a lot of results about a lot of ways to do all of this stuff.
Hope that helps