forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: pageslinger on January 17, 2010, 10:27:03 pm

Title: unreal streaming media server
Post by: pageslinger on January 17, 2010, 10:27:03 pm
hi all...i hope this is in the right place but here goes...
i use the unreal media server to stream videos so basically what im looking for is a way to make it so that when you click on a thumbnail pic it calls a url such as(mms://mysite.com:5119/test/myvid.avi) instead of the actual file (myvid.avi). ive searched and havent found anything unless im just blind. anyone have any ideas? thanks!
Title: Re: unreal streaming media server
Post by: Joachim Müller on January 18, 2010, 10:19:00 am
Hasn't been accomplished yet afaik. You will have to code that for yourself I'm afraid.
Title: Re: unreal streaming media server
Post by: pageslinger on January 18, 2010, 10:23:43 am
yeah thats what i was afraid of. it looks like if i could get it to call a url table instead of pid or change pid to a url it might work. but who knows. thanks for the quick answer if i figure it out ill post what i did. in the mean time if anyone thinks of anything let me know pls?
Title: Re: unreal streaming media server
Post by: pageslinger on January 18, 2010, 10:39:20 am
quick edit to the above post....if i type mms://mysite.com:5119/albums/movies/movie/mymovie.avi in my browser it works perfectly so mabey its as easy as changeing the http:/ to mms: somewhere in the website? any ideas where? thanks again
Title: Re: unreal streaming media server
Post by: Joachim Müller on January 18, 2010, 10:45:03 am
For what extensions should this apply? For all movies?
Title: Re: unreal streaming media server
Post by: pageslinger on January 18, 2010, 11:38:00 am
yeah basically all formats that win media player will play. i have all avi tho so thats what it streams.
Title: Re: unreal streaming media server
Post by: Joachim Müller on January 18, 2010, 02:31:51 pm
Edit your custom theme /themes/yourtheme/theme.php), find the function definition for theme_html_picture and edit as you see fit then. If your custom theme doesn't contain that function, copy that function (and only that function) from themes/sample/theme.php to themes/yourtheme/theme.php into a new line of it's own before
Code: [Select]
?>, then perform the edit.
If you want details, do as suggested per board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).