Re: [OT] Playing mp4's on centos httpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/27/12 4:46 PM, James Pifer wrote:
> On 11/27/2012 7:23 PM, John R Pierce wrote:
>> > On 11/27/12 4:04 PM, James Pifer wrote:
>>> >> Sorry for the off topic, but hoping someone here can point me in a
>>> >> direction and end my endless googling... I have some mp4 training videos
>>> >> that our users need to be able to download or stream directly to their
>>> >> browser.
>>> >>
>>> >> I have the h.264 module loaded on httpd on centos (using
>>> >>http://swimminginthought.com/streaming-mp4-video-webserver-solved/#).
>>> >>
>>> >> So I think I have most of the infrastructure in place, but I'm not sure
>>> >> how to setup the streaming for all browsers. Do I need to embed some
>>> >> type of player? Like a flash player? Do browsers, Firefox and IE,.
>>> >> already have a player I can make use of?
>>> >>
>>> >> Any help or direction here is appreciated.
>> > give VLC a try?   It usually plays almost anything.
>> >
>> >
>> >
> Thanks, but I need this to be seamless for my users.




ok, I read some more.  to use that Apache streaming plugin, which came 
from here, http://h264.code-shop.com/trac  you need one of those flash 
players listed near the bottom of that page embedded on your website.  
looks like two of those 3 players at least are 'branded' if you use the 
free ones, you get to pay if you want the fully customizable embedded 
video player.   I'm unclear on the third (which is actually the first 
one listed).   also that h.264 streamer is only free for noncommercial 
uses, it must be licensed for business use.

as an example, to use the jwplayer, you'd need this html on your webpage...


<script type="text/javascript" src="/jwplayer/jwplayer.js"></script> 
<script 
type="text/javascript">jwplayer.key="YOUR_JWPLAYER_LICENSE_KEY";</script>



<div id='player_3790'></div>
<script type='text/javascript'>
   jwplayer('player_3790').setup({
     file: "http://content.bitsontherun.com/videos/3XnJSIm4-kNspJqnJ.mp4";,
     width: "480",
     height: "270",
     image: "http://content.bitsontherun.com/thumbs/3XnJSIm4-640.jpg";,
   });
</script>


where those last two URL's are your site/path/filenames...








-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux