Networked Media Tank
Play contet e.g mkv from local network - Printable Version

+- Networked Media Tank (http://www.networkedmediatank.com)
+-- Forum: Archive (/forumdisplay.php?fid=96)
+--- Forum: Archive (Read Only) (/forumdisplay.php?fid=97)
+---- Forum: MSP Community (/forumdisplay.php?fid=54)
+---- Thread: Play contet e.g mkv from local network (/showthread.php?tid=2871)



Play contet e.g mkv from local network - dsd - 04-13-2008 09:36 PM

Hi,

how do I play content e.g. mkv from the local network with the NMT app sdk?
I have tried to use the video tag but the pph goes black for a few seconds and then return to the pph gui again.

Is it possible to play content from an UNC path "\\server\video\video1.mkv"?

Thanks in advance.

Regards

/Mattias


- pardizzone - 04-13-2008 10:50 PM

You need to use a line like the following in an html file:

Code:
<a href="PATH_TO_FILE" vod>NAME_YOU_WANT_DISPLAYED</a>

use vod for video and aod for audio....


- dsd - 04-14-2008 05:51 PM

Thank you for the suggestion but it does not work...

I have the Tomcat running on my development machine and the content that I want to link to is on my server. Here's how I tried:

Dexter

I have also tried the following (maping a network drive):

Dexter

And also this:

Dexter

But the result is the same, the screen goes black for a few seconds and then returns to normal... No mkv is playing Sad

Any help would be appreciated.

Regards

/Mattias


- sarreq - 05-06-2008 12:21 AM

dsd Wrote:Thank you for the suggestion but it does not work...

I have the Tomcat running on my development machine and the content that I want to link to is on my server. Here's how I tried:

Dexter

I have also tried the following (maping a network drive):

Dexter

And also this:

Dexter

But the result is the same, the screen goes black for a few seconds and then returns to normal... No mkv is playing Sad

Any help would be appreciated.

Regards

/Mattias
the format is (or should be) either:
my word!

or

my word!

basically, reverse your slashes, make sure you use 3 slashes for file :, 2 for any other protocol, and drop the leading slashes for media stored relative to your server