Hello, I have a wowza server to play VOD files, it plays them well (m4v files). I added new mp4 files to the server, the player streams audio only. I don’t know why!!
Player code:
<script>
// install flowplayer into container
$f("video", "flowplayer/flowplayer/flowplayer.swf", {
plugins: {
rtmp: {
url: 'flowplayer.rtmp-3.1.3.swf',
netConnectionUrl: 'rtmpe://server-ip:1935/videos',
// make the rtmp plugin query the stream length from the server
durationFunc: 'getStreamLength'
},
controls: {
fullscreen: false,
height: 30,
buttonColor: '#B72E00',
buttonOverColor: '#842100',
backgroundColor: '#FF9900',
timeColor: '#FFFFFF',
durationColor: '#FFFFFF'
}
},
clip: {
// it's possible to stream audio by using the RTMP plugin
provider: 'rtmp',
autoPlay: false
}
});
</script>
<div id="video" style="display:block;width:900px;height:400px;color:Green" href="mp4:high/test.mp4">Play</div>