@Vlahui_on_pc (Vlahui_on_pc) posted a new topic, subject "Changing media texture on runtime". It read:

   Hello guys! I have a tv and a vhs player. I want to change the media texture on the tv when the vhs player is on/off. This works, but it doesn't change right away, so I need to turn off and on the tv for the media texture to change. I want the media texture to change as soon as the vhs player is turned on/off. The vhs player boolean is called VCR. Any ideas?  
    
    
    https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/7/16742e5cc685ed6b31d6c923c8e90f0b787f0860.mp4
    
      
    
    
    Screenshot_3081453×542 179 KB
    
      
    
    
    Screenshot_3091121×523 114 KB
    
      
    
    
    Screenshot_689-921-9080×512 104 KB
    
      
    
    
    Screenshot_3111129×407 68 KB
    
      
    
    
    Screenshot_312782×434 54.2 KB

@eldany.uy (eldany.uy) replied

    try restart:
    
    media player stop —> open source —> media player play

@Vlahui_on_pc (Vlahui_on_pc) replied

    There wasn't a stop node, only a close one. But is still wasn't working. Here is a screenshot  
    
    
    Screenshot_313944×335 95.4 KB
    
      
    Should I try to create 2 different media players? I ran out of ideas at this point.

To which @eldany.uy (eldany.uy) replied

    hope it helps:

After which, @Vlahui_on_pc (Vlahui_on_pc) added

    I'll try it now.

So @Vlahui_on_pc (Vlahui_on_pc) replied

    What is that custom event? How do I create it?

To which @Vlahui_on_pc (Vlahui_on_pc) replied

    I just figured it out thanks to you! I appreciate the help!!


{'source': 'discourse', 'url': 'https://forums.unrealengine.com/t/changing-media-texture-on-runtime/581626', 'title': 'Changing media texture on runtime', 'views': 149, 'has_accepted_answer': True, 'word_count': 194, 'like_count': 3, 'reply_count': 5, 'participant_count': 2, 'posts': 7, 'tags': 'question Blueprint UE5-0', 'author': '@Vlahui_on_pc (Vlahui_on_pc)', 'participants': '@Vlahui_on_pc (Vlahui_on_pc), @eldany.uy (eldany.uy)', 'image_url': ['https://d3kjluh73b9h9o.cloudfront.net/optimized/4X/9/0/7/9075c12e8f7f1b936f2923f935714f2627a7240e_2_1024x381.png'], 'created_at': '2022-06-14T12:26:03.845Z', 'last_posted_at': '2022-06-14T15:49:41.526Z'}