0

Play HTML5 video with sound

I am currently having a weird issue with a HTML5-based video player app: on the first boot-up of the unit (XT1144), the video file doesn't play the sound until about 7 seconds in. 

The trigger for the playback is either a tap on the touchscreen or an external GPIO contact (headphones being picked up). Either way, the sound doesn't "unblock" on the first run of the app after boot. On the next run it functions without a problem, the sound is immediately there.

I have a suspicion that the 7 second limit is maybe related to the Media Engagement Index background check in Chromium/Chrome, since it actually fits the time pattern perfectly. I had hoped however that such functions are not enabled in the Chromium version for the BrightSign players, as they don't really make sense in the context.

Is my suspicion correct, and if yes, anybody have an idea how we might work around this, or disable it? 

1 comment

  • 0
    Avatar
    amihailescu

    Or other said, is there any way to pass custom flags to the Chromium engine, to disable features? In this case, I would need ""No user gesture is required" at chrome://flags/#autoplay-policy"

Please sign in to leave a comment.