Hi,
I tried all from this threat https://forum.unity.com/threads/videoplayer-webgl-url-not-working.467391/#post-3392808.
but, my problem is video not playing in my WebGL build showing a blank white screen only, but the audio is playing.
this is my Script,
// Update is called once per frame
void Update()
{
if (Input.GetMouseButton(0))
AssignURL();
}
void AssignURL()
{
if (string.IsNullOrEmpty(url))
{
url = "http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4";
//url = Application.streamingAssetsPath + "/" + fileName;
}
videoPlayer.url = url;
videoPlayer.Play();
}
In editor everything is working, kindly help me out what’s the problem.
I also tried to build using WebGL1.0 and WebGL2.0 api’s. But the problem is same…
Thanks in Advance.