Recent Posts

Pages: [1] 2 3 ... 10
1
Designer / Pause/Play Video
« Last post by chronogear on February 15, 2018, 08:36:51 AM »
Hello everyone.

I need to make a template with play/pause button for Video. I found this example on the forum, but it doesnt work very well. It does pause the video (but the video disappears when i pause). Then i resume, it comes back ok at the right timestamp where it was left behind. BUTTTT after the video finishes playing for the first time, it just bugs out like playing for 2 seconds, then restarting again. I don't know. Does anyone have a working play/pause button for a video?

Any help is appreciated. Really thanks.



!ScalaScript1100
// Saved by Scala Designer Release 11.00.02 at 2018-02-15 11:34:24
:"Video_Controler.sca"
{
  Group:
    Template FileNameString(Video("materials\video_teste.mp4"));
    Boolean(sVideoPause);
    Integer(sVideoStart(0), sClock);
    BackgroundSettings(Size(1920, 1080));
  Sequence:
    :"_TempName1"
    {
      Group:
        Display(Backdrop(Pen(20)), Margin(10, 10, 0, 0), UserPalette(RGBPen(1, $0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200, $ff5a00, $ff9c00, $ffee00, $8800, $dd00, $cccc, $66ff, $aa, $777777, $bbbbbb, $dddddd, $465a96, $d2d2d2, $b4b4b4, $808080, $5e5e5e, $ff4e48, $ff2925, $c30c09, $a00503)));
        Button(Layer(1), Select(Goto("_TempName1", Bookmark(Off))), NormalOff(Text(948, 800, "Pause", Backdrop(On), Shadow(Off, Softness(5)), Transparent(Off), Bevel(On), AntiAlias(On), OnReplay(Replace), Font("Source Sans Pro (Western [])", 50), Tabs(Relative(On)), Wrap(Off, Width(1890)))), NormalOn(Text(948, 800, "Pause", Backdrop(On, Pen(7)), Shadow(Off, Softness(5)), Transparent(Off), Bevel(Off, Base(Pen(7)), Left(Pen(26)), Right(Pen(27)), Top(Pen(25)), Bottom(Pen(28))), AntiAlias(On), OnReplay(Replace), Font("Source Sans Pro (Western [])", 50), Tabs(Relative(On)), Wrap(Off, Width(1890)))), Variable(sVideoPause));
      Sequence:
        {
          Group:
            sClock = Clock;
            MovieClip(0, 0, Video, Transparent(Off), Update(None), OnReplay(Ignore), Operation(On), StartTime(sVideoStart), Wait(On));
            If(sVideoPause = Off);
        }
        {
          Group:
            sVideoStart = sVideoStart + (Clock - sClock)  ;
            Wait();
            If(sVideoPause = On);
        }
    }
}
2
Player / Problem with animated gif's
« Last post by Reiner on February 07, 2018, 08:18:09 AM »
Hello,

I have a problem with animated gifs. I've set the time for the gif to 7s, but the player shows all the gifs about 35s. I changed the time in my playlist, but it does not change the playing time.

Does anyone have an idea?

Reiner
3
General Discussion / Re: HELP IC3 Scripts or other examples ?
« Last post by Geoy on February 05, 2018, 07:02:43 PM »
 :)

I FOUND THE EXAMPLES!   Happy!!  BUT!

i cant open it.

Scala Error: 26
---------------------------------------------------------
there is an error in script file "webtext.sca". line 15
Command 'WindowsScript()":
The command "WindowsScript" is unknown.

I think something is missing on my installation.
Can someone help me? Prehaps just send me some file
from your system??

4
General Discussion / HELP IC3 Scripts or other examples ?
« Last post by Geoy on February 05, 2018, 04:28:09 PM »
 :o Hey...  some years ago I saw IC3 examples online.
Like RSS, time, weather.. does anyone have some examples of 'dynamic' content in IC3 SP5?

Please!!!  Anything.. let me know.
5
Content Manager / New "Alternate" option for Schedules and Playlists
« Last post by JPorter_SW on January 26, 2018, 02:49:12 PM »
Does anybody know how the new "alternate" feature works? My understanding is that you could have a transparent BG when scheduling playlists which would be very powerful for having playlists scheduled on top of playlists . . . but . . . it doesn't work. I have a main schedule screen that runs on most of my schedules but in the evening the building is sometimes rented by other companies that has an evening playlist overtop of the main schedule playlist. Right now, when the evening playlist kicks in but nothing is added to that playlist, it goes black (even with the transparent option selected). I would love a (working) transparent option so if nothing is scheduled in that playlist than it just keeps showing the schedule screen. Any thoughts?
6
Content Manager / Re: CM 11.03.x API issues
« Last post by SHAQU on January 25, 2018, 01:10:48 PM »
Will you also update python?
For example, after updating python from 2.6.2 to 2.7.11 (attached to Scala CM 11.03.06), one of the scripts written in python has stopped working. I found that in the new version there is no ZSI catalog, which in version 2.6.2 is in the path: C: \ Program Files (x86) \ Python26 \ Lib \ site-packages \
I copied this directory to Python 2.7.11 to the location: C: \ Python27 \ Lib \ site-packages
Pyhona's script started working as before
This solution may also help you
7
Designer / Re: Translating Text
« Last post by rhuffman8 on January 24, 2018, 02:48:11 PM »
I am working with an interactive touchscreen script and the question of offering different language options upon user request was raised. It seems like a bit of a long-shot but is there an easy way built into Designer or perhaps a plugin that allows this to be done with the selection of a button or something without actually having to manually translate all the text?

Now that this conversation is going on 6 years old and the issue has reared it's head again (didn't end up having to deal with it last time) I'm wondering if anything has changed about this situation or if there's any word of changes on the horizon from Scala that I haven't heard about. Thanks!
8
Player / Re: Scala Player Crashes on Open Serial Port Command if cable not connected
« Last post by Staffan on January 23, 2018, 01:31:56 PM »
Interesting. Thank you. No, I created the script in Scala Designer. It works great so long as there is a COM port to communicate with. When there isn't or the COM port number is wrong, then it freezes up.  Seems to me that Scala should do what it normally does and report the error and then move on to the next slide.
9
Player / Re: Scala Player Crashes on Open Serial Port Command if cable not connected
« Last post by nicu on January 23, 2018, 08:28:18 AM »
Hi,
Did you try use SerialLink from python?
See the doc from: file:///C:/Python27/Lib/site-packages/scalalink.html#SerialLink
10
Player / Re: Cursor on screen when viewing web site
« Last post by Staffan on January 22, 2018, 01:35:55 PM »
Hi Carsten,

When you add the Webpage item to a Playlist, you can access Item Properties for that item. At the bottom of the list of properties is Interactive: Yes/No. Set this to No and the arrow will disappear.

Staffan
Pages: [1] 2 3 ... 10