Kirilllive / tuesday-js

simple web-based, free and open-source visual novel editor that can be used in a web browser. It is written in JavaScript without using any third party libraries and thus does not require additional software installation. The engine uses standard HTML document elements such as div and img. This allows the use of any media format supported by browsers including vector graphics svg, gif animations and css styles.
https://kirilllive.github.io/tuesday-js/
Apache License 2.0
513 stars 62 forks source link

Uploaded Video is playing without the sound #18

Closed vladobra closed 2 years ago

vladobra commented 2 years ago

Hello,

When I use a video component, the video is playing but no sound in Chrome and in Firefox.

Kirilllive commented 2 years ago

Hello!

Playback of any media that includes audio is generally blocked if the playback is programmatically initiated in a tab which has not yet had any user interaction.

https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide

vladobra commented 2 years ago

The autoplay of video content works fine in fact. The only problem I am experiencing is the lack of audio. But, thank you for the clarification. I will test it after invoking a user interaction. I can embed youtube video as a HTML code in the scene. Though I like a lot TuesdayJs native embeded video, especially, that I can navigate automatically to another slide once the video is over.

Thank you...

vladobra commented 2 years ago

Btw, I think we can close this one. The issue was on my side. There is a slider sound in video properties, it was set to 0. After all both audio and video works fine. Thank u!!

vladobra commented 2 years ago

Not an issue.