How do I use movie texture in Unity 5 webGL? Is there any workaround?

I’ve already done some searching but did not find a working example.

jonas echterhoff has some solution but it didn’t work for me (I cannot send a message to him)

This is working only on desktop builds. But on WebGL the the problem is with MovieTexture.

using UnityEngine;
using System.Collections;

public class Video : MonoBehaviour {

public MovieTexture movie;
// Use this for initialization
void Start () {
GetComponent<Renderer>().material.mainTexture = movie as MovieTexture;

movie.Play();
}

}

Hi

The webgl movietexture will not work in the editor.
It will only work with a webgl build

Are you able to shed a bit more light on why it didn’t work for you?