Page 1 of 1

UNC File won't play in embedded control

Posted: 12 Dec 2010 23:26
by SteveRicketts
I have VLC embedded in a web page and when I give it a UNC file name, it won't play. I've tried \\server\d\myfile.wmv and file://\\server\d\myfile.wmv, neither work. These play from the VLC GUI but not when it's embedded... how can I make this work? I've tried this in 1.0.5 and 1.1.5.

Re: UNC File won't play in embedded control

Posted: 20 Dec 2010 02:27
by Ilasir
Where is the html page?

Re: UNC File won't play in embedded control

Posted: 10 Jan 2011 20:47
by SteveRicketts
Well, the actual page is not accessible from the internet. It's an Windows web server, IIS 7, on my internal server. Here is the web page code if that helps.

<object id="VLC" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2"
width="320px" height="240px" events="True">
<param name="src" value="\\Server2008\d\OnDemand/CADE 101_188_3.wmv"/>
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="no"/>
<param name="AutoPlay" value="true"/>
<embed type="application/x-vlc-plugin"
autoplay="yes" loop="false"
id="VLC"
pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="320" height="240"
target="\\Server2008\d\OnDemand/CADE 101_188_3.wmv"
>
</embed>
</object>

Re: UNC File won't play in embedded control

Posted: 10 Feb 2011 10:33
by jack.ting
If you are accessing by windows share, you better make a driver map, then use something like "f:\folder\folder\filename.ext".
or
something like "file:///f:/folder/folder/filename.ext" (sure, 3 "/" after "file:" )
or
try something like "file:///server/sharefolder/subfolder/filename.ext" (this one i'm not sure)

Make sure there no unicode character in the path string, otherwise you've encode it by encodeURI().