User(s) browsing this thread: 1 Guest(s)
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.)
|
|||
|
|||
|
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
|
|||
|
07-04-2011, 09:20 PM
|
|||
|
|||
|
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.. Solved and Working...!!! Sammy
|
|||
|
07-16-2011, 11:00 AM
|
|||
|
|||
|
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.
Tim Manning |
|||
|
07-16-2011, 04:58 PM
|
|||
|
|||
|
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>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>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>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>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>Code: <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 ... |
|||
1 user says Thank You to michael1t for this post |
|
08-16-2011, 09:40 PM
|
|||
|
|||
|
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.. 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
|
|||
|
08-16-2011, 09:46 PM
|
|||
|
|||
|
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.
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]

How to start the movie from a HTML page?





![[+]](images/collapse_collapsed.gif)




