DVDFlow 2

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
NiN^_^NiN
Blank Cone
Blank Cone
Posts: 24
Joined: 26 Apr 2008 12:05

DVDFlow 2

Postby NiN^_^NiN » 02 Oct 2009 12:55

Hey guys

Im back with a 2nd version of DVDFlow :)

This one is pure HTML no flash it's just html, png images and css it's been tested on firefox but not on any other browser as i've only got ie6 available at work.
It uses some css features that aren't supported by Firefox 3 so i had to upgrade to 3.5 for it to work.

I haven't had a chance to test this on a mobile phone but im gonna plan a smaller version that lets u use the phone as a remote to select the movie you wanna play and that plays on the PC it's gonna be setup for a htpc kind of setup

Here is what it looks like :)

Image

Image

Now there are a few little tweaks i wanna do like a background on the leftside and also a better looking video window but it's been improved on alot and i have fixed the volume to show 100% when it's actually 200% as thats how vlc works.

All the DVD covers are a transparent PNG image that sits above a standard dvd image which lets anyone grab a dvd cover from the net and then link to it from the XML file.

The XML file on this version is different from the last version it has a few more extra information.

Im hoping i will be able to search the XML file in later versions so we can select a movie by genre or by alpha order.

And here is V1 that uses flash
viewtopic.php?f=16&t=46176

Thanks to Fabian for hosting the file :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: DVDFlow 2

Postby Jean-Baptiste Kempf » 02 Oct 2009 15:47

can we try?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

NiN^_^NiN
Blank Cone
Blank Cone
Posts: 24
Joined: 26 Apr 2008 12:05

Re: DVDFlow 2

Postby NiN^_^NiN » 02 Oct 2009 16:43

I was about to upload it but i found a bug in the video player script it seems to only pause the video once then wont pause it again unless you go fullscreen and hit space.

Wanna fix that before i release it cause i know there are a few things to be polished here and there but overall it's done it's just cosmetic touches.

I'll try to get this small bug squashed and then i'll upload it.

NiN^_^NiN
Blank Cone
Blank Cone
Posts: 24
Joined: 26 Apr 2008 12:05

Re: DVDFlow 2

Postby NiN^_^NiN » 02 Oct 2009 19:16

Ok guys here's the file

http://www.filefactory.com/file/a0d8ded/n/DVDFlow_2_zip


I'll quickly explain how it's setup

The XML File

<dvd>
<ID>1</ID>
<TITLE>21</TITLE>
<COVER>FILE:///F:\Movies\img\21 dvd.jpg</COVER>
<DESCRIPTION>21 is the fact-based story about six MIT students who were trained to become experts in card counting and subsequently took Vegas casinos for millions in winnings.</DESCRIPTION>
<YEAR>2008</YEAR>
<RUNTIME>123</RUNTIME>
<MRL>21\21 - 2008.avi</MRL>
<GENRE>Drama</GENRE>
<RELM></RELM>
</dvd>

Ok how the XML file is setup is it has the link to the dvd cover + the media file and info on the movie.
Each entry has an ID so when selecting a movie to find more info about it javascript searches for the ID.
As you can see the XML structure is pretty simple and RELM is actually Related movies so you can put in if the movie is related to something for e.g. Pitch Black will have The Chronicles of Riddick as it's related movie.

(NOTE: I just noticed that even tho i was making it pretty flexible i totally forgot that the dvd cover is on a fixed drive letter and not selectable like the actual media file path is i will be change this in a later release)

Movie Play.html

Inside this file is a variable that sets the base path for all the movies
var drive="f:\\movies\\";

This sets the movies to be on Drive F within the movies folder e.g. f:\movies\The Chronicles of Riddick\The Chronicles of Riddick.avi

Because of the way this works it must have two \\ in the variable. I have setup code to add extra \ when it retrives the rest of the path from the XML file.

That should be all you guys need to get it setup you can have this DVDFlow Version 2 anywhere on a PC just as long as you set the path for the media files and the dvd covers.

I have yet to try this on a server but it should work fine just have to tweak the dvd covers link :)

joe.kayak
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2009 15:06

Re: DVDFlow 2

Postby joe.kayak » 04 Oct 2009 15:11

Thanks, the new design looks great.

Any chance on posting the FLA file from the original DVD Flow?

-Joe

NiN^_^NiN
Blank Cone
Blank Cone
Posts: 24
Joined: 26 Apr 2008 12:05

Re: DVDFlow 2

Postby NiN^_^NiN » 04 Oct 2009 16:40

If you check the end of my first post in this thread it links to version 1 of my dvd flow
Check the last post in that thread and it has the new link

joe.kayak
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2009 15:06

Re: DVDFlow 2

Postby joe.kayak » 05 Oct 2009 04:18

Sorry... I tried to download the FLA source and it came out to be a broken link (http://www.filefactory.com/file/94a2b7).

I found the source for the rest of the project, but was looking for the FLA since I wanted to play around with it a bit.

If I missed it, I do apologize in advance.

Thanks

Zinis
New Cone
New Cone
Posts: 3
Joined: 04 Jul 2009 03:08

Re: DVDFlow 2

Postby Zinis » 07 Dec 2009 04:57

Having issues with getting this working.

Currently the only way I can get it to work is with VLC 0.9.9

If I use VLC 1.0.1 or 1.0.2 or 1.03 everything works up until the point that I try to watch a movie then I get a "waiting for video" and nothing further happens. When I check the error console in I see vlc.log undefined errors.

Currently the workaround Im using to get Firefox 3.5 + VLC 1.0.3 + DVD Flow 2 working is to modify the movie play file and comment out the references to vlc.log. Im assuming VLC versions greater than 0.9.9 changed how error logging is done. Its something you may want to look at.

NiN^_^NiN
Blank Cone
Blank Cone
Posts: 24
Joined: 26 Apr 2008 12:05

Re: DVDFlow 2

Postby NiN^_^NiN » 14 Jun 2010 03:37

Sorry i haven't posted here lately long story short brought a house and im still not in so i have no pc's etc setup to do any coding etc as i know VLC changed a few things so my video player won't work over VLC 0.9.9

Im gonna try to finish off DVDFlow 2 to work with VLC correctly and have some nicer icons and hopefully allow searching as well.

Im also using a cheap $100 chinese android tablet (google phone os) too be the remote and house the interface on it to select movies and tv shows (making a diff interface for tv shows like dvdflow 2) and that will let u select movies and also become the remote aswell for play pause etc

I'm awaiting the tablet to come and will see what i can do (Still not in the house so coding will be slow)

But here is that im working with
Image

hitman047
New Cone
New Cone
Posts: 2
Joined: 12 Jan 2010 18:12

Re: DVDFlow 2

Postby hitman047 » 18 Oct 2010 04:38

Sorry i haven't posted here lately long story short brought a house and im still not in so i have no pc's etc setup to do any coding etc as i know VLC changed a few things so my video player won't work over VLC 0.9.9

Im gonna try to finish off DVDFlow 2 to work with VLC correctly and have some nicer icons and hopefully allow searching as well.

Im also using a cheap $100 chinese android tablet (google phone os) too be the remote and house the interface on it to select movies and tv shows (making a diff interface for tv shows like dvdflow 2) and that will let u select movies and also become the remote aswell for play pause etc

I'm awaiting the tablet to come and will see what i can do (Still not in the house so coding will be slow)
Hi,
Thanks for your contribution so far. Just wondering if you were able to revise the code? A lot of us are very eager for a new version :D


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests