Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

.mkv file does not support
malefly
#1 Posted : Tuesday, 6 September 2011 3:30:35 AM(UTC)
Rank: Member

Joined: 6/09/2011(UTC)
Posts: 7

Dear GSP Team,

First at all, I would like to say thanks you about the usefulness project.
I have just successfully installed and trying to upload some files.

But it is unable to play .mkv file(HD movie file)
(Your browser cannot display this media object, but you can download it by clicking the download link in the toolbar.)
I want to keep the original(.mkv) file and watching it through my web browser and do not want to convert to any file.

Please help me solve this issue.

Many thanks.
Rg
Roger Martin
#2 Posted : Tuesday, 6 September 2011 8:42:46 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

Add mkv to the gs_MimeType table, then make sure an entry in gs_BrowserTemplate exists for that MIME type. You'll need to know what kind of HTML the browser needs in order to properly display that type. Whatever that is, it goes into the HtmlTemplate column.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
malefly
#3 Posted : Monday, 12 September 2011 10:00:56 PM(UTC)
Rank: Member

Joined: 6/09/2011(UTC)
Posts: 7

Roger Martin;7714 wrote:
Add mkv to the gs_MimeType table, then make sure an entry in gs_BrowserTemplate exists for that MIME type. You'll need to know what kind of HTML the browser needs in order to properly display that type. Whatever that is, it goes into the HtmlTemplate column.


Thank you Mr. Roger Martin
It's sucessfully to display .mkv on my browser right now.

I did the following steps:

1. download and install Download DivX Plus at http://www.blogsdna.com/...vx-files-in-browser.htm

2. add .mkv into FileExtention column in gs_MimeType table;
MIMETypeValue:video/x-matroska;
BrowserMimeTypeValue:video/x-matroska


3. Add the following values into the gs_BrowserTemplate table
MimeType:video/x-matroska
BrowserID:default
HtmlTemplate:<object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="320" height="260" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"><param name="src" value="{MediaObjectUrl}"/><embed type="video/divx" src="{MediaObjectUrl}" width="320" height="260" pluginspage="http://go.divx.com/plugin/download/"> </embed></object>


4. Take a cup of coffee and relax

*** it's need to restart your PC
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.