Jump to content
Zum Start hinzufügen

Weitere Informationen

3D-Modellbahn Studio

Eine Vollbild-App auf Ihrem Startbildschirm mit Push-Benachrichtigungen und mehr.

So installieren Sie diese App auf iOS und iPadOS
  1. Tippen Sie auf das Teilen-Symbol in Safari
  2. Scrollen Sie durch das Menü und tippen Sie auf Zum Startbildschirm hinzufügen.
  3. Tippen Sie oben rechts auf Hinzufügen.
So installieren Sie diese App auf Android
  1. Tippen Sie auf das 3-Punkte-Menü (⋮) in der oberen rechten Ecke des Browsers.
  2. Tippen Sie auf Zum Startbildschirm hinzufügen oder App installieren.
  3. Bestätigen Sie durch Tippen auf Installieren.

Empfohlene Beiträge

Geschrieben

I know it is possible to play sounds (MP3) in MBS, but is it possible to play a video?  The same parts of the software that handle sound should be able to handle video (MP4)

Geschrieben
  • Autor

let me add a bit.  I am asking if it is possible to pass a command to an external program such as PotPlayer to run a video in response to an event.

Geschrieben

Hi Curt,
I wouldn't second in'game' videos, because then I fear abusing. But using the port with another external program that reacts to MBS-Events and launches a player parametrized is possible. Still - needs someone to write this external program.
I have no idea if there will be file access by Lua (and I don't know if that can be restricted so that our computers will stay safe...), but perhaps then there could be an easier solution.

greets
  Andy

Geschrieben
  • Autor

Normally I would agree with you about possible abuse, but in this situation, I have a special video that I want to insert in a layout that goes directly with the theme of the layout.

 

Geschrieben

Just wait for V5. Lua can make it, I have tested it, it works.

Launching the player is a one-liner, just go the Lua-Test-Shell and enter

os.execute('start C:\\Program Files\\DAUM\\PotPlayer\\PotPlayerMini64.exe C:\\sample.mp4')

 

Bearbeitet von Andy

Geschrieben
  • Autor
8 minutes ago, Andy said:

Just wait for V5. Lua can make it, I have tested it, it works.

cool,  I am working on Golden Spike site, and thought it would be cool to play the actual driving of the golden spike.

 

Geschrieben

I just have to check out, how the size can be adjusted. With the pure command it goes fullscreen immediately

p.s.: I could write this external program in no time, the problem is, who should trust me and download that one. So that's nothing for the catalog.
So better let's wait.

p.p.s I'm not really amused that this is that easy to possibly grab data by Lua and send it to somewhere while using MBS :/

Bearbeitet von Andy
p.p.s

Geschrieben

Hi,

vor 6 Stunden schrieb Andy:

os.execute(...

this won't work in V5, you will not have access to any OS functions or other private data. All Lua scripts are running in an isolated sandbox. This allows sharing layouts without any security concerns.

@Curt84328
You can upload your video to YouTube and include the link to the video in the description of the layout, which is always shown when the layout is loaded.

Kind regards,

Neo

Geschrieben

Sehr gut Neo!
Da hatten Götz und ich schon große Sorgen!

Gruß
  Andy

Geschrieben
vor 20 Minuten schrieb Andy:

Götz und ich ...

Ich war informiert. ;)

Geschrieben

Sakra, wo ist denn jetzt diese Fliegenklatsche?

Geschrieben
  • Autor

since people seem concerned about embedded video, I thought I'd set everyone's mind at ease.  I decided to just include a link to the video in the description and not ask for embedded.  This project is turning out to be harder and bigger than I thought.

 

Geschrieben

Na, na,  Andy, ich dachte du willst dich in Bezug " Fliegen "  etwas mehr Contenance üben.:D.... Gruß Karl

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Push-Benachrichtigungen konfigurieren

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.