[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
How to start the movie from a HTML page?
07-04-2011, 08:17 PM (This post was last modified: 07-04-2011 09:04 PM by Sammy95.)
Post: #1
How to start the movie from a HTML page?
I am not sure where to put this message, so please move it if there are a better forum..

I have a PHP site that contains all my movie reviews (In other words.. that is a list of all my movies).
I can run this site from inside my A-100 & A110 PCH boxes just by adding it as a webservice.

This means I am able to surf around and view all reviews..
and if I find a movie then go back to Home
and then to the wanted movie folder
and there start the AVI movie.

However all my movies are sorted alphabetically, so I am easily able to create a path directly to the movie from inside my script through some simple PHP.

They are all stored on my Synology NAS on IP 192.168.0.120
running SMB ( SMB://192.168.0.120/Video)

Inside Sources in PCH it is called: DS209p

I have surfed around in the Juke Box forum and found that they have a settings on where they store their movies. They use something like..
file:///opt/sybhttpd/localhost.drives/....

I have tried this setting:
Code:
<a href="file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/DS209p/A-Z/A/Agora (2009)/Agora (2009).avi" type="video/mpegurl">

The result on this path will be: Buffering.. and then.. Could not play..

So my question is:
Is it possible to start the movie from inside a HTML webpage and if so.. what would the correct path be in HTML....

Sammy Smile
Find all posts by this user
Add Thank You Quote this message in a reply
07-04-2011, 09:20 PM
Post: #2
RE: How to start the movie from a HTML page?
Well.. I have spent hours on this one, but hard work always pays..
I have found the small ERROR in my path.. Yes.. It had to be in the middle part.

My SMB network share name is not DS209p it is: DS209P

Linux sure could see the difference, but my eyes could not.. Wink

Solved and Working...!!!

Sammy Smile
Find all posts by this user
Add Thank You Quote this message in a reply
07-16-2011, 11:00 AM
Post: #3
RE: How to start the movie from a HTML page?
Hey I also tried this and found some error, illegal and it's not working properly. I asked many people but never find any solution.Tongue

Tim Manning
Find all posts by this user
Add Thank You Quote this message in a reply
07-16-2011, 04:58 PM
Post: #4
RE: How to start the movie from a HTML page?
Hello Sammy,

You use the vod= "" NOT the type=""
see here in the syabas html doc

Syabas myibox DVD Auto Load Extension


1.0 Revision History

1.1 Initial Release [20070919 - CH Kong]


2.0 Overview

Syabas myiBox provides Auto Load Extension to enable auto play for DVD and CD media data disc. In particular, the following areas are covered.

Auto Load with HTML as extension

Manage media streaming type using Syabas myiBox Browser HTML Extension

Enable Disc Browsing Using Proprietary TVID


3.0 Auto load with HTML as extension

3.1 index.htm/sd_index.htm

Syabas myiBox DVD provides auto load feature to load media data disc as DVD video with HTML as extension. Simply create your own desire HTML at the root of the disc and name it to index.htm/sd_index.htm. HTML will be load automatically once detected. The following is the available HTML.

3.1.1 index.htm

Default HD mode HTML

HD mode : TV mode equal or higher than 720P

3.1.2 sd_index.htm

Default SD mode HTML

SD mode : TV mode less than 720P


4.0 Manage media streaming type with Syabas myiBox Browser HTML Extension

4.1 Syabas myiBox Browser HTML Extension

Edit index.htm/sd_index.htm using Syabas myiBox Browser HTML Extension allow user to manage the streaming type of different media content. The following is the standard format link.
Code:
<a href=”FILE_PATH” TAG>FILE_NAME</a>
4.1.1 FILE_PATH

File location from root

Example:

A file with cdrom:/video_ts/Ice_Age.ts

FILE_PATH = video_ts/Ice_Age.ts

4.1.2 FILE_NAME

Display name for HTML view

4.1.3 TAG

Browser tags that indicate media content type

4.1.3.1 VOD Browser Tag

Video On Demand (vod) is Browser tag for video playback.

Example:
Code:
<a href=”video_ts/Ice_Age.ts” vod>Ice Age 2</a>
Play video from begin to end.

4.1.3.2 AOD Browser Tag

Audio On Demand (vod) is Browser tag for audio playback.

Example:
Code:
<a href=”musics/sample.mp3” aod>Sample MP3 Song</a>
Play audio from begin to end.

4.1.3.3 POD Browser Tag

Photo On Demand (vod) is Browser tag for photo playback.

Example:
Code:
<a href=”photos/sunset.jpg” pod>Sunset at Bali Beach</a>
Play photo sunset.jpg

Please refer to Syabas_browser_tag_2007.html for more Browser HTML Extensions.


5.0 Enable Disc Browsing Using Proprietary TVID

5.1 HOME TVID

Home TVID will enable the directory browsing on DVD/CD data disc. User can access to data disc root directory with remote control home key. To enable this feature just insert the following line at the end of < body> in index.htm/sd_index.htm.
Code:
<a href=”http://localhost.drives:8883/CDROM/?home=1” tvid=”home”></a>
Example:
Code:
<html>

    <body>

    ...

    ...

    ...

    <a href=”http://localhost.drives:8883/CDROM/?home=1” tvid=”home”></a>

    </body>

    </html>

Good Luck ..
You can always download movie flow and look at the html output created by it ...

Michael T.

A100 & C200 Movie Flow, Music Video Flow, Media Menu Flow, Music Flow, Photo Flow
Click Here Media Flow Forum
The Complete Media Flow Suite ...
Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to michael1t for this post
08-16-2011, 09:40 PM
Post: #5
RE: How to start the movie from a HTML page?
Sorry about this late replay and Thank You for the input Michael.
I think You where the one that did lead me into this path after reading a lot of Your posts, so I guess You should really get some credit.. Smile

Like I wrote above I use a Synology NAS (DS209+II) and all Synology NAS boxes can run as a webserver. So I created a php webpage that uses a mySQL database (also run on the Synology NAS) where it has all data about my movies.

It uses this data to exactly find out where the movie and pictures are located and feeds this info into the webpage.

I then run this webpage as a webservice in Popcorn Hour, and that gives me my own media center interface.

However I have run into a small problem that I think are with my Popcorn Hour boxes (A-100/A-110)

My DS209+II has to Hard drives. They are run separately.
One is setup as 209A and one as 209B.
209A ( SMB://192.168.0.120/disk1)
209B ( SMB://192.168.0.120/disk2)

Both work when I "choose them" and uses the original PCH interface.

But I can only use my link (file:///opt/sybhttpd/localhost.drives/NETWORK_SHARE/209A/.....) on the Hard drive when I have chosen the 209A Drive inside PCH.

And I have to change to 209B inside PCH interface if I want to use a link with that drive...

Other wise I get a "Could not play.." message..

Any tips.. ?

Sammy Smile
Find all posts by this user
Add Thank You Quote this message in a reply
08-16-2011, 09:46 PM
Post: #6
RE: How to start the movie from a HTML page?
this is normal pch only keeps one share mounted at a time. to get around this look in the threads for how to automount your drives.
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  MLMJ and Movie Collector 9 johnfromen6 5 945 02-22-2013 08:13 AM
Last Post: midwaybluejay
Exclamation [PHOTO] Generate html photo album PWijnberg 10 6,775 09-07-2012 06:45 PM
Last Post: Franco1s
  JUKEBOX w/movie series grouping+VIDEO_TS/ISO TV series episode parsing+music vid+shuf heinza 6 3,689 01-03-2012 02:58 AM
Last Post: gondom
  Movie Flow for All Jukebox 03-21-2013 Updated michael1t 210 63,025 12-31-2011 03:11 PM
Last Post: michael1t
  [MLMJ] - Upgrading to Movie Collector 8??? gsbaker 4 2,796 11-21-2011 11:35 AM
Last Post: bigkid
  My Lil Movie jukebox problem Exporting dave.t 2 1,268 07-15-2011 08:27 AM
Last Post: dave.t
  MyLil Movie Juke Box adding more locations dave.t 3 1,638 07-08-2011 07:06 AM
Last Post: dave.t
  [MLMJ] MLMJ gsb Skin v1 - Replacement "Skin" for My Lil Movie Jukebox gsbaker 0 1,961 02-20-2011 04:46 AM
Last Post: gsbaker
  [MLMJ] Upgrading from Movie Collector v6 to v7 bigkid 5 2,073 01-09-2011 12:05 AM
Last Post: garp99
  Jalbum questions: mp4 files not linked correctly, one root page containing all thumbs mediafreak123 2 1,623 12-30-2010 09:18 AM
Last Post: mediafreak123

Forum Jump: