Hello,
Setup:
QNAP TS 209 II with Current firmware version: 3.1.0 Build 0708T
with WebServer (Apache) and TwonkyMediaServer Ver. 4.4.17 enabled.
Firefox 3.5.6
Adobe Flash Player 10,0,32,18
JW Player: Flash Video Player
Objective:
What I am doing is using the following script in a webpage hosted by apache to start watching a video streamed by Twonky.
The path necessary for streaming the video i.e. (http://myserver:9000/disk/video/O3$51$1 ... MG1542.mp4)
I get by using the webbrowse functionality offered by Twonky http://myserver:9000/webbrowse and then navigating to the video and using the context menu to retrieve the path (URL).
Result:
Everything works fine. The video stored as MP4 / H.264 is streamed correctly by Twonky and shown by the Adobe plugin within firefox.
Problem:
After each re-scan or restart of the Twonkyserver the path to the video is a different one.
Question
Is there any way to
a) prevent Twonky to create everytime a different path
b) to retrieve dynamically the correct path and use this path in the web page for instance with scripting?
Is there anyone out there that has been able to solve this ?
Are there other media streaming server which enable this ?
Thanx for your support.
Roland
Example:
</script><script type="text/javascript" src="swfobject.js"></script><p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">
Get the Flash Player</a> to see this player.
</p><script type="text/javascript">
var s1 = new SWFObject("mediaplayer.swf","single","384","224","7");
s1.addParam("allowfullscreen","true");
s1.addVariable("file","http://myserver:9000/disk/video/O3$51$1 ... MG1542.mp4");
s1.addVariable("image","preview.jpg");
s1.write("player1");
</script></div></div>
QNAP & APACHE & TWONKYMEDIA & private youtube . nearly there
DLNA, AirPlay, Chromecast, PS3, XBOX, iTunes, & other media players
Jump to
- QNAP General
- ↳ Announcements
- ↳ Features Wanted
- ↳ Users' Corner
- ↳ Official Apps
- ↳ Prestashop
- ↳ Webalizer
- ↳ Virtualization Station
- ↳ Notes Station
- ↳ SocialLink Station
- ↳ McAfee Antivirus
- ↳ IT Management Station
- ↳ Container Station
- ↳ Qsirch & Qfiling
- ↳ Community Apps
- ↳ Apps Wanted
- ↳ Partner Apps
- ↳ BitTorrent Sync
- ↳ EZPhone
- ↳ Plex Media Server
- ↳ Ragic
- ↳ Tonido
- Getting Started
- ↳ Frequently Asked Questions
- ↳ Presales
- ↳ Turbo Station Installation & Setup
- General
- ↳ Hardware & Software Compatibility
- ↳ HDD Spin Down (HDD Standby)
- ↳ Seagate Drive Discussion
- ↳ Western Digital Drive Discussion
- ↳ File Sharing
- ↳ Mac OS
- ↳ Linux & Unix (NFS)
- ↳ Windows
- ↳ Backup & Restore
- ↳ Symform
- ↳ Microsoft Azure
- ↳ OpenStack Swift
- ↳ Amazon Glacier
- ↳ Amazon S3
- ↳ WebDAV-based Backup
- ↳ Google Cloud Storage
- ↳ Object Storage Server
- ↳ ElephantDrive
- ↳ Xopero
- ↳ System & Disk Volume Management
- ↳ Web Server & Applications (Apache + PHP + MySQL / SQLite)
- ↳ Download Station and QGet
- ↳ myQNAPcloud service
- ↳ Surveillance Solution
- ↳ Miscellaneous
- ↳ QIoT
- ↳ QuAI
- ↳ QVR Face
- Business
- ↳ Windows Domain & Active Directory
- ↳ iSCSI – Target & Virtual Disk
- ↳ Remote Replication/ Disaster Recovery
- ↳ Server Virtualization & Clustering
- ↳ NAS Management
- ↳ QES Operating System (QNAP Enterprise Storage OS)
- Multimedia
- ↳ Photo Station, Music Station, Video Station
- ↳ Media Streaming
- ↳ Mobile Devices