Question / Help Media source, is there something like "Auto-hide"?

Se1pher

Member
Hello.
When I adding media sorce with some short video, I need playng it just once when source is shown(source visibility binded to button), and then hiding(for next time when I press button, video playing again).
But when I press button(after playing), video hides, but source stay shown, so I need to press binded button 2 times for activate video again.
How can I make video play just for single press every time?
P. S. Sry about literacy, english not my native language
 

Suslik V

Active Member
Best option for now is to convert your media to video or audio file and use VLC source (install VLC Player, at least, libvlc.dll, libvlccore.dll libraries and its plugins folder if you don't like vlc player itself, and add registry path to the folder with libvlc.dll file,

example:
Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC]
"InstallDir"="C:\\My programs\\Open Broadcaster\\VLClib"
for VLC libs unpacked to "C:\My programs\Open Broadcaster\VLClib" folder)
 

Se1pher

Member
There is an option in vlc source something like "play when becomes active", what I need to do for "activate" it?
 

Suslik V

Active Member
It's named: Stop when not visible, restart when visible (first in the list). Try it. Triggered when switch to scene with VLC source or show/hide hotkey (you can assign the same key) on source. Depend on the way you want to show the source, immediately or with transition enabled, also always make pauses to fully unload the source.

There is some additional info about the plugin and other stuff, OBS Studio Help Guide: https://obsproject.com/forum/resour...ware-studio-multiplatform-help-guide-pdf.365/
 
Top