VideoPlayBack WP8 Path Issue [Solved]

Hi all,

I been using a 3rd party plugin to try and play video for WP8, only plugin I can find on net and free:
https://github.com/felixrieseberg/Unity-WinRT-WP8-PlayMovieNatively

For WP8 I can play a video from a server on the net, this is working but not what I need.
I wish to play the video directly from the Asset folder or streaming Asset folder.
I tried many ways but nothing happens when I play on Windows Phone, I know it either cannot be done or the path to the video Tut1.mp4 is wrong.

#if UNITY_WP8

        WinControlsWP8.VideoPlayback.PlayVideoFullscreen("ms-appx:///Assets/Tut1.mp4", true);

        #endif

Can anyone help me with WP8 filepaths

Thank you.

I assume you already tried http://docs.unity3d.com/Manual/StreamingAssets.html Application.dataPath + “/StreamingAssets/Tut1.mp4” ?

1 Like

Thomas your my hero, I did try this but not the correct way, wrote this wrong before.
Works perfectly now.

BTW should this work for Windows 8.1 (Metro) as I know lot has changed