You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.
by volume change I mean setting it by .volume(X) method.
By buggy I mean video is played with 100% volume level, even if set lower. Worth to add that player UI still shows volume set to desired value.
I simply modified your example, just replacing mute method by volume(0.2)
Everything works fine with use of video and preroll provided by the example.
But then I started to play with my streams and had to spent 2 days to get what's going on.
I figured out that in my case, VAST provider provides preroll in flv format. Then I verified a few testcases and figured out that volume doesn't work as expected (is ignored) if preroll is not the same video format as video to be played after.
I played a bit with playerjs-vast code and found, that adding setting volume in vast-preroll-ready delegate, just before player.play might be a workaround.
With regards
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by volume change I mean setting it by .volume(X) method.
By buggy I mean video is played with 100% volume level, even if set lower. Worth to add that player UI still shows volume set to desired value.
I simply modified your example, just replacing mute method by volume(0.2)
Everything works fine with use of video and preroll provided by the example.
But then I started to play with my streams and had to spent 2 days to get what's going on.
I figured out that in my case, VAST provider provides preroll in flv format. Then I verified a few testcases and figured out that volume doesn't work as expected (is ignored) if preroll is not the same video format as video to be played after.
In short:
1.volume works while:
2.volume doesn't work while:
3.volume doesn't work while:
It's very likely depended on videojs issue reported here: videojs/video.js#2066
I played a bit with playerjs-vast code and found, that adding setting volume in vast-preroll-ready delegate, just before player.play might be a workaround.
With regards
The text was updated successfully, but these errors were encountered: