Text floating above player, Videopresentation

Its all business and sales. Presenting products, and concepts?

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

Post Reply
viro
Posts: 52
Joined: Fri Jul 05, 2013 6:59 pm
Location: Germany, Hesse

Text floating above player, Videopresentation

Post by viro » Mon Jan 06, 2014 11:37 pm

Hey guys,
today a potential customer asked if there is a software which makes it possible to choose text to run across a video...
I googled a bit and did not find anything.(at least not without remastering the video)

My try with livecode ended up in frustration, as it does not support text above the player.
Maybe someone has good advice?

download the video to the same place where you place the stack (attached)
https://archive.org/download/Windows7Wi ... _512kb.mp4
regards, Viro
Attachments
running_text.zip
(1.01 KiB) Downloaded 161 times
the funniest thing about this particular signature is that by the time you realize it doesn't say anything it's too late to stop reading it

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5132
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Text floating above player, Videopresentation

Post by Mark » Tue Jan 07, 2014 12:36 am

Hi Viro,

If you create a card with a white background, set the ink of the player control to addMin, create a field with a black or otherwise dark coloured text, set the alwaysBuffer of the player to true, and put the field behind the player control, you can display text "in front of" the player.

You can also do the same but with a black card, white text and the ink of the player control set to addMax.

If the player control is smaller than the card, you can use a graphic control with a black rectangle behind the player control and the field.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4392
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Text floating above player, Videopresentation

Post by jacque » Wed Jan 08, 2014 5:02 am

Another approach is to set the alwaysBuffer of the player object to true. In the property inspector, you can do that by checking the "buffer" checkbox in the Basic pane. That will allow you to place other objects on top of the video, including a text field.

The disadvantage of this is that the controller will not work, you will have to control the playback with scripts instead. If you want users to control playback you can make your own "start" and "stop" buttons to do that.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3900
Joined: Sat Mar 24, 2007 2:54 am
Location: Palo Alto

Re: Text floating above player, Videopresentation

Post by Simon » Wed Jan 08, 2014 5:10 am

I never knew about this so I was playing around with it yesterday.
Use 2 fields 1 opaque black with blend set to about 50% and on top of that another field not opaque with the white text.

Looks good.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Post Reply

Return to “Business and Kiosks”