Search Unity

WebGLMovieTexture from asset store no longer works in Unity 5.5 & 5.6

Discussion in 'Web' started by nsmith1024, May 20, 2017.

  1. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    870
    Hello,

    I was using WebGLMovieTexture from the asset store in my Unity 5.4 project, works great!

    https://www.assetstore.unity3d.com/en/#!/content/38369

    Today i upgraded to Unity 5.5, now when i play a video video clip it doesnt show the picture, but i can hear the sound. I also tried it in 5.6 and it does the same thing, sound but no picture.

    I also tried using the new VideoPlayer component, but it only works in the editor, when i build for WebGL VideoPlayer wont play any video clip from a URL unless the URL contains "mp4" in the URL string. But the same works in the editor.

    The URL im using doesnt contain mp4 it just contains the clip number like "http://www.mysite.com?clip=1". The server streams back the video file based on the clip number, but the VideoPlayer doesnt do anything unless the URL contains "mp4" in the url string, so now nothing works!!!

    If i give it a URL to the actual video file like "http://www.mysite.com/myvideo.mp4" it works. Unfortunately i cant give it a link to the actual video for security reasons.

    I made a lot of post about this but no answer so far, can somebody help

    Thanks!!